From 9017382ea983cbad1a2cabdd5072a681dbe2da72 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 15 Apr 2024 13:42:44 +1000 Subject: [PATCH] paypapl --- .../PayPalRestPaymentDriver.php | 5 +- .../gateways/paypal/ppcp/card.blade.php | 142 ++++++++++++++++++ 2 files changed, 146 insertions(+), 1 deletion(-) create mode 100644 resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php diff --git a/app/PaymentDrivers/PayPalRestPaymentDriver.php b/app/PaymentDrivers/PayPalRestPaymentDriver.php index 2f43ed7318..f02c2fa276 100644 --- a/app/PaymentDrivers/PayPalRestPaymentDriver.php +++ b/app/PaymentDrivers/PayPalRestPaymentDriver.php @@ -166,7 +166,10 @@ class PayPalRestPaymentDriver extends BaseDriver $data['gateway_type_id'] = $this->gateway_type_id; $data['currency'] = $this->client->currency()->code; - return render('gateways.paypal.pay', $data); + +// return render('gateways.paypal.ppcp.card', $data); + +return render('gateways.paypal.pay', $data); } diff --git a/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php b/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php new file mode 100644 index 0000000000..020db78869 --- /dev/null +++ b/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php @@ -0,0 +1,142 @@ +@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.payment_type_credit_card'), 'card_title' => 'PayPal']) + +@section('gateway_head') + +@endsection + +@section('gateway_content') +
+ @csrf + + + + + +
+ + + +
+
+ +
+
+
+
+ + + +@endsection + +@section('gateway_footer') +@endsection + +@push('footer') + + + + + +@endpush \ No newline at end of file