#runjan
1 messages · Page 1 of 1 (latest)
Did you re-use the saved payment method instead of collecting new payment method from the customer?
can you explain more ?
Once the payment method is saved, your system should retrieve the list of payment methods and use it on the new subscription/payment.
You may find the details here: https://stripe.com/docs/payments/save-during-payment?platform=web#charge-saved-payment-method
yes but when i use google pay then everytime same card is added
in my customer stripe account
with different different paymentMethod
Yes! Stripe doesn't de-duplicate even if same Google Pay is newly added
no , my card detail is same and i stripe add is multiple times.
If you use Google Pay every time and have the payment methods saved, then yes - Stripe will add the same payment methods to the customer
then how i fix it brcause in my product i retrive the all card of user from stripe and then show in user dashboard and user see same card multiple times?
You can check the fingerprint of the payment method and delete the duplicated ones: https://support.stripe.com/questions/how-can-i-detect-duplicate-cards-or-bank-accounts
fingerprint is same for all the cards.
There are two ways to go about it:
- Show saved payment methods to the customer and have them use the saved payment methods instead of using Google Pay again; OR
- After adding Google Pay, delete the duplicated payment method with same finger
stripe.paymentMethods.list
stripe.customers.listPaymentMethods
both are same or some different ?
They are different.
stripe.paymentMethods.listlist all payment methodsstripe.customers.listPaymentMethodslist specific customer's payment methods
and i have one doubt if i delete payment method of user of same card then how to take payment from user of next month of subscriptions?
but when i pass cutomer id of user in stripe.paymentMethods.list then its show only customer payment methods
but when i pass cutomer id of user in stripe.paymentMethods.list then its show only customer payment methods
If you set customer ID in the request, then it works the same asstripe.customers.listPaymentMethod
and i have one doubt if i delete payment method of user of same card then how to take payment from user of next month of subscriptions?
You can update the subscription's payment method to the final one that left
if i dont update the susbcritions payment method and delete duplicate card then what happen?
?????
Nothing will happen