Versions Compared

Key

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

...

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

 

(green star) In Global Config:

Fill in Vendor Name, Integration Key, Integration Password obtained from your SagePay credentials. (Click on Create API credentials)

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

(warning) Turn on Test Mode when you use test credentials. Choose the Live Mode Live Mode when you go live.

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

Image Added

(plus) Save Customer Card Token: Allow customers to save credit card token for future purchaseVendor Name, User and Password: The credentials you got from Sage Pay in the above step.

(plus) Allow Gift Aid: Allow customers to donate to charity. Note that this function only works if your Sage account is enabled for Gift Aid.

(plus) Vendor Reference Code: This will add to the unique reference of the customers' transactions. Doing this will help you recognize the source of the transactions in case you have multiple stores.

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

Server domain: Fill in your site domain

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


Image Added

(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

Image Removed 

(green star) In Sage Pay IP Integration 

(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) Integration Key & Integration Password: Obtained from you 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) User drop-in interface: Turn this on to show Sage Pay with drop-in box.
(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)Image Removed Credit Card Types: You can choose which credit card types you want by choosing one or more items.

(plus)Image Removed 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)Image Removed In addition, you can add/edit the Instructions to instruct customers how to do payment.

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

(plus)Image Removed 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)Image Removed Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.

Image Removed 

 

When done, press Save Configuration. This direction can be applied with both Subscription product and non-subscription product.

 

 

(green star) Integrate with Paypal

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

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

Image Removed

Please read these documents from SagePay for more details: 

https://www.sagepay.co.uk/support/12/36/adding-paypal-to-your-test-account

https://www.sagepay.co.uk/support/12/36/enabling-sage-pay-on-your-paypal-test-account

https://www.sagepay.co.uk/support/16/36/linking-paypal-to-your-live-account

Create User in Sage Pay

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

Image Removed

(green star) In Form Integration/Paypal

(plus) Allow Gift Aid: Allow customers to donate to charity. Note that this function only works if your Sage account is enabled for Gift Aid.

(plus) Collect Recipient Details: 

(plus) Send transaction email: There are 3 options

  • Do not send to neither 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 email.

(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 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.

 

(green star) In Sage Pay PI Integration 

(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) User drop-in interface: Turn this on to show Sage Pay with drop-in box.

(plus) Save Customer CreditCard Token: Allow customers to save credit card token for future purchase.

Image Added 
(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)Image Added Credit Card Types: You can choose which credit card types you want by choosing one or more items.

(plus)Image Added 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)Image Added In addition, you can add/edit the Instructions to instruct customers how to do payment.

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

(plus)Image Added 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)Image Added Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.

 

Save Configuration.

 

(green star) Integrate with Paypal

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

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

Image Added

Please read these documents from SagePay for more details: 

https://www.sagepay.co.uk/support/12/36/adding-paypal-to-your-test-account

https://www.sagepay.co.uk/support/12/36/enabling-sage-pay-on-your-paypal-test-account

https://www.sagepay.co.uk/support/16/36/linking-paypal-to-your-live-account


Create User in Sage Pay

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

Image Added

(green star) In 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.

 

Image Added

(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)Image AddedPayment 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)Image AddedSort Order: The order of the payment method that will be displayed on the checkout page.

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

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

 

(green star) In Sage Pay Server Integration

(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.
  • Authorize and Capture (Payment): charge the debit/credit card at the time of the order is placed.


Image Added

(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)Image AddedPayment 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)Image AddedSort Order: The order of the payment method that will be displayed on the checkout page.

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

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

 

(green star) In 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.



Image Added

(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)Image AddedPayment 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)Image AddedSort Order: The order of the payment method that will be displayed on the checkout page.

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

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

 

(green star) In Sage Pay PayPal:

(plus) Enabled: Enable Sage Pay PayPal Payment

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

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

(plus) User and Password: Obtained from user created in Sage Pay
(plus) Form Integration Encryption Password: Obtained from in SagePay. Go to Settings > Administrators > Password Details

(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.


Image Added

(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)Image Modified 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)Image Modified Sort Order: The order of the payment method that will be displayed on the checkout page.

(plus)Image Modified 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)Image Modified Maximum Order in Total: If the order value is bigger than this figure, the payment method will not be displayed on the checkout page.

Image Removed

 

For Subscription Products 

...

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.

 

Image Modified

 

Click Submit to finalize the payment.

...

We design this function to help customers pay more conveniently. Customers could save time from typing a long range of numbers.

 

Image Modified

 

(plus) My Saved Card Indentifiers: 

...