flatmarket icon indicating copy to clipboard operation
flatmarket copied to clipboard

Test site: Invalid API key provided

Open graham768 opened this issue 5 years ago • 1 comments

When I attempt to make a purchase on the test site in the README I get an error "Invalid API key: pk_test_************enUe"

Probably just needs to be updated, but if the demo is supposed to have an invalid API key to prevent purchases maybe mention it in the README

graham768 avatar Jun 28 '19 17:06 graham768

This comment may be too old but someone might find it useful... I just got this error in my own build, I just noticed that I placed the wrong api key in the flatmarket.json

You have to edit the flatmarket.json file under src folder. Place your publishable key from stripe website, not your secret key, and that's all. The key is that pk means publishable key and sk, secret key 😄 Secret key should go in your launching options as stated in the readme.

I guess the test site has an old API key that got deleted from stripe probably.

jserodio avatar Jul 28 '20 19:07 jserodio