#JCrags

1 messages ยท Page 1 of 1 (latest)

sage jungleBOT
jagged knot
#

You are right on the events to listen to here, you can also listen to payment_intent.* events but those don't have events specifically broken out for being async so you would need to do more checks and stuff

#

Ultimately it is up to you on how to enable/disable these licenses. You can provision them immediately or wait, whatever makes more sense for your business

vagrant patrol
#

Hi Pompey, thanks for clarifying. Gotcha, I will do it as I see fit in that case ๐Ÿ™‚

Perhaps you can also confirm one other question just to be sure. When a delayed payment method is used, the checkout.session.completed always has the payment status set to unpaid by default no matter what, correct?

jagged knot
#

no_payment_required would be possible if you have a trial or otherwise don't need payment right away. Otherwise I think you are right that it will pretty much always be unpaid

vagrant patrol
#

Thanks I think it works properly now. Have a nice rest of the day ๐Ÿ™‚

jagged knot
#

You too!