Sage Pay Payment Gateway

Get online payments through debit cards and credit cards with Sage Pay in the United Kingdom.

view quick links for this payment gateway –> 


Need to Buy a Support License for the Sage Pay Payment Gateway for Event Espresso 4?
Accept event payments with the Sage Pay payment gateway for Event Espresso

Version 1.1.6+ supports Strong Customer Authentication (SCA) with 3DSecure.

Installation

This payment gateway is a plugin for WordPress and can be installed through your WP dashboard (WP-admin).

Download the latest version of the Sage Pay payment gateway for Event Espresso 4 from your Event Espresso account.

Then login to your WordPress dashboard (WP-admin) and go to Plugins. Next, click on Add New –> Upload and browse to the plugin on your computer. Then select the zip file and begin the upload process. Wait for the plugin to upload and then click on Activate.

Locate your Credentials for Sage Pay

Your credentials for Sage Pay will be assigned by Sage Pay support. You’ll be provided with your Vendor name. This information can be entered in the payment methods page for Event Espresso within your WP dashboard and then click on the Update Settings button. You’ll then be ready to accept payments on your site.

Note: If you need to test Sage Pay, then you can enable debug mode through the payment method screen. Also, be sure to whitelist your web server’s IP address via the test area for MySagePay. There is a separate login area for MySagePay for testing. After you are finishing testing, be sure to turn debug mode off and save changes.

How to add your web servers IP address to your ‘Valid IPs’ list

In order to use Sage Pay, the IP Address that the payment request is being made from needs to be added to a list of ‘Valid IPs’ within your Sage Pay account. To set this up you will need both the ‘Public IP Address’ and ‘Subnet Mask’ of your web server. You can get your server’s IP address by going to your site’s Event Espresso > Payment Methods page, then click the Help tab located on the upper right corner of the page. Then click the Sage Pay Settings item on the help menu. There, under “Sage Pay Allowed IP Address” you’ll find your server’s IP address. Your hosting provider will be able to provide you with the subnet mask. You can then follow these steps:

1) Log into your Sage Pay account
2) Click on Settings -> Valid IPs

sage-pay-valid-ip-list

3) Click the ‘Add’ button on the bottom right of the form.

sage-pay-add-valid-ip
4) Input the details of your webserver and add that IP to the list.

The IP address used in the example below is not a valid public IP Address, your web servers IP address will be different to this.

sage-page-valid-ip-added

Will Sage Pay be the only payment method enabled or the only one you offer? Click here to learn how to make it selected by default during the registration checkout.

Setup and Configuration

An account with Sage Pay is needed to accept payments via Sage Pay.

A dedicated SSL certificate is recommended to make registration checkout and other areas of your website more secure.

Login to your WP-admin (WP Dashboard) and go to Event Espresso –> General Settings –> Payment Methods. Once on the Payment Methods screen, click on Sage Pay Server Integration and click on the button to activate the payment method.

The legacy Sage Pay Direct Integration does not support Strong Customer Authentication and is therefore not recommended to use after 14 September 2019.

Below are the available fields and explanations for each field.

Name – This is the name of the payment method.
Description – This description is shown during registration checkout.
Admin-Only Name – This is a name of the payment method that will only be shown in the WP Dashboard (WP-admin).
Admin-Only Description – This description is used only in the WP Dashboard (WP-admin).
Debug Mode On? – Enables debugging for this payment method. It should be off (set to no) on a live/production site.
Open by Default? – This sets this payment method to be pre-selected on the registration checkout page.

You can offer multiple payment options to your attendees. However, if you have a single payment gateway enabled, then set it to Open by Default for a faster checkout experience for your attendees.

Sage Pay Vendor Name – This credential is needed to process payments and can be found in your Sage Pay account.
Credit Card Types – These settings determine the cards types you will accept through the gateway.
PMD Order – The value (number) can be used to sort or arrange this payment option. A lower value means that it should appear first during registration checkout.
Button URL – This is the URL to the image that will be used during the payment process of registration checkout.
Alternative Button URL: http://ee-screenshots.s3.amazonaws.com/2015/07/sagepay-default-logo.png
Pay with Sage Pay
Usable From? – Select where this payment method should be available for use. This payment method cannot process payments through the WP-admin (WP Dashboard).
Update Settings – Click this button after making any changes to your payment method.
Deactivate Payment Method – Click this button to deactivate this payment method.

How to Update to the Sage Pay Server Integration for SCA Compliance

Existing users of the Sage Pay gateway will need to deactivate the original integration and activate the new “Server Integration” by following these steps:
1) Update to the current version of the Sage Pay payment method add-on
2) Go to Event Espresso > Payment Methods, click on the original “Sage Pay” payment method, take note of the Vendor name, and deactivate the payment method
3) Activate the new “Sage Pay Server Integration” payment method, input the vendor name into the “Sage Pay Vendor Name” field, then click the Update button to save the changes

Usage

The Sage Pay payment gateway will let you accept payments via major credit or debit cards such as Visa, MasterCard and American Express.

An account with Sage Pay is needed to accept payments via the Sage Pay gateway.

Troubleshooting

I configured Sage Pay and payments are not being processed. Can you help?
Double-check your credentials and ensure that there is no extra spacing before or after the credentials in the payment methods page of Event Espresso.

Check you have added your servers public IP address to your ‘Valid IPs’ within your Sage Pay account and that this is the correct IP address, you may need to contact your hosting provider to confirm this.

How can I set up a recurring payment or subscription through Sage Pay?
Recurring or subscription payments are not currently supported in the Sage Pay payment gateway.

When I refund a payment, does it also refund through Sage Pay?
Refunds in Event Espresso 4 are currently a two-step process.
1) Apply the refund through the transactional details screen of Event Espresso in your WP-admin (WP dashboard).
2) Then login to your Sage Pay account and process the refund.

Is an SSL certificate needed for Sage Pay?
A dedicated SSL certificate is recommended if you are accepting payments on your website.

Do I need to be PCI compliant?
Compliance with the Payment Card Industry Data Security Standards (PCI DSS) is required if you are processing, storing, or transmitting credit card data. Event Espresso recommends using a dedicated SSL certificate on your website.

View more information on PCI compliance from Sage Pay.

Customizations

Our support team cannot write custom coding for you. Below are some examples on customizing this payment gateway.

How to customize Sage Pay’s payment pages

It’s recommended to use the “Responsive” payment page setting. You’ll find some general, but out of date, instructions for how to activate custom payment pages here: https://www.sagepay.co.uk/support/16/36/activating-customised-payment-pages

The recommended setting is highlighted in this screenshot:

How to make address fields optional

By default the payment gateway will ask for a full address including a state/province and a zip/postal code.

If you would like to make these optional then please see this link: https://gist.github.com/lorenzocaum/4199c5d74eaa73b60600

The changes in the link above are suggested if you will be having registrations where your attendees/registrants may be from a country that does not use a state/province and/or a postal/zip code.



Need to Buy a Support License for the Sage Pay Payment Gateway for Event Espresso 4?
Accept event payments with the Sage Pay payment gateway for Event Espresso


Need more help?

  • Browse or search for more information on this topic in our support forums. Customers with an active support license can open a support topic and get help from Event Espresso staff.
  • Have an emergency? Purchase a support token and get expedited one-on-one help!
  • Go back to documentation for Event Espresso
Event Espresso