Magento Installation Guide
STEP 1: Install the Plugin
- Copy the Pesapal folder into to app/code directory
- Run the magento setup upgrade function: bin/magento setup:upgrade
Should the upgrade function fail, click
here for a possible solution.
STEP 2: Setup plugin and complete Configurations
Once you have done this, you need to follow these steps to get it working:
- Create a merchant account (Business account) at https://www.pesapal.com.
After registration, Pesapal will send you an email with you consumer keys and consumer secret needed to use on the website.
- Log into your Magento admin and Clear your cache
Go to System or Stores -> Configuration -> Sales -> Payment Methods and you will see. "Pesapal Express"
-
Set your configurations as below;
- Enabled: YES.
- Test API: NO (If you set this to yes, this means you are using our demo Pesapal API. You will have to use our demo consumer keys and secret available here: https://developer.pesapal.com/api3-demo-keys.txt)
- Consumer Key & Consumer Secret: You should have received this from the pesapal registration mail . If you lose this, login to your Pesapal merchant account, scroll to the bottom of the dashboard to find them.
- New order status: This is the default order status set when a user selects pesapal to "processing". All orders with this status mean the user created an order but pending the payment.
- Save configurations