#icurrytheteam

1 messages · Page 1 of 1 (latest)

gaunt plankBOT
gloomy oar
#

Note: I am asking this question because I'd like to add the functionality so that users can change their default payment method before purchasing subscriptions.

scarlet lagoon
#

Please use invoice_settings.default_payment_method

#

default_source is a legacy property and only exists for old/legacy Stripe Account

gloomy oar
#

So then I could just do the following: stripe.Customer.modify("{{CUSTOMER ID}}", invoice_settings.default_payment_method="{{PAYMENT_ID}}")?

scarlet lagoon
#

it should be the payment method id

#

pm_xxx

gloomy oar
#

right

#

it was sort of supposed to be pseudocode.

#

i have no other questions, thanks.