How do I enable subscription payments with Shopify?

How do I enable subscription payments with Shopify?

Setting up Recurring Billing

Please note: Once you have enabled Recurring Billing for Shopify you will need to set up your subscription products on Shopify using either the Variations method or the SKU method

1. Setup recurring billing on your PayFast account:

  • Log in to your PayFast account and click Settings > Integration.
  • Click Enable next to Recurring Billing, then check Enable and click Update (do not set a notify URL).

2. On the Settings > Integration page, click Enable next to Recurring Billing – Shopify.
3. Check Enable Shopify Recurring Billing.
4. Enter your full shop URL in the Shopify Store URL field, being careful not to include a forward slash at the end of the URL i.e. no character at the end like this: /

5. You will be redirected to Shopify to allow the PayFast Recurring Application to interact with your store.
6. Enter your login details to log in to your store.

7. Grant Permission to the Subscription Application by clicking the Install app button.

8. You will be directed back to PayFast and should be presented with a notification that your changes were saved successfully. You should also see a Shopify Store Token that has been assigned to your account.


You can now setup your recurring billing on your products, based on either the Variations Method, or the SKU Method. The instructions are outlined below.

Shopify Product Setup – via Variations

1. Create a new Shopify product.

2. Add a product variant and its period (you may name this field whatever you would like, you can also have a single option).

3. Add a second option for the number of times to repeat the period that has just been added.

4. Fill in the recurring amount per option. You can disable certain items if you do not want them.

5. You are then able to view the product on your website.

Shopify Product Setup – via Barcode/SKU fields

1. Products can also be created without variants by defining the SKU or Barcode as follows:

  • Enter a barcode or SKU in the following manner:
    • PF-MYREFERENCE-3-12-15000
  • This is defined as follows:
    • PF = Indicate this is a recurring item
    • MYREFERENCE = User defined reference
    • The period
      • 3 – Monthly
      • 4 – Quarterly
      • 5 – Bi-Annually
      • 6 – Annually
    • 12 = the number of cycles required (input 0 for infinite cycles)
    • 15000 = The recurring amount to be charged in cents ZAR 150.00 (optional if different from price)
  • When configured as above any price set on the item will be the initial amount charged.
  • Optional: Allow for the recurring amount as follows:
    • PF-MYREF-3-12-15000-RSC
    • RSC stands for Recurring Shipping Charge. With RSC, the shipping charge due will be added to the recurring amount. If RSC is not set on the SKU, shipping will only be charged on initial checkout.

Note:

  • When setting up a subscription there is a limit of 1 item per checkout (you can make use of an OrderLogic group if you would like to).
  • Once created, the subscription is managed via your PayFast account, not Shopify.

    • Related Articles

    • How do I enable recurring payments on my website?

      There are a number of ways that you can accept recurring payments on your website, which are outlined below. Subscriptions New Dashboard To enable subscription payments on your PayFast Dashboard, do the following: Log in to your PayFast account. ...
    • How do I enable subscription payments with WooCommerce?

      PayFast works with WooCommerce Subscriptions. You can configure a simple or variable subscription product as described in the extension’s documentation. New PayFast Dashboard To ensure that WooCommerce Subscriptions works with PayFast please, ensure ...
    • How do I create a subscription using a Payment Request?

      New PayFast Dashboard  To create a subscription using a Payment Request, do the following: Log in to your PayFast account. Navigate to Payment Request > Send Payment Request. Under “What service type is the payment request for?” select Subscription. ...
    • What platforms support subscriptions?

      Our Subscriptions feature is supported by a number of PayFast supported plugins that may be downloaded from our website. To locate a list of platforms that support subscription payments, navigate to our shopping carts page and from the left-hand menu ...
    • How can I edit a subscription?

      As a merchant, you can edit the following details on your customer’s subscription: The amount for the subscription The number of cycles for the subscription The next payment date of the subscription The frequency of the subscription New PayFast ...