mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Inject PPCP merchant ID @ payment
This commit is contained in:
parent
1d5961c764
commit
db0b1b9483
@ -327,18 +327,10 @@ class PayPalPPCPPaymentDriver extends BaseDriver
|
||||
];
|
||||
|
||||
$data['payee'] = [
|
||||
"email_address" => "seller@example.com",
|
||||
"merchant_id" => $this->company_gateway->getConfigField('merchantId'),
|
||||
[
|
||||
"payment_instruction" => [
|
||||
"disbursement_mode" => "INSTANT",
|
||||
"platform_fees" => [
|
||||
[
|
||||
"amount" => [
|
||||
"currency_code" => $this->client->currency()->code,
|
||||
"value" => (string)$data['amount_with_fee']
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user