Support

Home Forums Event Espresso Premium Send event name to SagePay

Send event name to SagePay

Posted: February 6, 2020 at 2:23 am


homehouse

February 6, 2020 at 2:23 am

We are looking to send custom data to the SagePay payment gateway using the Event Espresso plugin. But, we have noticed that while sending the required data to SagePay there is no filter hook available. Can you update the code of the plugin to support the sending of custom data to SagePay so that we can extend the plugin and leverage the plugin updates or advise how we can send the information.


Josh

  • Support Staff

February 10, 2020 at 9:50 am

Hi,

There is actually a filter hook available:

FHEE__EE_Gateway___order_description

You can use the above filter hook to pass custom data into the SagePay payment order description.

You’ll find one example that shows how to use the hook here:

https://gist.github.com/joshfeck/28fd4886176dd189f09d51f6a5ffd2b2


homehouse

February 14, 2020 at 2:37 am

That’s great, but is it possible to send the custom data into the SagePay payment reference field?


Tony

  • Support Staff

February 14, 2020 at 5:12 am

Hi there,

I’m not aware of any custom fields you can send to SagePay, do you have any documentation for this I can take a look at?

We can add a filter to the code, may I ask which integration method are you using?


homehouse

February 14, 2020 at 8:42 am

Hi there, we are using SagePay Server Integration. There is already a field in SagePay called Reference which is on the main transaction screen and available to download as a CSV from mySagePay. It is in this field we would like to send the Event name

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  homehouse 2 days, 13 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!