#splitrox_checkout-redirect

1 messages ยท Page 1 of 1 (latest)

icy dockBOT
#

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

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

young marshBOT
sour moss
#

Hi there ๐Ÿ‘‹ it's hard to say without more details on what your customers are seeing. Are they encountering network issues when being redirected to your success URL?

#

@cloud mango just wanted to check and see if you were around to tell me a bit more about what your customers are seeing?

cloud mango
#

The purchase is over so right now is little bit difficult, also I'm not sure if they are encountering network issues but I'll ask

sour moss
#

Hm, that isn't much to go on. I'll look to see if we've gotten similar reports of this behavior when using PayPal, but offhand it's not something I recall hearing about recently.

cloud mango
sour moss
#

Let's take a step back. Do you have business logic relying on the page at your success URL being loaded? Like do you have order fulfillment or access control that is triggered by that page?

Or is the customer experience the only concern here, rather than downstream processes not triggering?

cloud mango
#

Thats my main concern

#

Only if there is a safer way?

icy dockBOT
sour moss
#

Gotcha! That was my thinking, and this is actually why we don't recommend relying on logic on the success page. Intermittent network issues, like your customer losing connectivity unexpectedly after completing payment, can disrupt the redirect and rendering of your page.

Instead we recommend setting up a webhook endpiont to listen for Events that we emit. Those use direct communication between our servers and yours, so no client network connectivity to worry about, and have built in retry behavior in case there is a communication issue.
https://docs.stripe.com/webhooks

slate inlet
#

splitrox_checkout-redirect

final knot
slate inlet
#

That's definitely incorrect to recommend this

#

checkout.session.completed + success_url are definitely the right approach and what we document. For "synchronous" payment methods such as card payments or Link payments, when the end customer hits success_url they have already paid.
Some payment methods are incorrect such as bank debits in which case there are additional Events to listen for.
You should not listen to payment_intent.succeeded Events when using Checkout

final knot