@trakesh16 Login to your Braintree production account and make sure your account has not been restricted. Double check that your API keys have not expired.
I recommend creating a new set of API keys and entering them in the Braintree plugin settings.
Thanks,
Hi,
Thanks for quick reply, i have already created a new api key but still same issue. And account is active too.
@trakesh16 The Braintree plugin wouldn’t suddenly break or stop working unless something changed. Please navigate to the WooCommerce > Status > Logs and check the Braintree logs to see if the failed API request shows up.
Make sure your host isn’t blocking outbound requests to the Braintree API.
Thanks,
2023-01-18T05:07:04+00:00 ERROR Error processing payment for order 82445. Exception: Braintree\Exception\Authorization. Transaction args: Array
(
[amount] => 219.92
[taxAmount] => 0.00
[discountAmount] => 8.50
[shippingAmount] => 58.37
[customer] => Array
(
[firstName] => Garry
[lastName] => Draper
[phone] => +61431123848
[email] => [email protected]
[company] => Thai Fusion Spa
)
[orderId] => 82445
[merchantAccountId] =>
[channel] => PaymentPlugins_BT
[billing] => Array
(
[firstName] => Garry
[lastName] => Draper
[locality] => Main Beach
[postalCode] => 4217
[region] => QLD
[streetAddress] => 11 Peak Avenue
[extendedAddress] =>
[countryCodeAlpha2] => AU
)
[shipping] => Array
(
[firstName] => Garry
[lastName] => Draper
[locality] => Main Beach
[postalCode] => 4217
[region] => QLD
[streetAddress] => 11 Peak Avenue
[extendedAddress] =>
[countryCodeAlpha2] => AU
)
[options] => Array
(
[submitForSettlement] => 1
[storeInVaultOnSuccess] => 1
)
[descriptor] => Array
(
)
[deviceData] => {"device_session_id":"4ae8f0396248ac695415bb7c2602384e","fraud_merchant_id":null,"correlation_id":"c0a582adbd87953e4497a9c5f111128a"}
[paymentMethodNonce] => tokencc_bj_bz5m3h_kn39vj_rmptvv_9rrcnm_w54
[creditCard] => Array
(
[cardholderName] => Garry Draper
)
)
Braintree\Exception\Authorization
That error code is telling you that there is an authorization exception occuring when the request is made to Braintree. You will need to get in direct contact with Braintree support to make sure your account has not been restricted.
This is not an issue caused by the Braintree plugin.
Kind Regards,