From 02309c45656da80c688046b975b930187e05c9d0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 24 Sep 2021 21:31:23 +1000 Subject: [PATCH] Update braintree --- app/PaymentDrivers/Braintree/CreditCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Braintree/CreditCard.php b/app/PaymentDrivers/Braintree/CreditCard.php index 1ce3f4ef0035..d31b771bcf12 100644 --- a/app/PaymentDrivers/Braintree/CreditCard.php +++ b/app/PaymentDrivers/Braintree/CreditCard.php @@ -153,7 +153,7 @@ class CreditCard if ($this->braintree->company_gateway->getConfigField('merchantAccountId')) { /** 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);