#kushal

1 messages · Page 1 of 1 (latest)

clear haven
oak pecan
#

sorry i don't have the acces tot he stripe dashboard i am doing this on python shell

boreal parcel
#

card_1LaeCICy95Kg2yHQIIlq2kel doesn't even exist

#

Nor does cus_MJGjylx9LwgSO6

oak pecan
#

ok

#

i my web app i want to update the card for the user who has subscribed to the plan

ruby vapor
#

it depends exactly what you're trying to do.

oak pecan
#

i want to provide an api to update the subscribers card

#

in my web app

ruby vapor
#

update in what way exactly? to replace the card with a new one they enter?

oak pecan
#

yes

ruby vapor
oak pecan
#

hi am very new to the payment can you please tell me what exactly i need to do?

do i have to create an new card for the customer and delete the previous one ?

or i can modify the the subscription and replace the new card with existing one?

ruby vapor
#

if you're new I'd suggest using our current integrations instead of these legacy Card/Source objects.

We have a fully worked guide here : https://stripe.com/docs/payments/checkout/subscriptions/update-payment-details of how to use our hosted Checkout page to accept card details from a customer and update them on a Customer for work for future subscription payments. That's what I would use.