diff --git a/app/PaymentDrivers/PayPalRestPaymentDriver.php b/app/PaymentDrivers/PayPalRestPaymentDriver.php
index ba1cbc62e7..029b185eff 100644
--- a/app/PaymentDrivers/PayPalRestPaymentDriver.php
+++ b/app/PaymentDrivers/PayPalRestPaymentDriver.php
@@ -173,6 +173,13 @@ class PayPalRestPaymentDriver extends PayPalBasePaymentDriver
})->implode("\n");
$order = [
+ "payer" => [
+ "name" => [
+ "given_name" => $this->client->present()->first_name(),
+ "surname" => $this->client->present()->last_name()
+ ],
+ "email_address" => $this->client->present()->email(),
+ ],
"intent" => "CAPTURE",
"payment_source" => $this->getPaymentSource(),
"purchase_units" => [
diff --git a/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php b/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php
index 43554bebb3..0171c295ba 100644
--- a/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php
+++ b/resources/views/portal/ninja2020/gateways/paypal/ppcp/card.blade.php
@@ -14,10 +14,12 @@
@endphp
@section('gateway_head')
-
+
@endsection
@section('gateway_content')
@@ -86,7 +88,7 @@
}
-
+
@if(isset($merchantId))
@@ -185,8 +187,8 @@
// Render each field after checking for eligibility
if (cardField.isEligible()) {
- const nameField = cardField.NameField();
- nameField.render("#card-name-field-container");
+ // const nameField = cardField.NameField();
+ // nameField.render("#card-name-field-container");
const numberField = cardField.NumberField({
inputEvents: {