How do I enable recurring payments on my website?

How do I enable recurring payments on my website?

To enable subscription payments and tokenization on your PayFast Dashboard, do the following:

  1. Log in to your PayFast account.

  2. Navigate to Settings > Developer Settings.

  3. Under Security Passphrase, add your security passphrase and click Save.

  4. Adding a security passphrase will enable subscriptions automatically for your account.

  5. Following this, you can also enable tokenization for your account by navigating to Settings > Recurring Billing.

  6. Next to Enable Tokenization, toggle the option to Enabled.

  7. Click the box that you accept the Terms and Conditions for PayFast recurring billing.

  8. Click Save.

There are a number of ways that you can accept recurring payments on your website, which are outlined below. 


Ecommerce platforms and plugins


Once you have enabled recurring payments on your PayFast account, you can set up subscriptions on your website with a plugin that supports recurring payment setup via PayFast.

You can view how to set up subscriptions on Shopify here or WooCommerce-hosted subscriptions here.

To view a list of plugins that support recurring payments on PayFast, please refer to our shopping carts page and filter by Recurring Enabled on the left-hand menu. Due to specific integration requirements, ad hoc payments (tokenization) are not available via some of these plugins.

Please note: If you are using an ecommerce system that supports recurring payments with PayFast, ensure that you are using the latest version of the PayFast plugin.

Pay Now Button


One of the easiest ways to create a subscription is to use a Pay Now button to put on your website. When your customers click this button, they are redirected to PayFast to securely enter their card information and create a recurring subscription.

On your account, navigate to ‘Generate Pay Now Button’ in your settings and simply fill in the necessary fields, ensuring that the subscription fields are populated. Click Generate Pay Now Code/Link and copy this code onto your website or email.

For instructions on how to create a subscription using a Pay Now button, read this article.  

Please note: Pay now buttons are available for subscriptions. For Ad-hoc/tokenization card payments please see here

Payment Request


An easy way to create a subscription is to send a Payment Request directly to your customer’s email address via your PayFast Dashboard. Simply fill in the required fields and PayFast will send an email on your behalf to your customer. Once your customer clicks the payment button in the email, they are redirected to PayFast to securely enter their card information and create a recurring subscription.

For instructions on how to create a subscription using a Payment Request, read this article

Please note: Payment Requests are available for subscriptions. For Ad-hoc/tokenization card payments please see here

    • Related Articles

    • How do I enable subscription payments with WooCommerce?

      PayFast works with the 3rd party WooCommerce Subscriptions plugin to allow you to receive recurring payments. Please note that WooCommerce charges $199 annually for their Subscriptions plugin. Using this setup, your customer enters their card details ...
    • Is 3D Secure required for recurring billing?

      As with all card payments, full authentication including 3D secure is required when setting up recurring billing. 3D secure is only required for the initial payment in recurring billing setups to authorise the entire card agreement or subscription. ...
    • How do I create a subscription using a Payment Request?

      To set up a subscription easily and quickly without needing a website, you can send a payment request directly to your buyer using their email address by doing the following: Log in to your PayFast account. Navigate to Payment Request > Send Payment ...
    • How do I create a subscription using a Pay Now button?

      To create a subscription using a Pay Now Button on your website, do the following: Log in to your PayFast account. Navigate to Settings > Generate “Pay Now” Buttons. Under ‘Text on button’, select ‘Subscribe Now’ from the drop-down list . Customize ...
    • How can I test recurring functionality?

      You will be able to test recurring payments with the Sandbox facility. For more information on how you can test using the Sandbox please refer to our developer's documentation here.