#cgy

1 messages · Page 1 of 1 (latest)

raw steppeBOT
ocean ledge
#

there wouldn't be a checkout.session.failed event

#

I would think only the checkout.session.completed is important since you would need that to fulfill orders

#

is there a reason why you want to know if it failed?

snow solstice
#

Our app need to know weather the card create successfully

#

Beacuse the Webhook will be delayed right?

ocean ledge
#

Our app need to know weather the card create successfully

that's where you would listen to checkout.session.completed

snow solstice
#

Before I revice the event of complete, I don't know the card status

#

I do listen to completed

ocean ledge
#

can you give me an example scenario, maybe that'll help me better understand your use case?

snow solstice
#

Ok, when the Webhook delays a day or a long time, during this time how can I sure the card status

#

Of course during my test I can receive it quickly, just in case

ocean ledge
snow solstice
#

emm, what about event "expired", shoul I listen to this event? In my understanding expired means failed.

ocean ledge
#

i think the question to ask is what would you want to use the event checkout.session.expired for?

#

expired doesn't necessarily mean failed - it just means the customer never completed payment within the timeframe. It could be that the customer never attempted payment, or they attempted payment and failed

snow solstice
#

Oh, I know. If they haven't fill the form in a certain time. Your sys push expired event.

ocean ledge
#

yep, that's correct

snow solstice
#

I understand what should I do. Thank you

snow solstice
#

Hi,bother you again. I want to add a function: charge monthly.

#

Is this part of docs work?

ocean ledge
#

Do you mean you want to use Checkout Sessions to collect payments for monthly subscriptions?

snow solstice
#

Yes monthly subscriptions

ocean ledge
#

have you already created a Monthly Price?

snow solstice
#

No

raw steppeBOT
hidden minnow
snow solstice
#

is that right?

hidden minnow
#

Yss you should use the first link to create the Product/Prices in Stripe to fit the pricing model for your business

#

Then you can use those objects with Checkout to start recurring payments