#Sadeed
1 messages · Page 1 of 1 (latest)
Yup! Stripe allows adding the same card multiple times as it doesn't do duplicate check.
so theres no way to add a duplicate check unless I store the cards myself or compare the last 4 digits ?
Stripe doesn't perform duplicate check. You can use the card fingerprint to perform duplicate check. Every card number has its card fingerprint that is the same across all payment methods created: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint
You may refer to more information here: https://www.youtube.com/watch?v=MvMmOWWHjVo
that will do it, thankyou