x

Our custom app is not processing payments

We have a custom app setup connected to our own form on our website.  it has been working fine in Sandbox, but we put our live account and token in there and now, if we enter a valid card, the screen processes and just returns to same screen with empty inputs.  If we type an invalid car, it seems square recognizes that and gives us an invalid card error, so it seems to be connecting, but not processing.  It should take us to a thank you page and its not doing that or registering in the dashboard as payment made.

 

any ieads?

2,309 Views
Message 1 of 3
Report
2 REPLIES 2

One idea...

 

Validate the access tokens are consistent between the square payment form and your code. This mismatch would result in the nonce being created in the wrong application space. Then when you try to process the payment, it can't find the nonce.

 

The response from the payment request would be:

{'errors': [{'category': 'INVALID_REQUEST_ERROR', 'code': 'NOT_FOUND', 'detail': 'Resource not found.', 'field': 'card_nonce'}]}

2,276 Views
Message 2 of 3
Report
Square

Thanks for the suggestion, @mtnwswbob. 💯

 

Let us know if this does the trick, @lifezone. If not, we can escalate things to someone on the Developers Team. 


Sean
he/him/his
Product Manager | Square, Inc.
2,268 Views
Message 3 of 3
Report