Magento 2 NatWest Tyl Payments

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. Natwest Tyl Payment Method in Frontend
  4. NatWest Tyl Payment Details in Sales Order View 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-natwest-tyl-payments --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_Natwest --ignore-platform-reqs
          • By default, the extension is probably disabled.
          • Enable the extension and clear static view files:
      • php bin/magento module:enable Meetanshi_Natwest --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 à Tyl by NatWest Payment – Meetanshi, where you can find various settings to enable the extension.

 

  • Enabled: Enable NatWest Tyl payment method from here.
  • Title: Enter title for the NatWest Tyl payment method to show in the frontend.
  • Show NatWest Logo: Select YES to show NatWest logo on the checkout page in frontend.
  • Sandbox Mode: Set YES to enable sandbox mode for the payment gateway.
  • Store ID/Name: Enter the store ID/name received while registration with Tyl by NatWest.
  • Shared Secret Key: Enter the shared secret key received while registration with Tyl by NatWest.
  • Allow Auto Invoice: Set YES to auto generate invoice for the orders placed through NatWest Tyl payment method.
  • Payment Page Language: Set language for the payment page.
  • Gateway URL: Enter the gateway URL.
  • Payment from Applicable Countries: Select all or selected countries to allow payments using NatWest Tyl.
  • Payment from Selected Countries: If you have set selected countries from the above option, select the countries to allow payments using NatWest Tyl.
  • Additional Information: Enter additional information to show on the checkout page in the frontend.
  • Sort Order: Enter sort order of the NatWest Tyl payment method.

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

  • On the NatWest Tyl hosted payment page, select the payment method, add card details and click Continue to proceed to successful payment.

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

  1. NatWest Tyl Payment Details in Sales Order View Backend
    Apart from the customer’s My Account section, the admin can also see NatWest Tyl payment details from the Sales à Orders à Order View section in the backend.