#DamManc
1 messages ยท Page 1 of 1 (latest)
@south sleet ok thank you, I have another question, if I don't write the phases option array when i created the scheduleSubscription which product is associated with this subscription?
@south sleet a ok perfect!, another: there is the event checkout.session.completed after the completion of checkout session with setup as type?
I believe so, yes.
ok i will try, thank you ๐
๐
@south sleet i have another: I can quickly setup a behavior if the payment intent goes bad?
not sure what you mean by setting up a behavior
can you clarify?
with webhook? If I crete a checkout session setup, the customer insert the payment data, and after with webhook I create a ScheduleSubscription for tomorrow (with metadata I can pass the right data). But tomorrow the payment goes bad, because the card have not money, There is a method to delete/update the subscription
@south sleet
Yes, you can use webhooks to listen for failed payments and handle the use-case according to your needs ๐
ok perfect, thank you ๐