#Environment Variable
1 messages · Page 1 of 1 (latest)
Do you see any logs apart from this? Or can you check in your browser console
- Open your website in Chrome.
- Press F12
- A panel opens → click the Console tab at the top.
- Now refresh your page (Ctrl + R) while the console is open.
You’ll now see:
• Errors in red
• Warnings in yellow
• Logs/messages
• If Stripe fails, you’ll usually see an error message here.
My f12 is my calculator..
Or if you still finds it hard you can send me your production url (deployment url) so i can check it for you
For windows -> Ctrl + Shift + I
For Mac -> commands + options + J
After reload, try making the subscription thing
So I need to redeploy it and see if it works?
No, if your current deployment has the issue, you can open your dev console and then try initiating the payment
Ok, that still didn't work.
Can you share me your live url?
A product of emergent.sh
you are opening dev console while being in your live site right?
yes
Your stripe API key is invalid regenerate it and enter it in your env.
am I making a new API?
The Stripe key you were using (the one starting with sk-live*) isn’t valid anymore. You’ll need to regenerate a new one in your Stripe dashboard and then update it in your environment variables. Once you replace it and redeploy, your payments should start working again.
Do i need time give it a few minutes? Because it still isn't working.
Did u redeployed after updating your new keys?
I did
I dont know what can be issue because it shows the same for me and you said you did update the keys, ask the agent to check the payment integration and check if the keys are being used in right format (also ask it to apply root fixes not patch)
I did that. had it run a health check.. did the preview and it worked great.. reployed and still doesnt work.
right
i think theres an issue with how the agent is handling those keys contact [email protected] and let them know about your issue
it will save your time and credits