mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Make shipping optional for paypal
This commit is contained in:
parent
d86c3ca5fe
commit
92bcdb0326
@ -206,6 +206,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
|||||||
'transactionId' => $this->payment_hash->hash.'-'.time(),
|
'transactionId' => $this->payment_hash->hash.'-'.time(),
|
||||||
'ButtonSource' => 'InvoiceNinja_SP',
|
'ButtonSource' => 'InvoiceNinja_SP',
|
||||||
'solutionType' => 'Sole',
|
'solutionType' => 'Sole',
|
||||||
|
'no_shipping' => $this->company_gateway->require_shipping_address ? 0 : 1,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user