Title: Authorization Failed
Last modified: June 19, 2023

---

# Authorization Failed

 *  Resolved [trakesh16](https://wordpress.org/support/users/trakesh16/)
 * (@trakesh16)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/)
 * I am using braintree cc from long time and it was working fine till now but all
   of sudden i am getting this error:
 * There was an error processing your payment. Reason: API Authorization check failed.
   Ensure you have entered your API keys correctly and the user associated with 
   your API keys has the proper permissions.
 * What may be the reason?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16383817)
 * [@trakesh16](https://wordpress.org/support/users/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,
 *  Thread Starter [trakesh16](https://wordpress.org/support/users/trakesh16/)
 * (@trakesh16)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16383818)
 * Hi,
 * Thanks for quick reply, i have already created a new api key but still same issue.
   And account is active too.
 *  Thread Starter [trakesh16](https://wordpress.org/support/users/trakesh16/)
 * (@trakesh16)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16383834)
 * please check here
 * [https://www.needsupplies.com.au/](https://www.needsupplies.com.au/)
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16383884)
 * [@trakesh16](https://wordpress.org/support/users/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,
 *  Thread Starter [trakesh16](https://wordpress.org/support/users/trakesh16/)
 * (@trakesh16)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16383935)
 *     ```wp-block-code
       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] => hello@thaifusionspa.com.au
                   [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
               )
   
       )
       ```
   
 *  Thread Starter [trakesh16](https://wordpress.org/support/users/trakesh16/)
 * (@trakesh16)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16383936)
 * This is what log says
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16384068)
 *     ```wp-block-code
       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,

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Authorization Failed’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/authorization-failed-3/#post-16384068)
 * Status: resolved