Update braintree

This commit is contained in:
David Bomba 2021-09-24 21:31:23 +10:00
parent 7bc23e68b1
commit 02309c4565

View File

@ -153,7 +153,7 @@ class CreditCard
if ($this->braintree->company_gateway->getConfigField('merchantAccountId')) { if ($this->braintree->company_gateway->getConfigField('merchantAccountId')) {
/** https://developer.paypal.com/braintree/docs/reference/request/transaction/sale/php#full-example */ /** https://developer.paypal.com/braintree/docs/reference/request/transaction/sale/php#full-example */
$data['verificationMerchantAccountId'] = $this->braintree->company_gateway->getConfigField('merchantAccountId'); $data['options']['verificationMerchantAccountId'] = $this->braintree->company_gateway->getConfigField('merchantAccountId');
} }
$response = $this->braintree->gateway->paymentMethod()->create($data); $response = $this->braintree->gateway->paymentMethod()->create($data);