Setting up Sage Pay

The Sage Pay payment option lets customers pay you using a credit card or debit card.

Setting up Sage Pay in your shop

You can set up Sage Pay payment by clicking Configuration in the shop management panel menu, clicking Sage Pay, and changing the following settings:

Availability

Status
Whether Sage Pay is available as a payment method.
Mode
Whether to perform test payments or live payments. Sage Pay require a payment to be made in test mode before allowing you to go live.
Region
Where the payment method is available — either one of the delivery regions set up in your shop or the special value Everywhere.

Configuration

Vendor name
Your Sage Pay vendor name.
Transaction type
Set to Payment to take the funds from the customer as soon as possible. Set to Deferred to guarantee the availablity of funds for 6 days and allow funds to be taken up to 30 days after the initial transaction. Set to Authenticated to check the customer details only; this does not guarantee the funds are available, but allows funds to be taken in stages and up to 90 days after the initial transaction.

New Sage Pay accounts

If you are creating a new Sage Pay account, choose the Server Protocol integration method. When asked for the server IP address, enter the server IP address shown on the Sage Pay page in the shop management panel. When asked for the server subnet mask, enter 255.255.255.255.

Existing Sage Pay accounts

If you have an existing Sage Pay account, log in to the test version or the live version of My Sage Pay — you will need to carry out this procedure for both test and live modes — select Settings from the top menu, then select Valid IPs from the left menu. Note that the Settings link is only available for the administrator user account — if it does not appear, you have logged in with the incorrect user account. If the Valid IPs link does not appear then your account has not been set up for e-commerce transactions using the Server Protocol and you will need to contact Sage Pay support on 0845 1114455.

On the Valid IPs page, click Add. For the server IP address, enter the server IP address shown on the Sage Pay page in the shop management panel. For the server subnet mask, enter 255.255.255.255. Click Add to add the IP address.

Testing and going live

To perform the test purchase, first ensure that Sage Pay is set to test mode on the Sage Pay page in the shop management panel. Go through the process of making a purchase from your shop, exactly as if you were a normal customer, choosing Sage Pay as the payment method. You will be taken to the Sage Pay test server to make a payment. The test server only accepts the following card details, which can be used with any customer name and start and expiry dates (so long as the start date is in the past and the expiry date is in the future):

Card type Card number Issue CV2 Address Postcode
Visa Credit 4929000000006 123 88 412
MasterCard Credit 5404000000000001 123 88 412
Visa Debit/Delta 4462000000000003 123 88 412
Solo 6334900000000005 1 123 88 412
UK Maestro 5641820000000005 01 123 88 412
American Express 374200000000004 123 88 412
Visa Electron 4917300000000008 123 88 412
JCB 3569990000000009 123 88 412
Diner’s Club 36000000000008 123 88 412
Laser 6304990000000000044 123 88 412

If the test transaction is successful, you will be taken back to your shop and receive an e-mail confirming the transaction. After a successful test transaction, you must refund the payment through My Sage Pay before Sage Pay will permit you to go live. After refunding the transaction, your account will be set live after two hours (or you can contact Sage Pay Support to have it set live immediately).

Once Sage Pay have confirmed that you have gone live, you can switch to live mode on the Sage Pay page in the shop management panel. At this stage you may wish to make a real purchase from your shop and then void the transaction through My Sage Pay, in order to be completely certain that your account has gone live correctly.