Magento 2 Paya Exchange Virtual Desktop

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. Paya Exchange Virtual Desktop Payment Method in Frontend
  4. Paya Exchange Virtual Desktop Payment Details in Sales Order View Backend
  5. Refund Online for Paya Exchange Virtual Desktop Orders
  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-paya-exchange-virtual-desktop --ignore-platform-reqs
    • 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_Payavirtual --ignore-platform-reqs
          • By default, the extension is probably disabled.
          • Enable the extension and clear static view files:
      • php bin/magento module:enable Meetanshi_Payavirtual --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
    To configure the extension, login to Magento 2, move to Stores à Configuration à Sales à Payment Methods à Paya Virtual Payment – Meetanshi where you can find various settings to configure the extension.
  • Enabled: Enable Paya Exchange Virtual Desktop payment method from here.
  • Vault Enabled: Set YES to enable vault to allow customers save cards for future transactions.

Basic Settings:

  • Title: Enter title for the Paya Exchange Virtual Desktop payment method to show in the frontend.
  • Show Paya Logo: Select YES to show Paya logo on the checkout page in frontend.
  • Payment Action: Select one of the payment actions for the payment capture.
    • Authorize: Authorizes and validates card for the order amount. The admin has to manually capture the amount (by generating invoice using “Capture Online” option) within the authorization hold period which is 7 days for Paya Exchange Virtual Desktop Payment.
    • Authorize and Capture: Authorizes and captures the order amount immediately.
  • Sandbox Mode: Set YES to enable sandbox mode for the payment gateway.
  • Merchant ID: Enter the merchant ID provided by Paya Exchange Virtual Desktop while registration.
  • Merchant Key: Enter the merchant key provided by Paya Exchange Virtual Desktop while registration.

Advanced Settings:

  • Vault Title: Enter the vault title to show in the email to customers.
  • New Order Status: Set status for the new orders placed through Paya Exchange Virtual Desktop method.
  • Debug: Select YES to enable debug.
  • Instructions: Enter instructions to show on the checkout page in the frontend.
  • Minimum Order Total: Enter minimum order total to allow use of the payment method.
  • Maximum Order Total: Enter maximum order total to allow use of the payment method.
  • Sort Order: Enter sort order of the payment method.

Country Specific Settings:

  • Payment from Applicable Countries: Select all or selected countries to allow payments using Paya Exchange Virtual Desktop payment.
  • Payment from Selected Countries: If you have set selected countries from the above option, select the countries to allow payments using Paya Exchange Virtual Desktop payment.

 

 

  1. Paya Exchange Virtual Desktop Payment Method in Frontend
    Once the extension is configured, the Paya Exchange Virtual Desktop payment method can be seen enabled in the frontend. Simply add products to cart and go to the checkout, select the payment method, click “Place Order” button to get redirected to the Paya Exchange Virtual Desktop hosted payment page to complete the payment and place order successfully.

  • On Paya Exchange Virtual Desktop hosted payment page, add card details and click “Pay Now” to complete the payment and place the order successfully.

  • Paya Exchange Virtual Desktop Payment Details in Customer’s My Account Section
    Immediately after the order is placed, the Paya Exchange Virtual Desktop payment details can be seen in My Orders > Order View under the customer’s “My Account” section.

  • Paya Exchange Virtual Desktop Payment Stored Cards
    If the vault is enabled and the customers have ticked the box from the checkout page to save the cards for the future transactions, they can see stored cards in their My Account section under “Stored Payment Methods” tab.

  • New Order Placement using Stored Cards
    If the vault is enabled and the customer has ticked the box from the checkout page to save the card for the future transactions, he can use the stored card to pay for the new order in future.

 

  1. Paya Exchange Virtual Desktop Payment Details in Order View Backend
    Apart from the customer’s My Account section, the admin can see Paya Exchange Virtual Desktop payment details from the Sales à Orders à Order View section in the backend.

  1. Refund Online for Paya Exchange Virtual Desktop Orders
    If the customer initiates refund, admin can refund online for Paya Exchange Virtual Desktop orders from invoice as shown in the below image.