Paystack WooCommerce plugin allows you to receive payment on your WooCommerce store using Paystack.
The first step would be to install the WooCommerce plugin. You can do this from the plugins page of your WordPress installation, or you can download it manually from this link and follow the instructions on the page to install the plugin
After you have installed the WooCommerce plugin, go to the Home page to see a setup wizard. This wizard guides you on setting up your WooCommerce-powered site easily.
Click on Set up Payments. This shows a list of pre-installed payment methods.
Click on the Set up button on the Paystack option. The wizard installs the payment option
After this, you need to go to the WooCommerce Plugin Settings on the menu tab of your WordPress site and click the Payments 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.
If for any reason, you'd rather not use the recommended method, here's an alternative method.
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.
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 Payments 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 to function properly for your plugin.
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 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 Option: You can either select "Popup" or "Redirect". The popup method displays the payment checkout as a popup on the page while the redirect method will redirect the customer to a page that will have the Paystack checkout for the customer to make payment.
- 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.
- Webhooks: 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