How do I create a subscription using a Pay Now button?

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:


  1. Log in to your PayFast account.

  2. Navigate to Settings > Generate “Pay Now” Buttons.

  3. Under ‘Text on button’, select ‘Subscribe Now’ from the drop-down list .

  4. Customize the button colour scheme, button size and button shape to your liking.

  5. Under Button information, enter the item name / service and description.

  6. Enter the Amount. This is the initial amount that will be charged immediately when the subscription is set up.

  7. Optionally, enter the Return URL, Cancel URL and Notify URL if applicable. 

  8. Enter the Recurring Amount. This is the amount that will be charged on a recurring basis for the remaining cycles.

  9. Specify the number of subscription cycles. This is how many payments you would like the subscription to run for. Click the infinite box if the subscription does not have a finite duration. 

  10. Select the Frequency of the subscription payments. The available options are daily, weekly, monthly, quarterly, biannually and annually.

  11. Click Generate Pay Now code.

  12. ​Copy and embed the HTML code onto your website where you would like the button to be.


    • Related Articles

    • 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 enable recurring payments on my website?

      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 ...
    • 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 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.