#Markan97
1 messages · Page 1 of 1 (latest)
👋 happy to help
that won't happen automatically
you'd have to listen to some webhook events and then call the Update Customer API and provide the invoice_settings.default_payment_method
That would be ok if I use when the subscription is updated and watch the moment the subscription's status became active?
I don't know which webhook to use because we have a separate addition of payment methods in the app. The only thing that comes to mind is what I mentioned above.
you can listen to invoice.paid events
Yea that's awesome
if the billing_reason is create_subscription
it's just to avoid the logic being repeated in every subsequent invoice
let me know if you need any more help
I'm good, you've saved a few hours of research for me! TY alot.