Magento 2 ANZ eGate Payment Gateway

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. ANZ Payment Method in Frontend
  4. ANZ Payment Details in Backend
  5. ANZ Payment Method for Backend Order

 

  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-anz-egate-payment-gateway --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_Anz --ignore-platform-reqs
          • By default, the extension is probably disabled.
          • Enable the extension and clear static view files:
      • php bin/magento module:enable Meetanshi_Anz --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 à ANZ eGate Payment Gateway (General Configuration), where you can find various settings to configure the extension. ANZ direct payment is where you need to provide an SSL secure page on website for buyers to enter credit card details and order details.

 

  • Enabled: Enable or disable ANZ direct (Merchant Hosted) payment method from here.
  • Debug: Select YES to enable debug.
  • Title: Enter title for the ANZ merchant hosted payment method to show in the frontend.
  • Show ANZ Logo: Set YES to show ANZ logo along with the payment method on the checkout page in the frontend.
  • Sandbox Mode: Select YES to enable the sandbox mode for testing purpose.
  • Merchant Access Code: Enter merchant access code provided by ANZ gateway while registration.
  • Merchant ID: Enter the merchant ID you have received from the ANZ payment gateway.
  • Secure Secret: Enter the secure secret you have received from the ANZ payment gateway.
  • AMA User: Enter the AMA user you have received from the ANZ payment gateway.

 

  • AMA Password: Enter the AMA password you have received from the ANZ payment gateway.

Note: Follow https://www.anz.com.au/content/dam/anzcomau/documents/pdf/egate-merchadmin-quickrefguide.pdf to get Merchant Access Code, Merchant ID, Secure secret, AMA user and ANZ password from the ANZ payment gateway.

  • Payment Action: Select one of the payment actions to capture payments.
  • New Order Status: Set the order status of the new orders placed using the ANZ merchant hosted payment method.
  • Credit Card Types: Select the credit card types to allow payment using the payment method.
  • Payment From Applicable Countries: Select countries to allow using ANZ payment method.
  • Instructions: Add instructions to show on the checkout page along with the payment method.
  • Minimum Order Total: Enter the minimum order total to allow using the ANZ payment method.
  • Maximum Order Total: Enter the maximum order total to allow using the ANZ payment method.
  • Sort Order: Enter the sort order of the payment method.

  1. ANZ Payment Method in Frontend
    Once the extension is configured and the direct payment method is enabled, customers can see the payment method in the frontend on the checkout page. They need to enter card details (use test card details from here) and click the “Place Order” button to successfully place the order.

  • ANZ Payment Details in “My Account” Section
    Once the order is placed successfully, customers can see the payment details in their “My Account” section.

 

  1. ANZ Payment Details in Backend
    Apart from the customers, admin can also see the payment details in the Sales à Orders à Order View section in the backend.

 

  1. ANZ Payment Method for Backend Order

Just as frontend, ANZ direct payment method also works with backend orders. Admin needs to create a new order and select ANZ payment method, add card details and click submit order to place an order from backend using the ANZ payment method.

 ​​​​​​​