#Pablo-default
1 messages · Page 1 of 1 (latest)
Hi Pablo!
So sorry, I missed your message
Are you using Stripe Billing (Subscriptions/Invoices)?
No issues @vernal parcel
Yes, I'm using subscriptions/invoices. The idea is to attach a credit card to a customer and use it in the future when the user subscribe to any of our services. I'm able to create the customer and the credit card but it is not set as default payment method in "Customer.InvoiceSettings.DefaultPaymentMethod" after using stripe.confirmSetup. any idea if this is possible to do with Stripe Elements? let me know if do you need more info
Thanks for the context! This isn't possible to do client-side. You would need to make a separate request server side after collecting the details in order to set the customer's invoice_settings.default_payment_method like you mentioned.
ok! I will use the WebHooks then, Thanks @vernal parcel