Procedure to go from Test To Live


#1

Can you please assist in the transition steps to go from Test to Live? I am still on localhost:3000 and have switches from Stripe Test Keys to Live Keys. In moltin.js I have only the CLIENT_ID…do I need a GRANT_TYPE, CLIENT_SECRET or STORE_ID in there? Or is it something else?..I tried yarn build/yarn start and got “Internal Server Error”.

Error on Stripe…

{
“error”: {
“code”: “resource_missing”,
“doc_url”: “https://stripe.com/docs/error-codes/resource-missing”,
“message”: “No such token: tok_1xxxxxxxxxxxxxxx; a similar object exists in test mode, but a live mode key was used to make this request.”,
“param”: “card”,
“type”: “invalid_request_error”
}
}

Thank you.


#2

Just got it working…made several code changes around Stripe requirements…in the Checkout section and additional code in my .ENV file per Stripe Documentation.


#3

Hey Jeff that great you got it working. Can you share the url, would be great to see. Let me know if you need anything else.

-George


#4

https://project3store-sdwzwxoasg.now.sh/


#5

Site looks great, my have to order some wine :grin:.


#6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.