#Marroco - replace subscription payment method

1 messages · Page 1 of 1 (latest)

dusk sageBOT
lucid turtle
#

Are you looking to find current payment details, or how you can update the payment method used for subscription invoices?

torpid tulip
#

update the payment method used for subscription invoices

#

My main problem is some costumers have invoices pastdue and they want to update their credit card but In the website I cant do it, so I want to make throu the API

lucid turtle
#

then you can update either the subscription default_payment_method or the customer invoice_settings[default_payment_method depending on what you're doing for this currently

#

the subscription setting takes priority, the customer setting is used when no subscription default is set

torpid tulip
#

thanks!

#

so that means that if I make Set up future payments

#

and the customer put the information

#

when I go to his subscription It will show 2 credit cards on file?

#

the one that he was using before and the new one?

lucid turtle
#

No, the subscription can only be set with a single default

#

The customer may show two payment methods

#

and the past invoices might have two different payment methods

#

but the subscription won't have two

torpid tulip
#

oh exacly

#

thats what we need

lucid turtle
#

Marroco - replace subscription payment method