From 5b6f63464c2fc6774608276c9f250ab2c16a23cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 13 Sep 2021 16:40:14 +0200 Subject: [PATCH] Drop `verificationMerchantAccountId` from creating token --- app/PaymentDrivers/Braintree/CreditCard.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/PaymentDrivers/Braintree/CreditCard.php b/app/PaymentDrivers/Braintree/CreditCard.php index 330fc8ed36e3..9696334e612b 100644 --- a/app/PaymentDrivers/Braintree/CreditCard.php +++ b/app/PaymentDrivers/Braintree/CreditCard.php @@ -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) {