#Elmo

1 messages · Page 1 of 1 (latest)

autumn hillBOT
indigo gyro
#

Are they being charged on the old PM on recurring subscription payments?

odd obsidian
#

yes

#

Is the PM associated somewhere else?

indigo gyro
#

Can you share the sub_xxx?

indigo gyro
odd obsidian
#

I see, is this possible to change on the dashboard...or only on the api?

indigo gyro
#

Can maybe be done via Dashboard yeah

odd obsidian
#

On the subscription is the new one as well

#

Just checked

indigo gyro
#

Can you share the sub_xxx ID?

#

Or a payment ID that used the wrong card?

odd obsidian
#

pi_3MUKfRHH6VoBAgwZ0yu8XJAa

#

sub_1LEjipHH6VoBAgwZx7fFIxeM

indigo gyro
#

Checking

#

So pi_3MUKfRHH6VoBAgwZ0yu8XJAa used pm_1L3HW1HH6VoBAgwZRKPLVwnx which was the default_payment_method on the subscription up until ~an hour ago

#

pm_1L3HW1HH6VoBAgwZRKPLVwnx ends in 3301

odd obsidian
#

default source?

indigo gyro
#

Not sure which is old/new, but they aren't the same card

odd obsidian
#

exactly

#

how can this be happening....the pm should be the default source

indigo gyro
#

You said they were:

On the subscription is the new one as well

#

But that's not true

odd obsidian
#

when I look at the subscription it shows the one ending 1003 as default

indigo gyro
#

We charged the default_payment_method on the Subscription (pm_1L3HW1HH6VoBAgwZRKPLVwnx) as that takes precedence over any default PMs on the Customer

indigo gyro
#

But at the time of that payment (a month ago) it wasn't

odd obsidian
#

oh ok....I will check with the team

#

PRobably, my team had it as default on the customer, but not on the subscription....one hour ago they deleted the old pm and then it probably changed the subscription. They were not aware that we need to change it in both

indigo gyro
#

Yep, default_payment_method takes precedence over any Customer default:

ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over default_source. If neither are set, invoices will use the customer’s invoice_settings.default_payment_method or default_source.
https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method

#

Now that is unset, the default_source on the Customer (which I assume is the new card) will be used