#ironbeard - default PM
1 messages ยท Page 1 of 1 (latest)
all good ๐
Yes you can
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
One thing to note is if 2 different payment methods are set as default: one directly on the subscription and one on the customer, the one on the subscription will override the one on the customer: https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Awesome, and that would have the same end effect as setting the Default PM on the Sub right? I had already built database models to mimic stripe functionality but have default PMs set to Customers
But it's still on me to set Default Payment Methods, right? Card Elements or stripe.js won't do that, right?
Correct
Awesome, thanks! Have a good one!
You too!