#CodyL - default payment mehtod
1 messages · Page 1 of 1 (latest)
previously there was default source
You can still use default_source I believe. Why are you looking to set it outside of invoice_settings?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
which seems odd if you aren't using stripe invoices and subscriptions
Or do we need to start storing that on our side now?
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.
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.
Yep, good feedback. That field can be a bit confusing even for users who are starting with the payment methods API.
agreed. thanks.