Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Updated: 11/12/2018 | By: Magenest | Email: [email protected] | Support Portalhttp://servicedesk.izysync.com/servicedesk/customer/portal/19

Table of Contents

 

...

Introduction

Magento 2 Sage Pay Payment extension is the most secured payment gateway in the UK.

Highlight Features 

  • Allow admins to integrate their SagePay account to their Magento stores.
  • Allow customers to checkout using credit card payment
  • Enable or disable the gateway.
  • Specify allowed credit card types and countries.
  • Specify minimum and maximum order amount.
  • Add a layer of security with 3D Secure Checkout.
  • Support multiple stores.
  • Integrate Save Card Function.
  • Customer can capture invoice up to quantity product that they desired.
  • Admins can easily check transaction history.
  • Admins can easily manage profiles in the backend.
  • Customers can also manage their profiles and cancel them if desired. 
  • Admin can create a credit memo for refunding.
  • Easily perform Gift Aid enabled in Sage Pay.
  • 3D Secure version 2 available in SagePay Direct Method (Learn more about 3D secure ver 2 in here).

...

 Your store should be running on Magento 2 version 2.1.x.; 2.2.x, 2.3.x

Tutorial Video

 

HTML
<iframe style="display: block;margin: auto;" width="560" height="315" src="https://www.youtube.com/embed/YPIJgfm0Ljg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

 

 


Configuration

Firstly, you have to configure the SagePay Payment Extension at Magento back end by clicking on going to Stores > Configuration > Sales > Payment Methods > SagePay Payment Gateway.

 

Sage Pay Global Config

Fill (plus) Fill in Vendor Name, Integration Key, Integration Password obtained from your SagePay credentials.

Image Added

(plus) In In our example, we use account and API of SagePay to implement transaction in test mode. You can obtain this by going to https://test.sagepay.com/mysagepay/transactions.msp

...

You can also turn on Ignore address check to skip the address and postcode check in test mode.

(plus) Vendor Name, User and Password: The credentials you got from Sage Pay in the above step.

(plus) Server domain: Fill  Fill in your site domain

(plus) Form Encryption Password: Obtained from SagePay. Go to to Settings > Administrators > Password Details


Image Modified

 

(plus) Apply 3D Secure with 4 options: Default, Force, Disable, Force & Ingore.

  • Default: Use Default My SagePay Settings.
  • Force: Apply authentication even if the 3D Secure is turned off.
  • Disable: Disable authentication and rules.
  • Force & Ignore: Apply authentication but ignore rules.

 

(plus) Apply AVS, CVC Check with 4 options: Default; Force; Disable; Force & Ingore.

  • Default: Use Default My SagePay Settings
  • Force: Apply authentication even if the AVS, CVC Check is turned off
  • Disable: Disable authentication and rules
  • Force & Ignore: Apply authentication but ignore rules

...

(plus) Send transaction email: There are 3 options

  • Do not send to neither either customer or vendor email: Will not send Sage Pay transactions to customers or vendors via emails.
  • Send customer and vendor transaction email: Will send Sage Pay transactions to both customers and vendors via emails.
  • Send vendor email but not customer email: Will send Sage Pay transactions to vendor emailvendor's email only.

(plus) Vendor Name, User and Password: The credentials you got from Sage Pay in the above step.

(plus) Payment language: The language of the payment page (English, French, German, Spanish, Portuguese, Dutch).

