#steven_oauth

1 messages ยท Page 1 of 1 (latest)

velvet daggerBOT
cloud rootBOT
#

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.

velvet daggerBOT
#

๐Ÿ‘‹ 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.

jade fractal
#

Are you seeing a specific error?

velvet daggerBOT
#

steven_oauth

jade fractal
#

If there's no error, state is the recommended parameter to use for your use case

heady phoenix
#

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

jade fractal
#

OK, yep this is an ongoing issue we're investigating internally

heady phoenix
#

is this a recent problem?

jade fractal
#

Otherwise the state parmaeter is fine for your use case and would work otherwise

jade fractal
heady phoenix
#

do you know when it'll be fixed..?

jade fractal
#

We're actively investigating it now โ€“ can't give a concrete timeline

heady phoenix
#

okay..thanks. so it is a Stripe problem not my server problem??

jade fractal
#

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

heady phoenix
#

thank you ๐Ÿ™‚ do you know how I can get an update?

jade fractal
heady phoenix
#

thank you ynnoj!

jade fractal
#

No problem, glad I could help!

cloud rootBOT