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:
parent
8a2d3a4958
commit
5b6f63464c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user