How to set up Paystack on WooCommerce
Paystack WooCommerce plugin allows you to receive Payment on your WooCommerce store using Paystack.
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.
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
- 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.
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