https://mccroskeyonline.com/public/examples/card-payment.html
No matter what I enter, I always receive a “payment failed” message. I have followed the tutorial from the quick start guide, but it’s just not working. In my code, on this line: async function initializeCard(payments) {
I am in sandbox mode.
I am receiving an error. This is in Dreamweaver, so the error isn’t being displayed, only that there is an error with that line of code.
I have verified my my app id, location id, and my SQUARE_ACCESS_TOKEN is entered in my .env.example file.
I’m not sure where to go at this point.
Thank you.
22 posts - 3 participants