#pavlos_91429

1 messages · Page 1 of 1 (latest)

whole valveBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

coral vector
#

Hi 👋 no, there is not prebuilt functionality for that, you will need to implement that deduplication logic yourself.

You can look at card.fingerprint on the Payment Method to help with that:
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint
That value will be unique for each card number, so you can use it to detect duplicates and remove them.

tacit wharf
#

Ah, I see, thank you. Could I do that deduplication logic before the payment method is created in Stripe or is that something I need to do afterwards?

coral vector
#

You'll need to do it afterwards, it's not possible to get access to the fingerprint until the Payment Method is created.