#garreh
1 messages ยท Page 1 of 1 (latest)
Hello ๐
You can use fingerprint to identify if the card has been set up before
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thats awesome
is there a way to prevent setting up payment method with same fingerprint ? like maybe some radar rules that can reject it
Not sure if radar can help here as it can only compare it to one fingerprint you provide.
You'd likely want to store fingerprint in a database on your end and compare it when a new payment method gets created
yes thats possible for us to store the fingerprint... but with the Stripe.js it will still technically allow that customer to set up same fingerprint payment method hundreds of times...?
so this filtering needs to happen on the stripe side, it should check to see if existing payment method has that fingerprint and if so deny setting up the method
Right, but the payment method needs to be tokenized first in order to calculate the fingerprint. There's nothing in Stripe.js that currently allows getting the fingerprint without tokenizing
might i suggest that being added as a feature to the Create api for Payment Method... so have a new attribute "deny_duplicate_fingerprint" which is a boolean that will send a deny/failed api creation response if that payment method matches an existing fingerprint ?
I can file a feature request for this yes. You can also submit one by writing in
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.