#mentijm-PMs
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
yeah it is documented let me find it for you
here you go
https://stripe.com/docs/billing/subscriptions/payment-methods-setting#payment-method-priority
Hmm, figured this is what I might've read before. Reading it now I understood it more like precedence of declared payment method options available?
sorry I don't follow your question
When I read that doc now I understand this as precedence of declared payment method options
types
yes
What I'm looking for is the precedence order of where Stripe looks first when charging a customer
IE: charging for a subscription we look first at the subscriptions invoice_settings.default_payment_method. If that is empty we look at the subscriptions default_source, if that field is emtpy we look at customer invoice_settings.default_payment_method
etc etc
combining the link I sent you with this https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
you would have the list of precedence
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah nice, thats what I'm looking for. So precedence:
- [subscription] invoice_settings.default_payment_method
- [subscription] default_source
- [customer] invoice_settings.default_payment_method
- [customer] default_source
- ??
[subscription] invoice_settings.default_payment_method
[subscription] default_payment_method
yes
are there any 5, 6 ... ?
like trying an attached payment method that is neither of 1-4?
AFAIK no it doesn't