To enable subscription payments and tokenization on your Payfast Dashboard, do the following:
Log in to your Payfast account.
Navigate to Settings > Developer Settings.
Under Security Passphrase, add your security passphrase and click Save.
Adding a security passphrase will enable subscriptions automatically for your account.
Following this, you can also enable tokenization for your account by navigating to Settings > Recurring Billing.
Next to Enable Tokenization, toggle the option to Enabled.
Click the box that you accept the Terms and Conditions for Payfast recurring billing.
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.
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.
Please note: Pay now buttons are available for subscriptions.
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.
Please note: Payment Requests are available for subscriptions.