Paystack WooCommerce plugin allows you to receive payment on your WooCommerce store using Paystack.
To get started, download and install the plugin. Please follow this link to the plugin page to download the plugin and follow the instructions on the page to install the plugin. Please be sure to activate the plugin when you have installed it.
Install WooCommerce before Paystack
Please ensure you have installed the WooCommerce plugin on your WordPress site before installing the Paystack WooCommerce plugin. The Paystack WooCommerce plugin cannot work without WooCommerce.
After you have installed the plugin, you need to go to the WooCommerce Plugin Settings on the menu tab of your WordPress site and click the Checkout tab. This will show a tab containing all the Payment options on your site. If you have installed the plugin correctly, you should see Paystack on that list. This is where you can configure the Paystack Plugin.
Paystack WooCommerce Plugin Settings
Here we will discuss all the settings you'll find in your Paystack WooCommerce Plugin and how they should be set in order for your plugin to function properly.
Enable Paystack: Ensure that the Enable Paystack checkbox is checked so that Paystack can show up on the list of Payment options during checkout
Title: This is the title that will represent Paystack on your list of Payment options during checkout. This title will guide users to know which of the options they should select in order to pay with Paystack. The current default is Debit/Credit Cards.
Description: Similar to Title, this explains the Paystack payment option to the user.
Test Mode: Paystack provides test parameters that allows you simulate a transaction without using real money. If you check enable, 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.
If you check to enable test mode, ensure that you have your test API keys, if not, make sure the live API keys are properly entered. If you don't do these, Paystack will not show in your list of Plugins
Payment Page: Please select Inline as Inline Embed is no longer supported and will be subsequently removed in the coming versions.
- API keys: Kindly follow this link to your Paystack Dashboard Settings to find your API keys. Copy the right keys and enter them in the right fields in the plugin settings.
Also, there is a URL, displayed in red, on the setup page. Copy this URL and save it as your webhook URL on your Paystack Dashboard Settings, under the API Keys & Webhook tab.
How to get your Test and Live API keys
There are 2 states on your dashboard: Live Mode and Test Mode. You'll see the Test Mode/Live Mode toggle on the top right corner of your dashboard.
If there is no toggle and it's just Test Mode, this means that your Paystack account has not been activated. Please follow this link to activate your account
When you go to the Settings Page to get your API keys, please note the mode that your dashboard is in, as that will determine the keys that will be displayed. So if the dashboard is on Test Mode, you can only see the Test API keys and vice versa. To see the other Keys, switch the toggle from one mode to another.
Paystack on Checkout
If all the settings above are done right, you should find Paystack in the list of enabled payment options on your checkout page.
If you do not find Paystack on the Payment method options, please go through the settings again and make sure that:
- You checked "Enable Paystack"
- You entered the API Keys correctly