#steven_oauth
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- steven_code, 8 hours ago, 32 messages
- steven_docs, 5 days ago, 9 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1239528900489510923
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Are you seeing a specific error?
steven_oauth
If there's no error, state is the recommended parameter to use for your use case
yes, im seeing an error: I'm logging the following:
Raw Stripe Response: Something is wrong with your CSRF token. Make sure cookies are enabled in your browser, and try reloading this page. If you continue to see this error message, please let us know at https://support.stripe.com/contact/email.
const response = await fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: new URLSearchParams({
client_secret: client_secret,
code: code,
grant_type: 'authorization_code',
})
});
const responseText = await response.text(); // Get the response as text first
console.log('Raw Stripe Response:', responseText); // Log the raw response
i tried different browsers and still have the same problem
OK, yep this is an ongoing issue we're investigating internally
is this a recent problem?
Otherwise the state parmaeter is fine for your use case and would work otherwise
Yes
do you know when it'll be fixed..?
We're actively investigating it now โ can't give a concrete timeline
okay..thanks. so it is a Stripe problem not my server problem??
Yes it's a Stripe issue that we're working to identify and resolve. Once fixed you can use the state parameter as you're trying to
thank you ๐ do you know how I can get an update?
Should be soon but you can write in for updates: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
thank you ynnoj!
No problem, glad I could help!