Reputation: 559
I've setup WooCommerce on a site & added Stripe as a form of payment. In the users account section they can store credit card details but I've noticed that you can add the same credit card twice (I'm testing with the test credit card details stripe provide). Is there a way of preventing this? So only unique cards can be added?
Upvotes: 0
Views: 418
Reputation: 1945
Probably not -- Stripe's payment method never stores actual numbers on your site, and instead 'tokenizes' the numbers into a unique hash. Therefore, you could never check entered numbers against an existing set, since they're never saved locally and aren't accessible via those tokens.
Upvotes: 1