#CodyL - default payment mehtod

1 messages · Page 1 of 1 (latest)

mellow river
#

previously there was default source
You can still use default_source I believe. Why are you looking to set it outside of invoice_settings?

abstract furnace
#

We would want to track which payment source the customer has elected as default when we process their monthly auto pay

#

currently we store this with default_source on the customer, but we are looking to migrate to the PaymentMethods api

#

and the docs say to use the invoice_settings

#

which seems odd if you aren't using stripe invoices and subscriptions

#

Or do we need to start storing that on our side now?

mellow river
#

The only default payment method functionality that we have applies to subscriptions and invoices which is why that setting is named that way. You can still store a PM ID there even if you aren't using those. It won't affect your functionality otherwise

#

Storing it on your side can definitely make sense as well.

abstract furnace
#

k. That is a change that I don't really see mentioned in the migration docs.

#

maybe something to bring up to those in charge of that.

mellow river
#

Yep, good feedback. That field can be a bit confusing even for users who are starting with the payment methods API.

abstract furnace
#

agreed. thanks.