Sage Pay

More info @ www.sagepay.com

Gateway Setup

For details on how to set up Sage Pay, click here.

Vendor Username/ID

Your Sage Pay vendor username/ID.

Encryption Password / Encryption Type

Your Sage Pay encryption password and encryption type. AES is default for Sage Pay. Only use XOR if instructed to do so by Sage Pay. Note that the AES method requires Mcrypt which must be installed on your server. If this isn`t available an error will appear.

Information About this Payment Method

This is presented to visitors if they click for more info on the gateway on the checkout page. Optional.

Use BB Code for formatting, HTML is not allowed.

Order Status Preferences

Specify which order statuses to set for callback operations. Leave as default if you aren`t sure. "Pending" statuses restrict download access for none gateway methods and should be used until payment is cleared.

Setting preferred order statuses can be useful for filtering with other admin operations.

Alternative Redirect Url (Optional)

Alternative redirect url is the page a visitor will be directed to after a successful transaction.

You should NOT use this option if you sell downloadable items as visitors will not be able to download their products immediately after purchase.

Enter full url starting http://

If you need to do further operations on your redirect page based on the sale, the following query string params may be used and passed to your new page:

{id} = Sale ID in Database
{code} = Sale Buy Code in Database.

Example:

http://www.example.com/new-redirect.php?id={id}&code={code}

Live Payment URL

Live payment url. At the time of these docs it is:

https://live.sagepay.com/gateway/service/vspform-register.vsp

This should not be changed unless altered by the gateway.

Test/Sandbox Payment URL

Sandbox or test payment url. In many cases, this is the same as the live payment url. At the time of these docs it is:

https://test.sagepay.com/gateway/service/vspform-register.vsp

This should not be changed unless altered by the gateway

Test/Simulator Payment URL

Test/simulator payment url. At the time of these docs it is:

https://test.sagepay.com/Simulator/VSPFormGateway.asp

This should not be changed unless altered by the gateway

Enable Sage Pay

Enable / disable this gateway as a payment option.

Files Related to this Payment Option

For advanced users ONLY:

checkout/sagepay.php (Callback handler)
control/gateways/methods/sagepay.php

Help Tips

The same or additional information may be provided by hovering your cursor over the image next to each heading in the admin area if applicable.