Title: Error processing payment
Last modified: June 25, 2020

---

# Error processing payment

 *  Resolved [irodes999](https://wordpress.org/support/users/irodes999/)
 * (@irodes999)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/)
 * On checkout screen I am getting “Error Processing Payment”
 * The log says
    Log error:
 * Array
    ( [0] => stdClass Object ( [code] => UNAUTHORIZED [detail] => The `Authorization`
   http header of your request was malformed. The header value is expected to be
   of the format “Bearer TOKEN” (without quotation marks), where TOKEN is to be 
   replaced with your access token (e.g. “Bearer ABC123def456GHI789jkl0”). For more
   information, see [https://docs.connect.squareup.com/api/connect/v2/#requestandresponseheaders](https://docs.connect.squareup.com/api/connect/v2/#requestandresponseheaders).
   If you are seeing this error message while using one of our officially supported
   SDKs, please report this to [developers@squareup.com](https://wordpress.org/support/topic/error-processing-payment-2/developers@squareup.com?output_format=md).[
   category] => AUTHENTICATION_ERROR )
 * )
    Order status changed from Pending payment to Failed.
 *  ----------------------------------------------------
    Square says that the The
   bearer token error will need to replace the word Token with your Personal Access
   Token. I am not even sure what this is
 *  Please assist.
 * -------------------------------------------------
    Actions taken with no success
   1. deactivated / reactivated plugins 2. switched themes 3. checked https status
   4. tried different payment gateways / checked API's 5. Sandbox (sandbox actually
   works but not the live version)
 * Using WordPress
    Current setup Wordpress 5.4.2 PHP 7.3.18 Theme: Hello Elementor/
   Elementor pro
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-processing-payment-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13038747)
 * Hi [@irodes999](https://wordpress.org/support/users/irodes999/),
 * Thanks for using “WooSquare – Square for WooCommerce”, we have forwarded the 
   details to the QA Team to replicate this issue on our staging environment we 
   will get back to you once we hear back from them.
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13049218)
 * Hi [@irodes999](https://wordpress.org/support/users/irodes999/),
    Our technical
   team needs some more info from your side to sort out this issue please create
   a support ticket at our website so we can help you further.
 * Thanks!
 *  Thread Starter [irodes999](https://wordpress.org/support/users/irodes999/)
 * (@irodes999)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13049562)
 * The support ticket is asking for a purchase code?? I am using the free version
   of the plugin
 * [https://wpexperts.io/support-envato/](https://wpexperts.io/support-envato/)
 *  [Luke Hutchison](https://wordpress.org/support/users/luclearmedia/)
 * (@luclearmedia)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13051352)
 * I also received this error on one of my clients’ sites.
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13053539)
 * Hi [@irodes999](https://wordpress.org/support/users/irodes999/) [@luclearmedia](https://wordpress.org/support/users/luclearmedia/),
 * Please have a look at the screenshot shared below to open a ticket on our website.
 * [https://prnt.sc/t94va5](https://prnt.sc/t94va5)
 * Thanks!
 *  [idmus1](https://wordpress.org/support/users/idmus1/)
 * (@idmus1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13060897)
 * I am having this issue too, on my client’s site.
 *  [idmus1](https://wordpress.org/support/users/idmus1/)
 * (@idmus1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13060903)
 * This issues started popping up after I updated the WooCommerce plugin with it’s
   latest update. Maybe this plugin is not compatible with it’s latest update?
 *  [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * (@wpexpertssupportteam)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13064060)
 * Hi [@idmus1](https://wordpress.org/support/users/idmus1/),
 * Please have a look at the screenshot shared below to open a ticket on our website.
   
   [https://prnt.sc/t94va5](https://prnt.sc/t94va5)

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

The topic ‘Error processing payment’ is closed to new replies.

 * ![](https://ps.w.org/woosquare/assets/icon-128x128.gif?rev=3123976)
 * [WC Shop Sync – Square Payment Gateway and Product Synchronization for WooCommerce](https://wordpress.org/plugins/woosquare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woosquare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woosquare/)
 * [Active Topics](https://wordpress.org/support/plugin/woosquare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woosquare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woosquare/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [wpexpertssupportteam](https://wordpress.org/support/users/wpexpertssupportteam/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-2/#post-13064060)
 * Status: resolved