CE, EE 2.2.x, 2.3.x
Version 2.0.0

Magento 2 Sage Pay Integration

    The Official Sage Pay integration for Magento 2 by Magenest - an official integration partner of Sage Pay and Magento.

  • Magenest is an official partner of Sage Pay
  • NEWSCA-ready with Direct Integration
  • FREE 6-month support
  • Free Installation service
  • NEW Sage Pay PI integration
  • NEW Magento orphan transaction log & recovery
  • Sage Pay Form, Server, and Inframe
  • Sage Pay PayPal support
  • PCI DSS Compliance Level 1
  • Tokenization & saved cards, 3D Secure, AVS/CVV verification, block payments with in-house rules
  • Pre-authorization or Authorization & capture
  • MOTO support
  • Donation supported with Gift Aid
  • Support multiple currencies and credit card providers

Note: This is Sage Pay integration for the UK. For the US version, click here

Magento 2 Sage Pay Integration lets merchants use the trusted UK payment gateway to securely process payment on their Magento store

NEW Acquire PCI DSS Compliance Level 1 with Sage Pay

To help merchants comply with PCI security standards, Sage Pay store payment data on its PCI-compliant data vault through its checkout forms. This way, merchants don't have to process sensitive payment data on their own server. With Sage Pay integration, merchants are free from PCI and scope expense, as Sage Pay has PCI DSS Compliance level 1. Merchants only have to validate their PCI DSS compliance using SAQ A self-questionnaire.

  • Sage Pay PI integration - Sage Pay drop-in checkout form
  • Sage Pay Form integration
  • Sage Pay Server integration
  • Sage Pay Server InFrame integration
  • Sage Pay Direct integration
  • Sage Pay PayPal integration

NEW Sage Pay Direct refund: full refund and partial refund

    Our Magento 2 Sage Pay Extension allows merchants to wire the refund right when a memo is exported. This reduces manual work for merchants and offers a sense of timely support to customers. Merchants can choose any value up to the total of the transaction, offering either partial or full refund.

NEW MOTO Support - Receive payments in Magento 2 backend with mail and telephone orders

With MOTO (Mail Order/Telephone Order), merchants can accept payment through telephone, mail, fax, or internet communication orders. Customers' payment is processed using a Virtual Terminal - an online credit card swipe "facility".

3D Secure and AVS/CVC verification

AVS/CVC verification is a basic and common method to verify the ownership of the credit card. 3D Secure adds another layer of protection in the form of an online authentication to customers' purchase. This method operates by verifying information regarding their current purchase environment. There are 4 options for 3D Secure

  • Off: disable 3D Secure
  • Upon required: only performs 3D Secure when it is required by the bank
  • Optional: perform 3D Secure if supported by the bank. If 3D Secure is not supported, the card is still charged
  • Required: always check for 3D Secure and stop the payment if not supported

Pre-authorization and Authorization & capture

    Sage Pay Integration for Magento 2 supports both of the payment actions. Merchants can choose pick between the two easily in Magento backend. Each has a different operation process:

  • Pre-authorization: The payment from a customer's credit card is verified and put on hold for an amount of time before expired. Upon expiration, the merchants will receive the payment.
  • Authorization & capture: The payment from a credit card is immediately wired to the merchant after verification.

Let customers save their credit cards safely with tokenization

    With tokenization, merchants can let customers securely save their credit card info so they don't have to reinput it the next time they make a purchase. Tokenized data does not carry any direct attribute and can not be retraced back to its origins by any mean. The tokenized cards are stored on Sage Pay's server on a its PCI-compliant data vault.

Donation support with Gift Aids

UK citizens are able to claim back their taxes on every received pound through Gift Aid Donation. The donation will be given to registered charities that use Gift Aid through Sage Pay platform. If your Sage Pay merchant account has Gift Aid enabled, you can simply turn this option on in Magento 2 backend as well

  • Customers can now donate money to a charity instead of paying taxes
  • Upon checkout, customers can tick in a checkbox to donate to Gift Aid

Full list of features for Magento 2 Sage Pay Integration

  • Form, iframe and PayPal payments
  • PCI DSS Level I
  • Direct Payment
  • 3D Secure
  • Pre-authorization
  • Full authorization
  • Capturing payment
  • Direct Refund
  • Saved card info for future payment
  • Tokenization
  • Support multiple currencies
  • Support major credit card providers: Visa, MasterCard, AMEX, and Discover
  • Gift aid for donation

Reason to choose

Free lifetime software updates

Free lifetime
software updates

30-day money-back guarantee

30-day money-back

Verified by Magento Marketplace

Verified by
Magento Marketplace

One-time payment without hidden cost

One-time payment
without hidden cost


  • I get Merchant key error when check the API in backend.

    This error results from the wrong API credentical. Please check your API credential.

    • We were hoping that by using the Magenest integration that we would also have the option to have SagePay transactions emailed (which included the name, address, contact details and order number) to us.

      This feature has not been available in our extension.

Version 2.0.0 - Updated: September 13, 2019

Compatibility: Magento 2.2.x, 2.3.x (Open source, Commerce)

- Rework Sagepay library integration
- Add: 3DS2
- Fixbug: transaction grid
- Fix: send API in checkout

Version 1.8.2 - Updated: April 5, 2019

Compatibility: Magento 2.1.x, 2.2.x, 2.3.x (Open source, Commerce)

- Add: Support multiple language
- Fix: Small bug on Magento version 2.1
- Fix: Argument error on Magento version 2.1
- Fix: Entity not existed in transaction grid when order data error
- Fix: Restore order only when status response OK
- Fix: Remove some character not Allow in Sagepay Basket

Version 1.8.0 - Updated: January 18, 2019

