Magento 2 MyUser Payments

Magento 2 MyUser Payments integrates Magento 2 and Myuser payment gateway for secure and quick payment processing in Magento 2 store.

Table of Contents

  1. Extension Installation Guide
  2. Configuration
  3. Myuser Payment Method in Frontend
  4. Myuser Payment Details in Order View Backend
  5. Refund Online for Myuser Order from Backend

 

  1. Extension Installation
    • For Magento Marketplace Customers
      • Find the Composer name and version of the extension in the extension’s composer.json file.
      • Login to your SSH and run:
      • composer require meetanshi/magento-2-myuser-payments
    • Enter your authentication keys. Your public key is your username; your private key is your password.
    • Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.
    • To verify that the extension installed properly, run the command:
      • php bin/magento module:status Meetanshi_Myuser
          • By default, the extension is probably disabled.
          • Enable the extension and clear static view files:
      • php bin/magento module:enable Meetanshi_Myuser --clear-static-content
      • 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
    For configuring the extension, login to Magento 2, move to Stores à Configuration à Sales à Payment Methods à MyUser Payments – Meetanshi where you can find various settings to enable the extension.
  • Enabled: Enable Myuser Payments extension from here.
  • Title: Enter title for the Myuser payment method to show in the frontend.
  • Show MyUser Logo: Select YES to show Myuser logo on the checkout page in frontend.
  • Sandbox Mode: Set YES to enable sandbox mode for the payment gateway.
  • Private Key: Enter the private key received while registration with Myuser.
  • Public Key: Enter the public key received while registration with Myuser.
  • New Order Status: Set status for the new orders placed through Myuser method.
  • Payment from Applicable Countries: Select all or selected countries to allow payments using Myuser.
  • Payment from Selected Countries: If you have set selected countries from the above option, select the countries to allow payments using Myuser.
  • Debug: Select YES to enable debug.
  • Instructions: Enter additional instructions to show on the checkout page in the frontend.
  • Minimum Order Total: Enter the minimum order total to allow the use of the payment method.
  • Maximum Order Total: Enter the maximum order total to allow the use of the payment method.
  • Sort Order: Enter sort order of the payment method.

  1. Myuser Payment Method in Frontend
    Once the extension is configured, it can be seen enabled in the frontend. Simply add products to cart and go to the checkout, you can see the Myuser Payment method enabled. Select the payment method, click “Place Order” button.

  • On click of “Place Order” button, a popup is opened where you have to enter the card details and click “submit” button to pay and place the order successfully.

  • Myuser Payment Details in My Account Section
    Immediately after the order is placed, the Myuser Payment details can be seen in order view tab under the customer’s My Account section.

  1. Myuser Payment Details in Order View Backend

Apart from the customer’s My Account section, the admin can also see Myuser payment details from the Sales à Orders à Order View section in the backend.

  1. Refund Online for Myuser Order from Backend

The extension is compatible with online refund through Myuser payment method. Admin can simply move to Sales > Invoices > View Invoice, click on “Credit Memo” button, while creating a new credit memo, click on “Refund” button to refund online through Myuser payment method for your order.