#ziwengames

1 messages · Page 1 of 1 (latest)

restive sparrowBOT
frail owl
#

Hello

verbal axle
#

Hi

frail owl
#

We always recommend webhooks, even for on-session payments, as it is always possible for your customer to drop off before the promise resolves for confirmPayment()

verbal axle
#

If they drop off and resume on the page later, couldn't I just check if the invoice has been paid (if no, same page, if yes, go to next page)?

  • using await stripe.invoices.retrieve(...).status === 'paid'

I don't store a copy of the invoice data on my DB -- I store the invoiceId and then retrieve on stripe, so everything checked is via Stripe

frail owl
#

Sure but how do you know to provision your product?

#

Or is it just SAAS access?

verbal axle
#

most of it is SAAS access to the website