#dirty dishes

1 messages · Page 1 of 1 (latest)

solemn gardenBOT
coral crystal
#

You would have to implement something like a loading spinner that waits for the webhook before loading the page in that case, as I don't think you can delay the redirect.

silver cypress
#

ok. Is this the same case for the checkout webhook also? I was reading some stack overflow answer yesterday that says the checkout api will wait until the checkout webhook returned successfully

coral crystal
#

It's the same with Checkout, as the redirect happens (usually) before the webhook fires

silver cypress
#

has a blurb that says "Your webhook endpoint redirects your customer to the success_url when you acknowledge you received the event."

#

my understanding is that means the redirect will only happen after I return 200 from my webhoook

coral crystal
#

Hmmm, that's news to me, but there it is in plain english. Let me dig a moment and circle back

coral crystal
#

Huh, I guess it does. Not sure when that was implemented, but I could've sworn it worked differently than that. Anyway, yeah, so it looks like Checkout might be a good solution for you then, since it relies on the webhook for the redirect to happen.

silver cypress
#

cool thanks

#

and just to confirm only checkout works like this, not setupintent right