Magento 2 ZamPay

Magento 2 ZamPay integrates Magento 2 store with Zambia's well known Zampay payment service by Zamtel to allow customers to securely pay online using their mobile phones.

 

Table of Content

  1. Extension Installation
  2. Configuration
  3. ZamPay Method in Frontend
  4. ZamPay Details in Backend

 

  1. Extension Installation
    • For Magento Marketplace Customers
      • Create a folder structure in Magento root as app/code/Meetanshi/Zampay
      • Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/Zampay via FTP.
      • Login to your SSH and run below commands step by step:
    • php bin/magento setup:upgrade
    • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
    • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
    • php bin/magento cache:flush

 

    • For Meetanshi Customers
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
    • php bin/magento setup:upgrade
    • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
    • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
    • php bin/magento cache:flush

 

  1. Configuration
    To configure the extension, login to Magento 2, move to Sales à  Payment Methods à  ZamPay - Meetanshi where you can find various settings to enable the extension.
  • Enabled: Set “YES” to enable the ZamPay method.
  • Title: Set the title for the payment method to be displayed in the frontend.
  • Show ZamPay Logo: Set YES to show ZamPay logo along with the payment method in the frontend.
  • Sandbox Mode: Select YES to enable the sandbox mode.
  • Third Party ID: Enter the third-party ID provided by ZamPay gateway while registration.
  • Password: Enter the password provided by ZamPay gateway while registration.
  • URL for Request Payment: Enter payment request URL –
  • Receiver Party Identifier: Enter receiver party identifier provided by ZamPay gateway while registration.
  • Debug: Select YES to enable debug.
  • Payment from Applicable Countries: Select countries to allow using this payment method.
  • Instructions: Add instructions to show on the checkout page along with the payment method.
  • Sort Order: Enter Sort Order of the payment method display in the frontend.

 

 

  1. ZamPay Method in Frontend
    Once the payment method is configured, the customer has added products to the cart and moved to the checkout page, the customer can select the ZamPay method and add the ZamPay phone number. Once the customer clicks on the “Place Order” button, he receives the notification in the phone, he enters the PIN to complete the payment.  

 

  • ZamPay Details in “My Account” section
    Once the order is placed, the customer can see ZamPay payment details in the Account dashboard, in the “My Orders” tab.

 

  1. ZamPay Details in Backend
    Apart from the customers, admin can also see the payment details for the orders in the backend. Go to Sales à  Orders and you can see ZamPay details under a particular order.