#slowgen_code

1 messages ยท Page 1 of 1 (latest)

viscid brookBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

hidden peakBOT
quiet monolith
#

Hello

#

You set that return_url yourself

#

It is where the SDK will redirect your cusomer after they complete payment

muted folio
#

I know but does js redirect me here or server side sdk

quiet monolith
#

Stripe.JS

#

It is what happens when the confirmPayment() promise resolves

muted folio
#

thank you! I was just checking why I get duplicate payments sometimes

quiet monolith
#

Gotcha

muted folio
#

Thought it might be the browser

quiet monolith
#

๐Ÿ‘

#

We recommend webhooks for fulfillment

#

As client-side isn't reliable here

#

And can certainly lead to duplicate payments

muted folio
#

Ye always use webhooks, but I am not sure what's happening

#

it's not a significant amount but it happens once or twice in a month out of 10K+ transactions

quiet monolith
#

Hmm yeah that's strange

#

Most likely just want to add a bunch of logs to look at next time you see this happen (or get a report of this happening)

muted folio