#.stevenp

1 messages · Page 1 of 1 (latest)

leaden moatBOT
icy forum
#

cus_OA1KTb5NDBs07k is the customer id

indigo shadow
#

@icy forum lets talk here, my colleague @kind blade will help (I deleted your other messages in the main channel)

icy forum
#

Ok!

indigo shadow
#

That Customer has no default payment method it has a default source which is a legacy concept from years ago

#

The Dashboard will basically show you both based on what is available. What are you really trying to do/solve

icy forum
#

i want a customer to be able to add a payment method via the subscriptions management dashboard, and then i update my UI according to some variable (the invoiceSettings.defaultPaymentMethod is what ive been using)

kind blade
#

👋 taking over

#

When you say subscription management dashboard, probably you mean Customer Portal?

icy forum
#

yessir

kind blade
#

Yes it could be expected that updating through Customer Portal will result in default_source instead of default_payment_method

#

Technically both of those fields should work, but if you want it explicitly to be default_payment_method, probably you need to set it up directly via API

icy forum
#

ok

#

so on my UI i will need to use an || on source/method if I want to prompt customer to add payment method only in one place