background img
Jul 7, 2020
0 0

PayFast Payment Gateway

Written by

The PayFast extension enables you to accept payments. Including Subscriptions, deposits, and pre-orders through one of South Africa’s very most popular payment gateways.

Also, PayFast gives your customers more flexibility which includes making deposits, placing orders ahead of time, or making payments on a weekly, monthly, or yearly basis.

Take Flexible Payments With PayFast

Generally, Customers can sign up to manage their payments through an. Also, easy-to-use payment wallet to pay for your product or service quickly and easily.

When a user elects to pay for their order using PayFast, they are going to your merchant account on PayFast, where they request to login and pay. Also, PayFast handles payments and redirects your visitors. Also back to your website where they can continue browsing through your store.

PayFast Payment Gateway Extension

Generally, Our PayFast payment gateway extension for WooCommerce allows you to process payments through the South African payment processor PayFast. Payment can be accepted from any country, but it is necessary to use ZAR as the store currency.

How To Install PayFast

What Do You Require

  • Generally, A PayFast account to obtain a Merchant ID and Key. Note that merchant IDs differ for developers and live sites, so you may need to update to your live site.
  • Instant Transaction Notification (ITN) must be enabled. Replace the following with your domain for the informed URL.

Sign up for PayFast↑ Back to top

To register for a PayFast account.

  • Libourne Visit: PayFast
  • Register
  • Verify your account.
  • Go to: PayFast> Settings> Integration.
  • Copy your Merchant ID and merchant key to use during the installation of your WooCommerce store. Or leave this window open after signup.

  • Add and copy passphrase

  • If you are using subscription and/or pre-orders,
    Verify that Ad hoc Payments are under enable the Recurring Payments Recurring Billing section.

Setup And Configuration

To connect your store to PayFast:

  • Finally Go to: WooCommerce> Settings> Payments> PayFast.
        Note: Pre-payment is called ‘Checkout’ before WooCommerce 3.4.
  • Use the toggle under Enable to select PayFast.
  • Select Set up. You are taken to PayFast Settings.


  • Enable/Disable – Enable to use. Unable to close.
  • Enter a Title Description shown to customers at checkout (optional).
  • If you are developing your website then tick the sandbox box and are not ready to accept payment and/or want to test.
  • Enter your Merchant ID, key, and passphrase. Received from your Pay Fast account.
  • Options for Sending Debug Emails, entering an address to receive emails for each transaction, and logging – all are optional; Commonly used for troubleshooting.
  • save Changes.

The Pay Fast extension uses the Merchant ID and Key fields to send cart information to your Pay Fast account.

Compatibility with other extensions

Pay Fast works well with many extensions. One thing to keep in mind is that the initial fee cannot be less than R5.00.

WooCommerce Subscriptions

As of version 1.4 PLUS, Pay Fast works with WooCommerce Subscriptions. Configure a simple or variable subscription product described in the extension’s documentation.

Using PayFast with a subscription:

  • Basic features available: membership suspension and cancellation of membership
  • Advanced features available: Recurring total revisions, payment date revisions, payment method changes by the customer (not yet supported)

While a user can take multiple subscriptions at the same time, Pay Fast is unable to purchase multiple subscriptions in a single transaction. Two subscriptions cannot be added to the cart at the same time.

Cancellations work from both the WooCommerce Store and Pay Fast. Also If you cancel at the store, the token gets canceled on Pay Fast. If you cancel on Pay Fast, the order is canceled locally.

WooCommerce Pre-Orders

As of version 1.4 PLUS, Pay Fast works with WooCommerce pre-orders. Configure the products described in the extension’s documentation.

The initial fee is not charged then the pre-order will not work. To address this, there are two options:

  • If you want to charge a release, you must set a pre-order fee.


  • If you charge the entire amount upfront, it is optional to set a pre-order fee.


Test PayFast

It is possible to test the PayFast payment gateway before it goes live.

For doing this:

  • Go to: WooCommerce> Settings> Payments> PayFast.
    Note: Pre-payment is called ‘Checkout’ before WooCommerce 3.4.
  • Tick the Pay Fast Sandbox checkbox to enter the gateway in test mode. Because this replaces your merchant ID and merchant key with an ID and key for the merchant sandbox test area.
  • Save Changes.

When ready to go live, uncheck the Pay Fast Sandbox checkbox and save the changes again.

Also Read,

Small request, if this article has proved helpful for you, then don’t forget to share it!

Article Categories:

Leave a Reply

Your email address will not be published. Required fields are marked *

The maximum upload file size: 512 MB. You can upload: image, audio, video, document, text, other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here