Payment Gateways

WooCommerce: 5 Must-Knows to Develop a Payment Gateway From an API

A payment gateway is a system developed to enable payment of goods and services for both offline and online merchants. It makes sure that there exists a smooth passage of all transactions through encryption of confidential information. It acts as the link between a buyer, a bank, and an online shop. Online stores try their […]

The post WooCommerce: 5 Must-Knows to Develop a Payment Gateway From an API appeared first on Business Bloomer.

WooCommerce: Why Rotating Payment Methods Can Protect your Revenue

By now, you probably know that you should never run WooCommerce with a single payment gateway. We’ve already seen in the “PayPal or Stripe?” article that (spoiler alert!), the best solution is “PayPal AND Stripe”. Which means you need to understand that different customers prefer different kinds of payment methods (and this could increase your […]

The post WooCommerce: Why Rotating Payment Methods Can Protect your Revenue appeared first on Business Bloomer.

WooCommerce: 6 Popular Payment Gateways

As you probably already know, WooCommerce offers the easiest way to build an online store with WordPress. Depending on your individual needs, WooCommerce allows you to add digital products as well as subscriptions. One of the most important components of your store is the payment gateway you use. This is what offers your shoppers a […]

The post WooCommerce: 6 Popular Payment Gateways appeared first on Business Bloomer.

WooCommerce: Should I Use PayPal or Stripe @ Checkout?

Yet another million dollar WooCommerce question… not! In fact, the answer is pretty damn easy: you should enable both payment gateways on your WooCommerce checkout (sorry about the spoiler). And here’s the proof. Go to a local shop… Fill up your shopping cart with lots of great products. You’re so excited you didn’t even check […]

The post WooCommerce: Should I Use PayPal or Stripe @ Checkout? appeared first on Business Bloomer.

WooCommerce: Enable Payment Gateway Only for “Order Pay Checkout”

I invoice clients via WooCommerce, and then send them the “Invoice Email”, which takes them to the “Order Pay” page. Of course, I want to give them the option to pay via “Bank Transfer” (bacs), but I don’t want this to be visible on the default checkout page. We’ve seen in the past how to […]

The post WooCommerce: Enable Payment Gateway Only for “Order Pay Checkout” appeared first on Business Bloomer.

WooCommerce: Disable Payment Gateway For Specific Shipping Method

Today we take a look at the WooCommerce Checkout Page and specifically at how to disable a payment gateway (for example PayPal) when a specific shipping method is selected (e.g. “local_pickup”). Enjoy! PHP Snippet: Disable Payment Gateway For Specific Shipping Method – WooCommerce Is There a WooCommerce “Payment Gateways by Shipping Method” Plugin? If you […]

The post WooCommerce: Disable Payment Gateway For Specific Shipping Method appeared first on Business Bloomer.

WooCommerce: Add Checkout Fee for a Payment Gateway (e.g. PayPal)

Here’s a simple PHP snippet to add a fee to the checkout for every payment or for a specific payment gateway. Please do remember that for certain payment gateways such as PayPal, adding checkout fees is currently against their Terms of Service so make sure to check this first. As usual, this needs to be […]

The post WooCommerce: Add Checkout Fee for a Payment Gateway (e.g. PayPal) appeared first on Business Bloomer.

WooCommerce: Change the PayPal Icon @ Checkout Page

A simple function for a very common issue: “I can’t find where to change the PayPal icon?”. If you have the same problem, here’s a quick PHP fix. WooCommerce PHP Snippet: Change the PayPal Icon @ Checkout Page Note: you can find official PayPal icons @ https://www.paypal.com/ie/webapps/mpp/logo-center

The post WooCommerce: Change the PayPal Icon @ Checkout Page appeared first on Business Bloomer.

WooCommerce: Fixing Fatal error Call to undefined function wc_get_order()

I developed a custom payment gateway plugin for a client, who wanted to add a similar method to “cod” (cash on delivery). FYI, he wanted to add a method called “card on delivery”. I simply duplicated the code, added the PHP to a file, made a plugin and gave him the plugin zip file. And […]

The post WooCommerce: Fixing Fatal error Call to undefined function wc_get_order() appeared first on Business Bloomer.

WooCommerce: Add Payment Method to Order Emails

If you wish to print the payment gateway name on order emails (in its own paragraph below the order items table), here’s a handy snippet for you. All you need to use is the “woocommerce_email_after_order_table” hook to pick the correct position, and then the “get_payment_method_title” WooCommerce function to return the payment gateway name. Enjoy! PHP […]

The post WooCommerce: Add Payment Method to Order Emails appeared first on Business Bloomer.

WooCommerce: How to Disable PayPal on Orders Above $100

This is a cool function you can apply to any payment gateways for any order threshold. for example, you may want to disable bank transfers if orders are below $10, or disable PayPal payments if orders are above a certain cart total. Here’s what I did. PHP Snippet: Disable PayPal payment gateway on WooCommerce orders […]

The post WooCommerce: How to Disable PayPal on Orders Above $100 appeared first on Business Bloomer.

WooCommerce: Disable Payment Gateway for Specific User Role

You may want to disable payment gateways depending on the user role or user capability. For example, you may want to disable PayPal for “user role: shop_manager” or enable a specific gateway for “user role: customer”. All you need is pasting the following code in your functions.php PHP Snippet: Disable Payment Gateway for a Specific […]

The post WooCommerce: Disable Payment Gateway for Specific User Role appeared first on Business Bloomer.

WooCommerce: Disable Payment Gateway by Country

You might want to disable PayPal for non-local customers or enable a specific gateway for only one country… Either way, this is a very common requirement for all of those who trade internationally. Here’s a simple snippet you can further customize to achieve your objective. Simply pick the payment gateway “slug” you want to disable/enable […]

The post WooCommerce: Disable Payment Gateway by Country appeared first on Business Bloomer.