How do I integrate Payfast with WooCommerce?

How do I integrate Payfast with WooCommerce?




Installation Requirements
  1. You will need to be registered on Payfast to accept payments and get your Merchant ID, Merchant Key and Passphrase.
  2. On your Payfast Dashboard, on the Integration page, ensure the following:
  3. You can find the full installation instructions on the WooCommerce Payfast Plugin page.

Sandbox testing

For effective testing, please follow our instructions for sandbox mode.

Subscriptions Requirements

  1. Recurring billing is available through the WooCommerce Subscriptions extension. 
  2. 'Recurring Billing' must be enabled on your Integration page on your Payfast Dashboard.
  3. When editing recurring billing, select the 'Ad hoc Payments' checkbox and click Update.
  4. To view your WooCommerce subscriptions on Payfast, you will find them under Transactions > Ad hoc agreements drop-down on your Payfast Dashboard.

Please note: Payfast does not manage the subscriptions through WooCommerce. The subscriptions are created in WooCommerce, which then uses the tokenized billing service with Payfast to allow for recurring billing (also known as ad hoc agreements).

Integration Support

This module was developed by WooCommerce, so please visit their website for integration support regarding code errors and development.

To manage payment notification issues, please ensure that logging is enabled on the plugin settings on WooCommerce. Select the Enable Logging checkbox and click Save. This will allow us to review your debug log files saved on your server.


    • Related Articles

    • Why are there no WooCommerce subscriptions showing on Payfast?

      To see your WooCommerce Subscriptions on Payfast, you will find them under “Ad hoc agreements”. WooCommerce Subscriptions does not make use of Payfast's Subscriptions, but rather uses our tokenized billing (also known as ad hoc agreements), and ...
    • How do I integrate PayFast with UberCart?

      To integrate PayFast with UberCart, do the following: Download the PayFast module and extract the uc_payfast folder from the zip folder. Move or copy the folder called ”uc_payfast” into your /modules/ubercart/payment directory. Log in to the admin ...
    • How do I integrate Payfast with Ecwid?

      To integrate Payfast with Ecwid, do the following: Log in to your Ecwid account. Navigate to Settings > Payment. Next to Credit or debit card click Choose payment processor. Select Credit card: Payfast. Enter your Payfast Merchant ID, Merchant Key ...
    • Does Payfast integrate with a Wix website?

      Unfortunately at this time Payfast doesn’t integrate directly with Wix, but there are ways around this. If you need a shopping cart system on your Wix website you can use Ecwid. Ecwid provides shopping cart functionality to platforms like WordPress, ...
    • How do I integrate PayFast with Events Manager Pro?

      You’ll need a working installation of WordPress with Events Manager Pro before you can integrate with PayFast. Kindly see their website for more information. To install the PayFast module, do the following: Download the PayFast plugin. Upload the ...