#r3v3rb

1 messages · Page 1 of 1 (latest)

tranquil zenithBOT
lavish canopy
#

payment_intent.succeeded guarantees it

#

There's certain payment methods that are delayed, so you could get a checkout.session.completed event without receiving payment (only with certain payment method types)

young whale
#

And from that I can get back to the customer object and subscription object?

tranquil zenithBOT
lavish canopy
#

If you need subscription too, then I recommend listening to invoice.paid instead

young whale
#

Perfect, thanks

#

ergo it will also have the subscription status etc etc

lavish canopy
#

No you'd need to retrieve the subscription to get the status too

#

Make an api call based off the id attached to the invoice

young whale
#

Yep, perfect thanks

lavish canopy
#

No problem

young whale
#

Last last one -there appears to be lots of duplication for example does stripe send out reminder emails for payment or should I provision this based on invoice.created webhooks? I'm at a loss as to who handles what - because it appears that it could be either

#

for rolling monthly contracts for example

#

if the payment fails should I send out an email or does Stripe?

wise lake
young whale
#

Whoops, should have read through that little lot!

#

Arhhhh that's nice 'As one of our earliest Stripe users, your account is on legacy pricing.'

wise lake
#

Yeah, it's kind of hidden if you don't know to look for it, but yeah: you should be able to toggle on or off depending on if you want to handle emails yourself or not