#myz123
1 messages · Page 1 of 1 (latest)
You just leaked your Stripe API key in the earlier message, you should roll your API key as soon as possible
is this a test key?
Yes, but anyone can use this key to create a charge on your Stripe account in test mode
Is your server hosted in a different origin from your frontend application?
Is your server hosted in a different origin from your frontend application?
@frosty jungleI spend a whole day but still canot fix it.
Yes, I use firebase cloud function.
But I already enable cors and it should work.
Ok, then you should check with firebase on how to enable cors.
I already enabled cors.
const cors = require('cors')({ origin: true });