#davido-mb

1 messages · Page 1 of 1 (latest)

wintry hedgeBOT
delicate cradle
#

hello, I think typically, you would want to take a two-pronged approach for this - either process the action from the client callback (i.e. when it redirects to the success page) or handle the corresponding webhook. Once you process one of them, you can disregard the other.

Typically, you don’t want to rely solely on the client callback since the customer could close the browser window or quit the app before the callback executes. At the same time, if your concern is about missing webhook events, you still have the client callback as a backup.

wispy breach
#

Ok, thank you! On the redirect, what could be the best way to verify the purchase has been completed correctly? With the session id is enough?

delicate cradle