I’m getting an error once I submit my credit card information.
What’s the error your getting?
Great to hear from you, Bryan!
Please don’t post it but is the access token your using the sandbox or production access token. Looks like you got an authorization error which means that somewhere the credentials are miss configured.
I’m using the sandbox access token from my developer dashboard. The project is a Spring Boot application so I’m attaching another screenshot of the errors I see in the console. Is there a fix that you recommend I try to build?
Looks like the CreatePayment
function isn’t found which is why the payment is failing. The error is saying that /payment
isn’t found which in our Quickstart is the server side function that send the token to Square to process the payment. It’s in the server.js file of the Quickstart.
Hi, Bryan!
This is the solution.
Boyd
Thanks! I’m done in this thread.