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 set up and manage recurring billing on WHMCS?

      Complete the following steps to set up and manage recurring billing on WHMCS. On your PayFast account, do the following: Log in to your PayFast account and navigate to Settings > Integration. Click Enable or Edit next to Recurring Billing and enable ...
    • How do I integrate PayFast with Shopify?

      To integrate PayFast with Shopify, do the following: Log in to your Shopify Store. Navigate to Settings. Under Third-party payment providers select PayFast and enter your PayFast Merchant ID and Key. To run PayFast in test/sandbox mode, select Use ...
    • How do I test WooCommerce in sandbox mode?

      To allow for testing recurring payments, as well as order updates, do the following: On WordPress, navigate to WooCommerce > Settings > Payments > PayFast. Enter the following sandbox credentials on the Configuration page: Merchant ID: 10004002 ...
    • How do I set up recurring billing on OpenCart?

      To set up recurring billing on OpenCart, do the following: The instructions for integration must be completed first, before setting up recurring billing. Log in to your PayFast Dashboard and navigate to Settings > Integration. Click Enable or Edit ...