#mentijm-PMs

1 messages ยท Page 1 of 1 (latest)

stable siren
#

๐Ÿ‘‹ happy to help

#

yeah it is documented let me find it for you

uncut flicker
#

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?

stable siren
#

sorry I don't follow your question

uncut flicker
#

When I read that doc now I understand this as precedence of declared payment method options

#

types

stable siren
#

yes

uncut flicker
#

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

stable siren
uncut flicker
#

Ah nice, thats what I'm looking for. So precedence:

#
  1. [subscription] invoice_settings.default_payment_method
  2. [subscription] default_source
  3. [customer] invoice_settings.default_payment_method
  4. [customer] default_source
  5. ??
stable siren
#

[subscription] invoice_settings.default_payment_method
[subscription] default_payment_method

#

yes

uncut flicker
#

are there any 5, 6 ... ?

#

like trying an attached payment method that is neither of 1-4?

stable siren
#

AFAIK no it doesn't

uncut flicker
#

Ok

#

thanks