DEV Community

Discussion on: Prevent Repeat Purchase (WooCommerce)

Collapse
 
sdeiss1977 profile image
sdeiss1977

How can I check if the payment details the user enters have already been entered before? Situation: A user may register with a different email address in order to be able to buy a product again he shouldn't be allowed to repurchase. This should be prevented by not only checking the email address, but also the payment details, e.g. credit card number.