In this tutorial, we show you how to quickly disable payment methods for the first purchase in WooCommerce. This is really useful because it allows you to reduce fraudulent transactions.
You can disable credit cards or any other payment gateway for users who haven’t purchased anything from you. The first purchase won’t accept the selected payment method.
You could program this condition, but you need vast programming knowledge to avoid errors. Fortunately, we have great news because you can disable payment methods for the first purchase using the WooCommerce Conditional Payment Gateways plugin. With this plugin, you can enable any conditional restrictions for your payment methods with a few clicks.
Here are some examples:
- Require check payment for expensive products to prevent fraud
- Allow credit cards for users with 3 or more successful purchases reducing credit card fraud
- Disable credit card payments when the user is not logged in
- Provide payment methods preferred by the customer based on the country
You can download the plugin here:
Download WooCommerce Conditional Payment Gateways Plugin - or - Read more
Once you install and activate the plugin, you need to follow these simple steps to disable payment methods for the first purchase.
1- Add a new condition to your payment methods
To add a new condition to your payment methods with WooCommerce Conditional Payment Gateways, you need to follow these simple steps:
- Go to WooCommerce > Conditional Payment Methods.
- Tick the Enable conditions checkbox.
- Click Add condition to create a new condition.
2- Disable payment method for first purchase in WooCommerce
Once you’re in the Add condition form, you need to select the following values to disable payment methods for the first purchase in WooCommerce:
- What happens when the conditions are met: Disable the payment method(s)
- Select the payment methods: Select the payment methods you’ll disable. PayPal, for example.
- If your gateway doesn’t appear, tick the My gateway doesn’t appear in the list checkbox and add the gateway.
- Condition 1: Previous orders from the customer = 0
- Publish the condition.
It’s really simple!
Disabling payment methods for the first purchase in WooCommerce is really simple with the WooCommerce Conditional Payment Gateways plugin. You don’t have to program anything… Just some clicks and done! 🙂
You can download the plugin here:
Download WooCommerce Conditional Payment Gateways Plugin - or - Read more