How to set up Paystack on Drupal - Ubercart

Edited

The Drupal - Ubercart plugin is a powerful combination that seamlessly integrates within the Drupal Content Management System, offering a robust e-commerce solution. It suits various online businesses, from small-scale ventures to more extensive e-commerce operations.

You will need to find a Paystack module for your Drupal site to get started. We currently have Paystack modules for Ubercart and Drupal Commerce. We will discuss the Paystack Ubercart module, but the process is similar to other Drupal plugins.

Setting up your Drupal - Ubercart plugin

  1. Follow this link to download the Paystack module from Github. Click on the Code button and download the Zip in the displayed pop-up.

  1. On your Drupal site dashboard, click on the Module menu and 'Install New Module' on the menu Modules page. 

  1. Upload the Paystack Ubercart Module you downloaded to your site and click 'Install'.

After installing the Paystack module, you must set up a plugin to receive payment with Paystack. On your Drupal Dashboard menu, click on Store. In the Configuration section, click on Payment Methods. This will show the list of Payment methods enabled in your module list. Make sure that Paystack is checked. If you don't find Paystack on this list, return to the Module list and make sure that Paystack is appropriately installed and enabled.

  1. Click on the settings link on the Paystack option to configure the module. Copy and paste your API keys and click 'Save'. You can get your Test and Live API Keys from the Settings page on your Paystack Dashboard.

Under 'Annotations will be deleted', you will see two options: Live and Test. If you select Test, Paystack will be using your Test API keys to parse the payments, meaning that the orders processed then will be done with test cards, no real money is exchanged therefore no real value should be delivered. Select the Live option when you are ready to start receiving accurate payments.

  1. Finally, you'll need to confirm your currency settings. Go to the configuration section of your Drupal dashboard menu and click Store. Then click on the currency tab and change the currency setting to the relevant currency for your country.

You should see Paystack in the payment options on your checkout page if you update all the settings correctly, as shown below:

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