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 testing your integration without the use of live currency, please follow our instructions for testing in 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

    • 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 ...
    • How do I set up recurring billing on Gravity Forms?

      To set up recurring billing on Gravity Forms, do the following:  To set up a subscription on a form, ensure that your form includes pricing fields for an initial amount and a recurring amount. On the form feed, select Subscription under Transaction ...
    • How do I enable recurring billing on Paid Memberships Pro?

      PayFast can accept monthly or annual subscriptions through Paid Memberships Pro. Please only set up memberships with once-off, monthly or annual subscriptions. To enable recurring billing on Paid Memberships Pro, do the following: On a Membership ...
    • 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 ...
    • Does the Xero integration support recurring billing?

      Unfortunately, our integration with Xero does not support recurring billing.