mod_opencart_4

Copyright (c) 2023 PayFast (Pty) Ltd You (being anyone who is not PayFast (Pty) Ltd) may download and use this plugin / code in your own website in conjunction with a registered and active PayFast account. If your PayFast account is terminated for any reason, you may not use this plugin / code or part thereof. Except as expressly indicated in this licence, you may not use, copy, modify or distribute this plugin / code or part thereof in any way.

INTEGRATION:

  1. Download the module.

  2. Make sure the module is a zip file with a name payfast.ocmod.zip. If you downloaded a zip file, then you can just rename it to payfat.ocmod.zip. If you downloaded the raw code files or cloned the repository, then you can just zip it using any of your favorite compression software.

  3. Login to the admin section of your OpenCart installation, Go to Extensions > Installer and upload the zip file by clicking the button with the upload icon in the top right corner of your dashboard. image

    Then install the extension by clicking at the payfast install button. image

  4. Navigate to the Extensions > Payments page

  5. Scroll down to the PayFast.co.za payment method and click the “Install” button to install the module

  6. Once the module is installed, click on “Edit” button.

  7. The PayFast options will then be shown, select the payment status for “completed”, “failed” and “pending” payments, select the sandbox mode, enable the payment module and click “Save”.

  8. The module is now ready to be tested with the Sandbox. To test with the sandbox, use the following login credentials when redirected to the PayFast site:

  1. When you are ready to go live, add your PayFast merchant ID, Key and passphrase (if it is set on your account), and set sandbox to 'no'.
  2. Click save.
  3. For a recurring billing product, the initial payment amount will be that of the product price (setup under Catalog->Products) and shipping, the recurring amount will be the price set under 'Recurring Profile'.
  4. It is NOT possible to use the recurring trial period with OpenCart and PayFast for recurring products.
  5. OpenCart uses slightly different language to PayFast when it comes to recurring, due to this 'Cycle' in Recurring Profile MUST be set to 1. Duration is the number of payments (what PayFast refers to as cycles).
  6. It is only possible to use the 'Month' and 'Year' frequency with PayFast and OpenCart.
  7. In order to cancel a subscription you can log into your PayFast account and cancel the subscription.

Please see the URL below for all information concerning this module:

          https://www.payfast.co.za/shopping-carts/opencart/