#Gomar-API-key-change
1 messages ยท Page 1 of 1 (latest)
Hello ๐
What type of integration are you running here? Are you using a third-party plugin or have you built your own system?
Hi ! Thanks for helping me ! I'm using the stripe package for nextJS
I'm using your checkout session
If I go on network, the problem is from here
We don't have an official nextJS package so I'm not sure how that works but I can try to help
Can you explain your flow with the code? Feel free to share examples
Oh yes sorry I took the react and JS
This is my code in the api
And this is where I'm calling the checkout session
Everything is implemented with environment variables, I checked my code if there was the publishable API key writen directly but nothing
Gotcha. Thanks and you've changed both, the publishable key and the secret key?
Yes I changed the publishable, the secret and the product key
yes sorry the product id
can you print out the checkout session object server-side and share it here?
Let me checke because the problem is from my server and not from my local
Ok so I found the problem ! I relaunched the build after the changes but it seemed that the server didn't take the new variables in consideration ๐ , so I rebuilt again and now the proper keys are used ๐ . Sorry for the disturbing, and thanks a lot for your help !
All good ๐ Have a good one