All,
I used the sample app to create a payment form. I’m trying to migrate it from sandbox to production. I modified env.example to use the square access token. I modified the html to use the production url & I modified card-payment.js to use the produciton appID & locationID. When I call it from localhost it seems to work but all my payments calls are rejected. I’m assuming this is because it’s localhost on dev butnot sure. When I try to access the site from the server I get applicationId and/or locationId is incorrect. Am I missing a step here? How can I call this from a server URL vs. localhost.
Thanks,
Jeff
2 posts - 2 participants