Make shipping optional for paypal

This commit is contained in:
David Bomba 2023-09-27 08:51:33 +10:00
parent d86c3ca5fe
commit 92bcdb0326

View File

@ -206,6 +206,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
'transactionId' => $this->payment_hash->hash.'-'.time(),
'ButtonSource' => 'InvoiceNinja_SP',
'solutionType' => 'Sole',
'no_shipping' => $this->company_gateway->require_shipping_address ? 0 : 1,
];
}