x

I am getting error on payment (testing mode)

I am getting this error:

 

Exception when calling TransactionApi->charge:object(stdClass)#6 (1) { ["errors"]=> array(1) { [0]=> object(stdClass)#7 (3) { ["category"]=> string(20) "AUTHENTICATION_ERROR" ["code"]=> string(12) "UNAUTHORIZED" ["detail"]=> string(37) "This request could not be authorized." } } }

 

please help me with this. if i have to set anything on my account. 

709 Views
Message 1 of 2
Report
1 REPLY 1
Alumni

@CSK- Thanks for stopping by to visit. We welcome you to the Community!!

 

I can't pinpoint the exact issue with the information you provided but more likely, that error usually means your credentials are miss matched. If you are testing in sandbox, make sure you're using all the correct credentials for that environment and the same goes for when you are in production.

 

I hope this helps! 

 

 

 

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