I did read following article,
“https://developer.squareup.com/docs/web-payments/take-card-payment”.
And I create rails project based on “GitHub - square/web-payments-quickstart: Quickstart for using Square's Web Payments SDK”
In Production mode on heroku,
I’ve got missing-credentials error, on this line:
“payments = window.Square.payments(appId, locationId);”
error on console.log:
ApplicationIdEnvironmentMismatchError : Web Payments SDK was initialized with an application ID created in production however you are currently using sandbox
appID, locationId are collectly outputed on console log.
Yes, production values of them.
Please give me a hint.