Compatibility: Magento 2.1.x, 2.2.x, 2.3.x (Open source, Commerce)

- Add: Sagepay transaction grid: admin can view all sagepay transaction.
- Add: View sagepay transaction info, admin can view all transaction status with additional information
- Add: Restore order if order cannot create in magento
- Add: Billing aggrement option for sagepay paypal
- Fixbug: Order cancel unexcepted
- Fixbug: processing sagepay form integration
- Fixbug: Placeorder sagepay in adminhtml
- Improve performance and stability

Version 1.7.1 - Updated: December 6, 2018

Compatibility: Magento 2.1.x, 2.2.x (Open source, Commerce)

- SagePay now compatible with Magento 2.3
- Fix: Exception when create product
- Fix: Processing subscription product
- Fix: PayPal integration
- Fix: Get merchant session key PI integration.

Version 1.7.0 - Updated: November 22, 2018

Compatibility: Magento 2.1.x, 2.2.x (Open source, Commerce)

- Add: Sage Pay Direct
- Add: Sage Pay Server
- Add: Sage Pay Paypal
- Add: Sage drop in backend adminhtml
- Add: Choose sage dropin display mode
- Add: validate quote address before place order
- Add: Show error message when credit card is deny
- Add: sagepay dropin in backend html
- Fix bug duplicate response sagepay
- Fix bug order sometime duplicated
- Fix bug order confirmation email was not send
- Fix bug Email = null when customer redirect back
- Fix bug Order status cancel unexpected
- Fix bug Sagepay direct display weird adminhtml
- Fix crypt function error in php 7.1

Version 1.6.7 - Updated: September 18, 2018

Compatibility: Magento 2.1.x, 2.2.x (Open source, Commerce)

- Fix bug display message response from sagepay
- Fix bug expire date error (sagepay PI)
- Fix crypt function deprecated

Version 1.6.6 - Updated: August 16, 2018

Compatibility: Magento 2.1.x, 2.2.x (Open source, Commerce)

- Fix term of condition error when using sagepay dropin interface.
- Fix sagepay form fail response.
- Add validate sagepay script load error.

Version 1.6.0 - Updated: July 24, 2018

Compatibility: Magento 2.1.x, 2.2.x (Open source, Commerce)

## [1.6.0] - 2018-06-06
- Fix javascript library load error
- Fix sage display error with onestepcheckout
- Move drop-in interface to sagepay payment

Version 1.5.0 - Updated: May 9, 2018

Compatibility: Magento 2.1.x, 2.2.x (Open source, Commerce)

## [1.5.0] - 2018-05-09
- Added ReferrerId
- Improve security
- Fix Sagepay drop-in error when load checkout page

Version 1.4.3 - Updated: January 5, 2018

Compatibility: Magento 2.1, 2.2 (Open source, Commerce)

### Added - Improve payment security.
- Add validate payment response.
- Sage own form: PCI-DSS compliant using the SAQ-A-EP self assessment questionnaire.
- Sage drop-in: PCI-DSS compliant using the SAQ-A self assessment questionnaire.
- Add alert box when check API key.
### Fixed.
- Fix bug gift aid is not selected.
- Submit order bug freeze.
- Fix bug response duplicated.
- Fix Sage Js loaded two time(speed up checkout page).
### Remove.
- Remove option debug log. The debug file now stored in `{magento}/var/log/sagepay/debug.log`.

Version 1.2.0 - Updated: October 15, 2017

Compatibility: Magento 2.1, 2.2 (Open source, Commerce)

### Update.
- Sagepay compatible with Magento Commerce 2.1.x, 2.2.x, Magento OpenSource 2.1.x, 2.2.x.
### Added.
- Notify user when merchant key error, payment error return from bank.
- Add browser output console log.
- Add some helpful comment in backend config.
### Fixed.
- Fix checkout layout broken in mobile screen.
- Fix default config sagepay.

Version 1.1.0 - Updated: September 22, 2016

Compatibility: Magento CE 2.1.x, EE 2.1.x

### Fixed.
- Fix send mail error when checkout with 3d secure.
- Partial refunds after create invoice.
- Fix bug restore cart when 3d secure fail.
- Fix bug order state pending when 3d secure response fail.
- Fix bug conflict javascript with some one step checkout.
- Fix bug different billing address and shipping address.
- Fix bug currency multiply error with some non-decimal currency type.
- Fix bug save card with some type of credit card.
- Fix bug show logo error (404 blank image).
- Fix bug post code and state missing with some country.
### Added.
- Gift Aid: end-user now have a checkbox to donate the taxes.
- Sort order: User can input the number to sort the payment method.
- Payment instructions: Admin can input html payment instructions.
- Add some javascript response to website.
- Add ignore address check(in test mode).
### Changed.
- Debug logger now clean and easy to read.
- Change all the sage-pay javascript library to pi-live.sagepay.com.
- Sagepay drop-in method now using custom i-frame form.

Version 1.0.0 - Updated: August 13, 2016

Compatibility: magento 2.1

### Added
1. Allow customers to checkout using credit card payment
2. Allow admins to integrate their SagePay account to the Magento store
- Enable or disable the gateway
- Integrate using vendor credential
- Specify allowed credit card types and countries
- Specify minimum and maximum order amount
3. Add a layer of security with 3D checkout
4. Support multiple stores
5. Easily check transaction history
6. Admins can create subscription plans for each products, each includes
- Subscription frequency
- Total amount of cycles for a profile (0 for ongoing subscription)
7. Customers can subscribe to an available plan on a specific product. A profile will then be created.
8. Admins can easily manage profiles or disable them.
9. Customers can also manage their profiles and disable them as well.

Version 1.0.1 - Updated: October 20, 2016

Compatibility: magento 2.1

### Added
Minor fixes