Magento 2 Orange Money for Cameroon

Magento 2 Orange Money Payments extension integrates Magento 2 with Orange money web payment service for secure and smooth online payments in the store!

 

Table of Content

  1. Extension Installation
  2. Payment Gateway Configuration
  3. Configuration
  4. Orange Money for Cameroon Payment Method in Frontend
  5. Orange Money Cameroon Payment Details in Backend

 

  1. Extension Installation
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Log in 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
  • That’s it.
     
  1. Payment Gateway Configuration
    Make sure to follow the payment gateway configuration steps mentioned at https://developer.orange.com/apis/om-webpay to create a new app, get the app approved, get the merchant key and authorization header.

 

  1. Configuration
    To Configure the extension, login to Magento 2, move to Sales > Payment Methods > Orange Money Cameroon - Meetanshi where you can find various settings to enable the extension.
  • Enabled: Set “YES” to enable the payment method.
  • Title: Set the title for the payment method to be displayed in the frontend.
  • Show Orange Money Logo: Set YES to show Orange Money logo along with the payment method in the frontend.
  • Sandbox Mode: Select YES to enable the sandbox mode.
  • Merchant Key: Enter the merchant key provided by Orange Money while registration.
  • Authorization Header: Enter the authorization header provided by Orange Money while registration.
  • Payment from Applicable Countries: Select countries to allow using this payment method.
  • Additional Information: Add additional information to show along with the payment method on the checkout page.
  • Sort Order: Enter the Sort Order of the payment method display in the frontend.


  

 

  1. Orange Money for Cameroon Payment Method in Frontend
    Once the payment method is configured, Orange Money Payment method is shown on the frontend while checking out the products. Just select the payment method, click “Continue to Payment” to get redirected to the payment page and complete the payment.


  

  • Completing the Payment
    Once the customer gets redirected to the payment gateway, he can see the order number and order amount. He enters the mobile number and calls on #150*4*4# to get the authorization code and proceed to pay.


  

  • Payment Confirmation
    Once the payment is confirmed, the payment gateway shows a payment confirmation message.


 

  • Orange Money Payment Details in “My Account” section
    Once the order is placed, the Orange Money payment details are shown in the Account dashboard, in “My Orders” tab. The Payment details include the status and transaction ID along with the payment method name.


  

  1. Orange Money Cameroon Payment Details in Backend
    Apart from the customers, admin can also see the payment details for the orders in the backend. Go to Sales > Orders, select the order, and you can see Orange Money payment details along with the details like payment method name, status and transaction ID.