Support

Home Forums Event Espresso Premium Send event name to SagePay

Send event name to SagePay

Posted: February 6, 2020 at 2:23 am

Viewing 5 reply threads


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


Tony

  • Support Staff

February 17, 2020 at 6:04 am

The test account we have with SaegPay does not give us access to the transactions made on that account so I can’t view the above, what is set on that field currently?

There is no mentioned of a ‘reference’ field on the SagePay API, the only field I can think that would apply is vendorTxCode but that must be unique for every transaction so we set it to the reg_code of the primary registrant.

In your opening post you’ve requested a hook is added to send custom data, but I can’t find anything from SagePay that shows they support custom data?

Viewing 5 reply threads

The support post ‘Send event name to SagePay’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso