While not all card fraud can be prevented, there are a few steps you can take to protect your checkout process from misuse and prevent card fraud.

This recipe stops cases where a card is being used outside the owner’s home country, whether to obtain your products fraudulently or as part of a card testing attack. You’ll need to install and activate the Geolocation IP Detection by Yellow Tree (Benjamin Pick) to accurately detect the visitor’s IP country and compare it to the entered Billing Information. This would give you the functionality to add more security and prevent card fraud.

Match IP and Billing Address to Prevent Card Fraud

How it Works

This recipe adds a security check to any level that requires a billing address. The entered address will be matched to that of the IP address location. If the card is being used outside the home country, the checkout will fail and the following message will be displayed:

Your location does not match your billing location.


The Code Recipe


Adding the recipe to your website

This recipe requires the Geolocation IP Detection plugin by Yellow Tree (Benjamin Pick).

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo