Glossary Item Box

Squirrelcart v5.5.0

Sage Pay

Overview

More information on Sage Pay can be found here: http://www.sagepay.com

Sage Pay offers different connection options. We support Sage Pay Form and Sage Pay Direct.

Sage Pay was formerly known as Protx.
Sage Pay Direct
Sage Pay Direct uses Squirrelcart's Store Hosted / Server to Gateway connection method.
Requirements

 

Setup Instructions
  1. Open the Sage Pay payment gateway record in the control panel.
  2. Enter the VSP Vendor Name in the VSP Vendor Name field. This was supplied to you by Sage Pay when your account was created.
  3. Leave the VSP Encryption Password field blank
  4. Set the Transaction Type field.
  5. Set Connection Method to Store Hosted / Server to Gateway
  6. Set the Currency Code field to match the currency that you will be accepting with Sage Pay.
  7. Check the Enabled field
  8. Click Save Changes
  9. Login to the live VSP Admin page:
    https://live.sagepay.com/mysagepay
  10. Click Settings
  11. Click Valid Ips
  12. Click Add
  13. Enter your IP address.
  14. For Subnet Mask, enter 255.255.255.255.
  15. Enter a description if desired.
  16. Click Add
  17. In the Valid Currencies for this Account section, choose your desired currency and click the Add button. The currency you choose must match the currency you specified in step 5 above.
  18. Test using the general testing steps in the Testing topic in this section of the documentation.
Sage Pay Form
Requirements

PHP Mcrypt extension must be enabled, with support for the MCRYPT_RIJNDAEL_128 encryption algorithm.

 

Setup Instructions
  1. Open the Sage Pay payment gateway record in the control panel.
  2. Enter the VSP Vendor Name in the VSP Vendor Name field. This was supplied to you by Sage Pay when your account was created.
  3. Enter the VSP Encryption Password in the VSP Encryption Password field. This was supplied to you by Sage Pay when your account was created.
  4. Set the Transaction Type field.
  5. Set Connection Method to Gateway Hosted
  6. Set the Currency Code field to match the currency that you will be accepting with Sage Pay.
  7. Check the Enabled field
  8. Click Save Changes
  9. Login to the live VSP Admin page:
    https://live.sagepay.com/mysagepay
  10. Click Settings
  11. Click Valid Ips
  12. Click Add
  13. Enter your IP address.
  14. For Subnet Mask, enter 255.255.255.255.
  15. Enter a description if desired.
  16. Click Add
  17. In the Valid Currencies for this Account section, choose your desired currency and click the Add button. The currency you choose must match the currency you specified in step 5 above.

 

Troubleshooting

The following error may occur after arriving at Sage Pay to submit payment information:

3045: The Currency field is missing.

If you have correctly specified your currency on the Sage Pay record in Squirrelcart's control panel, this error is usually false and is an indication that your VPS Encryption Password is incorrect.

 

Testing

Live Mode

To test, place an order for a small amount using a real credit card number. Upon approval, login to the VSP Admin page, and void the transaction.

Test Mode

Squirrelcart has a Test Mode checkbox on the Sage Pay payment gateway record in the control panel. When checked, it will cause Squirrelcart to communicate with Sage Pay's test environment. That environment mirrors their live environment. It requires a separate test account which must be setup by Sage Pay support. If you wish to use test mode, you'll need to request a test account from Sage Pay support, for this URL:

https://test.sagepay.com/mysagepay

 

If using test mode, Substitute the above URL in the setup instructions above wherever you see this live control panel URL: https://live.sagepay.com/mysagepay

 

 


© 2001-2016 Lighthouse Development. All Rights Reserved.