• Resolved trakesh16

    (@trakesh16)


    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 Payment Plugins

    (@mrclayton)

    @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

    (@trakesh16)

    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

    (@trakesh16)

    Plugin Author Payment Plugins

    (@mrclayton)

    @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

    (@trakesh16)

    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
            )
    
    )
    
    Thread Starter trakesh16

    (@trakesh16)

    This is what log says

    Plugin Author Payment Plugins

    (@mrclayton)

    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.