#vmoscone

1 messages · Page 1 of 1 (latest)

dapper heronBOT
nova creek
#

Do you have any more details about this? Like an example customer or payment method?

pulsar jacinth
#

Thanks for the response @nova creek

#

Do you mean sharing the customer ID?

nova creek
#

Yes, and ideally the related payment method ID

pulsar jacinth
#

Customer: cus_NcpKwEu87fHxDk

#

i don't have the payment method as it was deleted by the customer

nova creek
#

Was this two days ago?

pulsar jacinth
#

yep

#

Is there a way to avoid letting the user to remove the payment method? (when there is an active subscription)

nova creek
#

Hmm no the ephemeral key doesnt support granular options like that

pulsar jacinth
#

So probably the way to go is reacting on the server side (when this event was fired) and make the changes on the current subscription

#

Or do you see another way of doing it?

#

cc: @nova creek

nova creek
#

Right, you'd either need to handle those events and recognize when the subscription needs a new PM

#

Or not provide that eph key allowing the customer to manage their attached PMs like that