Pesapal.com

Magento Pesapal Plugin

STEP 1: Install the Plugin

  1. Copy the Pesapal folder into to app/code directory
  2. Run the magento setup upgrade function:  bin/magento setup:upgrade

STEP 2: Setup plugin and complete Configurations

Once you have done this, you need to follow these steps to get it working:

  1. 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. You can also create a demo account at demo.pesapal.com which is used for test transactions.

  2. Log into your Magento admin and Clear your cache

    Go to System -> Configuration -> Sales -> Payment Methods and you will see. "Pesapal Express"

  3. Setting configurations.

    Set Enabled - YES.

    Test API - NO (if you set this to yes, this means you are using our demo Pesapal API. You will have to open an account on https://demo.pesapal.com and get the demo consumer keys and secret)
    Enter the Consumer Key & Consumer Secret - You should have received this from the pesapal registration mail . If you lose this, login to your pesapal merchant account at the bottom of the dashboard to find them.

    Note, if you are using DEMO API, get these Keys from your merchant dashboard since pesapal sandbox doesn't not support mailing.

    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.

  4. Save configurations

STEP 3: SETTING UP IPN

  1. Login to your pesapal account.
  2. From the left menu, select Account Settings >> IPN Settings
    1. Add your domain e.g. http://www.mywebsitename.com/
    2. Add IPN URL link http://www.mywebsitename.com/pesapalexpress/payment/ipn

   
  In case you have any questions, suggestions or feedback, kindly share in our forum

Is this article helpful?