#weellingtonc
1 messages · Page 1 of 1 (latest)
Hey there, this is the expected behaviour when using send_invoice subscriptions -- an email each cycle
You can update the subscription to use charge_automatically but you'll need to collect that payment method with setup for future usage
There are a few ways to achieve this (a Checkout session with mode=setup, using the Customer Portal, or a manual integration with a setup intent).
How are you looking to manage that payment method collection?
Checkout setup mode: https://stripe.com/docs/payments/save-and-reuse?platform=checkout
Setup intents custom integration: https://stripe.com/docs/payments/save-and-reuse?platform=web
(then in either case set the customer invoice_settings[default_payment_method] or subscription default_payment_method to the resulting payment method ID pm_123)
Customer portal: https://stripe.com/docs/customer-management/configure-portal#customer-billing-configurations
One solution would be for me to ask for the card information when creating the account, right? but what if the user passes the wrong card information? When there is an error in the card, will he receive an email to update the payment?
Yes you can ask for the payment details up front.
It depends on the integration you use and the options you choose:
Use our features to manage this automatically: https://stripe.com/docs/billing/revenue-recovery/customer-emails#manage-failed-payment
Or get notified to handle yourself via webhooks: https://stripe.com/docs/billing/subscriptions/webhooks#payment-failures