How to setup Paystack on ResellerClub

Edited 5 months ago

ResellerClub is a popular Content Management System (CMS) that caters specifically to the needs of resellers in the web hosting and domain industry. The platform's robust features, including domain registration, hosting plans, and white-label solutions, make it an excellent choice for individuals and businesses looking to enter or expand in the web hosting market.

The ResellerClub plugin allows you to integrate Paystack with the ResellerClub Hosting platform. It's a simple plugin you can embed into your PHP or ASP site to receive payments.

Setting up your ResellerClub plugin

  1. Open your ResellerClub dashboard. Go to Settings -> Finance & Billing -> Payment Gateway.

    file-cjipi5Huq4.png

  2. Click 'Add A Gateway'.

    file-UxYqivRdUu.png

  3. Scroll to the bottom of the page and click 'Add It Now'.

    file-TuRgtjJzCq.png

  4. You’ll be redirected to a page where you need to fill in the Gateway URL and the Gateway Name fields. You can put any random string in the Gateway URL field, but in the Gateway Name field, kindly fill in ‘Payments by Paystack.’ You can leave other fields as they are unless you need to change them according to your preferences.

    file-5enwyA8Z0v.png

  5. Kindly note down the Key that has been generated for the Payment Gateway, as shown in the image below:

    file-VmDqRSvCbw.png

  6. Download the plugin here and extract the zip file to your local computer. You should see the folder structure below. Depending on your platform, you can use any of the folders you wish. The setup works similarly, but we’ll continue with the PHP folder.

    file-Mlu9FeAQwF.png

  7. Open the PHP folder and the settings.php file in any compatible text editor. Copy the key from step five above into the $hostkey field and your Paystack API Secret Key into the $paystack_secretkey field.
    You can get your Test and Live API Secret Keys from the Settings page on your Paystack Dashboard.

    file-mWBogBIa0u.png

  8. Copy the PHP folder to the root directory of your server and rename it as Paystack.

  9. Go back to step four above and change the value of the Gateway URL to:

 <enter domain address here>/paystack/pay.php 

For example, https://mydomain.com/paystack/pay.php. 

If you encounter any issues while integrating the plugin, please reach out to us at techsupport@paystack.com or via our contact form.