#andodo_17937
1 messages · Page 1 of 1 (latest)
Hi I'd recommend listening to invoice.payment_succeeded if you want to set the same payment method that paid the invoice as the default_payment_method of the subscription.
That's because invoice.paid will be also fired if the invoice is paid out-of-band (i.e., paid outside of Stripe), and in that case there's no payment_method associated with the payment_intent