#kirito-schedule-payment

1 messages · Page 1 of 1 (latest)

kind forumBOT
fierce heron
#

kirito-schedule-payment

frozen oar
#

on what event should I do that or what if the customers payment method doen't work would I receive an event subscription.update ?

fierce heron
#

I don't understand what any of this means, you talked about a SubscriptionSchedule, but now you talk about a Subscription update and Events.
I'm sorry, but I am going to need more specific details all explained in one message

frozen oar
#

ok, when the subscriptionSchedule reach the end of the current phase and start the next one it will update the subscription imidiatly and wait for 1 hours before charging

#

what will happen if the customer payment method doesn't work?

fierce heron
#

Then Invoice will be finalized, then the payment attempt will be done and if it fails you will get an invoice.payment_failed Event and your own code/webhook handler can react accordingly

frozen oar
#

ok, there will be no customer.subscription.updated

#

?

echo oasis
#

Hi there 👋 taking over for @fierce heron

If the Subscription's status changes to incomplete (which it usually does for the first failed payment attempts) then you'll also get the customer.subscription.updated event, but I would suggest relying on invoice.payment_failed for failed payments instead