#kirito-schedule-payment
1 messages · Page 1 of 1 (latest)
kirito-schedule-payment
Hey @frozen oar ! A SubscriptionSchedule doesn't charge immediately. But you can take its Invoice and finalize it immediately and attempt payment via the API https://stripe.com/docs/api/invoices/pay
on what event should I do that or what if the customers payment method doen't work would I receive an event subscription.update ?
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
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?
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
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