...
Your store should be running on Magento 2 version 2.1.x.; 2.2.x
- Configuration at Magento backend
...
In our example, we use account and API of SagePay to implement transaction in test mode.
There are two accounts that customers can use: sandbox and sandboxEC. With SandboxEC accounts, users can be supported furthermore such as: 3-D Secure Checked, Strict AVS, CV2 and furthermore..
Turn on Test Mode (Choose Yes) when you use test credentials. Turn off the Test Mode (Choose No) when you go live.
You can also turn on Ignore address check to skip the address and postcode check in test mode.
Then Click on Check API button to check whether the API is working or not.
Save Card Token: Allow customers to save credit card token for future purchase.
Enable MOTO: Allow you to make payments in admin panel for customers buying through email or telephone.
Allow Gift Aid: Allow customers to donate to charity. Note that this function only works if your Sage account is enabled for Gift Aid.
Vendor Reference Code:
Note: Customer must use correct SagePay account to config. If account does not belong to SagePay, SagePay could not process your transaction. Payment is unsuccessful.
...