mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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);
|
$response = $this->braintree->gateway->paymentMethod()->create($data);
|
||||||
|
|
||||||
if ($response->success) {
|
if ($response->success) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user