Skip to content

Paystack payment plugin for the PayPerDownload component of Joomla!

License

Notifications You must be signed in to change notification settings

Daydah/paystackpay

Repository files navigation

PaystackPay

This is the payment plugin that integrates PayPerDownload component of Joomla! with Paystack payment gateway.

What is PayPerDownload?

With Pay per Download component you can control access to resources on your site based on users’ membership. You can have different types of memberships, with different levels, prices and expiration dates.

  • Read about the component here.
  • Review their JED listing 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 its free to sign up too! Join now.

Requirements

  • An account with Paystack.com. Sign up here.
  • A Joomla! 3 website (of course).
  • PayPerDownload component installed on the site. You can download the component here.

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.
  • Open the PPD component configuration by going to Components > Pay Per Download > Configuration.
  • On the "Gateway Settings" tab, set "Use PayPal" to NO, "Use Payment Gateway Plugin" to YES.

Current Constraints

  • Nigerian NGN currency code is not in the PPD component by default. I had to add Currency Code manually to PPD (see how to here ). I had to also add a field for capturing currency code in the payment plugin because of this. I hope I can remove the field in later versions.