Magento 2 Sage Pay Form Payments

Magento 2 Sage Pay Integration seamlessly integrates Europe's leading Payment Service Provider to capture secure and flexible payments using a hosted payment form.

 

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. Sage Pay Form Payments in Frontend
  4. Sage Pay Form Payments in the Backend
  5. Sage Pay Form Payment Details in Order Email

 

  1. Extension Installation
  • 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
  • That’s it.

 

  1. Configuration
    For configuring the extension, log in to Magento 2, move to Sales > Payments Method 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.
  • Sandbox mode: Set “YES” to enable the sandbox mode for testing purpose.
  • Vendor Name: Add vendor name received while registration with Sage Pay Gateway.
  • Form Integration Encryption Password: Add live API password received while registration with eWay Gateway.
    Login to Sage Pay admin panel and go to Administrator and you will find Vendor name and Form Integration Encryption Password.

 


 

  • Allow Gift Aid: Gift Aid is an income tax relief designed to benefit charities and Community Amateur Sports Clubs (CASCs). If you’re a UK taxpayer, Gift Aid increases the value of your charity donations by 25%. You can set YES to enable gift aid.
  • Apply Address Verification Status/Card Verification Value: Select the value for verification status.
  • Apply 3D Secure: Set value to enable 3D secure.
  • Additional Information: Add any HTML code to show additional information related to the payment method on the cart page.
  • Sort Order: Enter Sort Order for the payment method display.


  

  1. Sage Pay Form Payments in Frontend
    Once the extension is configured properly, Sage Pay Form payment method can be seen enabled in the frontend.
  • Sage Pay payment method on the cart page
    Whenever customers add a product to cart, they can select Sage Pay Form payment method. required to enter the credit card details to proceed the payments. Click “Place Order” button to finish payment and place order successfully.


  

  • Redirection to Sage Pay gateway
    On click of “Continue to Payment” button on cart page, customers get redirected to Sage Pay payment gateway to select card type.


 

  • Enter Card Details
    After the card type selection, they need to add the card details and proceed.


  

 

  • Confirm Card Details
    Once the card details are entered, confirm and click to pay.


 

  • Sage Pay Payment method in My Account Section
    Once the order is placed, all the order and payment related details can be seen in the customer’s My Account section under My Orders tab.

  

 

  1. Sage Pay Form Payments in the Backend
    Once the order is placed from frontend using Sage Pay payment method, the details of the transaction can be seen in order view backend.


  

  1. Sage Pay Form Payment Details in Order Email
    Apart from the order view, all the order and Sage Pay payment related details are sent to customers through order Email.