1

CPG Paystack Payment Plugin

Documentation for the Paystack plugin that integrates with the CPG framework

Daydah

Last Update setahun yang lalu

The Joomla Common Payments Paystack plugin (a.k.a CPG Paystack plugin) is the payment plugin that integrates What is Paystack? into the Common Payments Gateway network.

What is the Common Payments Gateway?

The Common Payments Gateway is an API created by TechJoomla to bridge the Payments gap for the whole of Joomla! ecosystem. You can read more here.

What is Paystack?

Paystack provides modern online and offline payments for Africa. Paystack helps businesses in Africa get paid by anyone, anywhere in the world. And it is free to sign up too! Join now.

Requirements

  1. An account with Paystack.com. Sign up here - it's free.
  2. A Joomla! 3 (or higher version) website.
  3. Your CPA-compatible component is installed on the site (a list of currently available ones is here).
  4.  Download the CPG Paystack plugin (buy here).
  5. For the plugin to work correctly, your server must have: PHP Version > 5.5.19, CURL_SSLVERSION_TLSv1_2 or later, defined as 6.
  6. Your currency must be specified as a code, not a symbol e.g. For Ghana, GHS not ₵.
  7. This plugin does not work for recurring payments (coming soon) so do not switch this on in Settings.

Installation

  • Download the plugin.
  • Log into the back end of your Joomla! site.
  • On the Control Panel page, click “Install Extensions” > “Upload Package File” OR from the top menu, click Extensions > Manage > Install > Upload Package File.

Setup

After successful installation, open the plugin by going to Extensions > Plugin, then searching for it.

  •  Fill all the fields in the plugin, publish it, and save.
  • Complete the setup by opening the CPA-compatible component’s configuration and selecting the CPG Paystack payment gateway plugin and switching it on.
  • Change currency to code, not a symbol.
  • Switch off recurring payments.

Testing Instructions

  • Set the Paystack payment plugin to “Test Mode” – ensure you have retrieved your test keys from your Paystack account and added and saved them to the plugin.
  • Visit the front end and make a test purchase or payment on your site.
  • The Test mode from Paystack allows you to select which outcome you want to test – Success, Failed, etc. This means you can test more than one scenario.
  • Don’t forget to switch to Live Mode when you are done.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us