(plus) Payment Surcharge Fee: You can add the extra fee for a selected payment type (MasterCard, Visa Credit, Visa Debit, American Express, Diner's Club, Maestro, VISA Electron) . The fee could be defined as fixed price or percentage of the payment.

...

(plus) Enabled: Choose Yes to enable direct checkout for SagePay Payment.

(plus) Title: The title of the payment method displayed on the checkout page.

(plus) PI Integration Key & PI Integration Password: Obtained from your Sage Pay account. Click on Check API button to check whether the API is working or not.

 

(plus) Enable MOTO: Allow you to make payments in admin panel for customers buying through email or telephone.

...

(plus) Payment Action: You can choose between Authorize Only (Deferred) and Authorize and Capture (Payment).
  • Authorize Only: check for the card for validity but not charge the account yet until the order is approved and invoiced.
  • Authorize and Capture (Payment): charge the debit/credit card at the time of the order is placed.

...

  • Processing: The payment is made successfully and an order invoice is issued.
  • Suspected Fraud: No invoice is issued. 

 

(plus) Credit Card Types: You can choose which credit card types you want by choosing one or more items.

...

(plus) In addition, you can add/edit the Instructions to instruct customers how to do the payment.

(plus) Sort Order: The order of the payment method that will be displayed on the checkout page.

...

(plus) Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.

After finishing, click Save Configuration.


Integrate with Paypal

To (plus) To integrate SagePay Payment with your Paypal, please navigate to https://test.sagepay.com/mysagepay/transactions.msp.

On (plus) On the left menu column, choose Pay methods then add your Paypal account on the right in the Use Paypal Express Checkout with Sage Pay.

Please (plus) Please read these documents from SagePay for more details: 

...

In Sage Pay page, choose Users in the Settings, then create an user by clicking on the New user button. You will use this user account to link Paypal with your Sage Pay.

Sage Pay Form Integration/Paypal

(plus) Enabled: Enable Sage Pay Form with Paypal option.

(plus) Title: The title of the payment method displayed on the checkout page.

(plus) Payment Action: You can choose between Authorize Only (Deferred) and Authorize and Capture (Payment).

  • Authorize Only: check for the card for validity but not charge the account yet until the order is approved and invoiced.
  • Authorize and Capture (Payment): charge the debit/credit card at the time of the order is placed.

 


(plus) New Order Status: Processing, Suspected Fraud

  • Processing: The payment is made successfully and an order invoice is issued.
  • Suspected Fraud: No invoice is issued. 

...

(plus) Enabled: Enable Sage Pay Server.

(plus) Title: The title of the payment method displayed on the checkout page.

(plus) Payment Action: You can choose between Authorize Only (Deferred) and Authorize and Capture (Payment).

  • Authorize Only: check for the card for validity but not charge the account yet until the order is approved and invoiced.

...

(plus) New Order Status: Processing, Suspected Fraud

  • Processing: The payment is made successfully and an order invoice is issued.
  • Suspected Fraud: No invoice is issued. d

(plus)Payment from Applicable Countries: 

  • All allowed countries:  Enable all allowed countries to make payment.
  • Specific Countries: Restrict some countries by unselecting them from the Payment from Specific Countries.

(plus)Sort Order: The order of the payment method that will be displayed on the checkout page.

(plus)Minimum Order in Total: If the order value is less than this figure, the payment method will not be displayed on the checkout page.

(plus)Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.

 

Sage Pay Direct Integration

(plus) Enabled: Enable Sage Pay Direct Payment.

(plus) Title: The title of the payment method displayed on the checkout page.

(plus) Payment Action: You can choose between Authorize Only (Deferred) and Authorize and Capture (Payment).

  • Authorize Only: check for the card for validity but not charge the account yet until the order is approved and invoiced.
  • Authorize and Capture (Payment): charge the debit/credit card at the time of the order is placed.


(plus) New Order Status: Processing, Suspected Fraud

  • Processing: The payment is made successfully and an order invoice is issued.
  • Suspected Fraud: No invoice is issued. 

(plus)Payment from Applicable Countries: 

  • All allowed countries:  Enable all allowed countries to make payment.
  • Specific Countries: Restrict some countries by unselecting them from the Payment from Specific Countries.

(plus)Sort Order: The order of the payment method that will be displayed on the checkout page.

(plus)Minimum Order in Total: If the order value is less than this figure, the payment method will not be displayed on the checkout page.

(plus)Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.


Sage Pay PayPal

(plus) Enabled: Enable Sage Pay PayPal Payment.

(plus) Title: The title of the payment method displayed on the checkout page.

(plus) Payment Action: You can choose between Authorize Only (Deferred) and Authorize and Capture (Payment).

  • Authorize Only: check for the card for validity but not charge the account yet until the order is approved and invoiced.
  • Authorize and Capture (Payment): charge the debit/credit card at the time of the order is placed.


(plus) New Order Status: Processing, Suspected Fraud

  • Processing: The payment is made successfully and an order invoice is issued.
  • Suspected Fraud: No invoice is issued. 

(plus)Payment from Applicable Countries: 

  • All allowed countries:  Enable all allowed countries to make payment.
  • Specific Countries: Restrict some countries by unselecting them from the Payment from Specific Countries.

(plus)Sort Order: The order of the payment method that will be displayed on the checkout page.

(plus)Minimum Order in Total: If the order value is less than this figure, the payment method will not be displayed on the checkout page.

(plus)Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.

...

  • Mark the checkbox "My billing and shipping addresses are the same" if the shipping address and the billing address are not different.
  • If they are different, fill in the billing address then click "Update".

 

Customer fill The customer fills credit card information into the checkout form and clickclicks Place Order button. The system will process with Sage and return the result with the customer's order number. 

...

  • Mark the checkbox "My billing and shipping addresses are the same" if the shipping address and the billing address are not different.
  • If they are different, fill in the billing address then click "Update".

In this section, the customer will enter his/her credit card info into a drop-in that is more securedsecure.


 

Support 3D Secure

When customers use type of card provided with 3D secure mode. SagePay will turn on automatic mode to check. The operation will redirect to processing page:

...