How to configure open cart square extention

Hello, 

 

I am having a problem to configure square extention in opencart. I am entering my application id and secret code. Once i hit connect i am getting this message. 

 

Your Square access token has expired or has been revoked! Click here to re-authorize the Square extension. Can somebody help. 

 

An error was encountered while refreshing the token: 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. If you are seeing this error message while using one of our officially supported SDKs, please report this to [email protected].

 

 

 

  
 
  
 
 
2,619 Views
Message 1 of 6
Report
1 Solution
Square Community Moderator

Solution

Hi @promarnet,

 

I reached out to our API team but they informed me that you would need to reach out to OpenCart for help since they're a partnership with us.

 

Let us know what they say once you do reach out!

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.

View Solution >

2,592 Views
Message 2 of 6
Report
5 REPLIES 5
Square Community Moderator

Solution

Hi @promarnet,

 

I reached out to our API team but they informed me that you would need to reach out to OpenCart for help since they're a partnership with us.

 

Let us know what they say once you do reach out!

Ashley C
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
2,593 Views
Message 2 of 6
Report

I had the same issue,

Un-installed the original extension from opencart. 

Go to OpenCart marketplace and find the Square mod.

Install the latest one I just fixed my website Opencart Version 3.0.3.2 using Square 3.1.9 (Cloud)

go to opencart/extensions/Modifications click the refresh button to rebuild your modification cache!

 

Now back to Extensions/Payments, install Square and edit: you should see nee fields like webhook. 

fill that up and connect ! it should work!!

 

2,513 Views
Message 3 of 6
Report
Alumni

Hi @Mostlighting,

 

Thank you so much for jumping in to assist here.

 

When you have a chance @promarnet, please try the steps Mostlighting provided and let us know if you are still experiencing issues. 

Alex_
Community Moderator, Square // Moderador de la Comunidad, Square
Sign in and click Mark as Best Answer if my reply answers your question.
Inicie seción y haga clic en Marcar como "Mejor Respuesta" si mi respuesta contesta su pregunta.
2,504 Views
Message 4 of 6
Report

Thanks for help. Yes it did work out  that way. Very informative. 

2,476 Views
Message 5 of 6
Report
Alumni

Glad you got this one solved, @promarnet! Let us know if anything else comes up. We are here to help!

Joe
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
2,464 Views
Message 6 of 6
Report