1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Drop verificationMerchantAccountId from creating token

This commit is contained in:
Benjamin Beganović 2021-09-13 16:40:14 +02:00
parent 8a2d3a4958
commit 5b6f63464c

View File

@ -151,11 +151,6 @@ class CreditCard
],
];
if ($this->braintree->company_gateway->getConfigField('merchantAccountId')) {
/** https://developer.paypal.com/braintree/docs/reference/request/payment-method/create#options.verification_merchant_account_id */
$data['verificationMerchantAccountId'] = $this->braintree->company_gateway->getConfigField('merchantAccountId');
}
$response = $this->braintree->gateway->paymentMethod()->create($data);
if ($response->success) {