#thegeneral1926

1 messages · Page 1 of 1 (latest)

quick frigateBOT
high shore
#

What kind of business logic you wish to run?

graceful yoke
#

Yes I'm aware of that, but isn't it required us to use webhook to run business logic?

#

for example, create some table rows in our database

#

like 'order information' for example

high shore
#

Sure, you can listen to checkout.session.completed to fulfill your order

graceful yoke
#

I see that's webhook. I was asking if i could do without webhook, but seems like without webhook, i have to build from scratch, am I understanding correctly?

high shore
#

I don't quite understand

graceful yoke
#

I'm just concerned that some emergency situation that Stripe already accepts the payment but webhook on my server broken or something

high shore
#

OK, Stripe will attempt to retry the webhook devliery up to 3 days

graceful yoke
graceful yoke
high shore
#

and Stripe will also inform you when you webhook endpoint is down for a long time.

graceful yoke
#

got it

#

ok i feel like stripe is strongly encouraging using webhook (since it's everywhere on documentation) so i will use webhook instead of creating payment on my server

#

thank you for the help