Hi guys,
We’re running WP 4.1 and EE 3.1.36.5.P and we’ve been up and running for a year or so now…
Recently my client asked for a custom field to be added to the registration form and confirmation email.
That’s working fine but they’d also like that field to appear in the eWay records – either in the eWay ‘Invoice Reference’ field or at least the ‘Invoice Description’ field.
I’m wondering where this is done? Presumably in eWay/settings.php?
I’m just not quite sure how to go about this though..
Hope you can help?
The file in question would be /wp-content/plugins/event-espresso/gateways/eway/eway_vars.php which already has the InvoiceDescription field laid out (though you should be able to inject the Invoice Reference field fairly easily).
The main issue would be that the custom question data no longer exists when at that point, though the $attendee_id (or use the $payment_data array that also has the attendee ID) does, so you would likely need to do an SQL search to get the question data.
Please note that there are no filters or hooks, so any modifications would either have to be done direct to the file (not recommended, updates WILL over write your changes) or to a custom gateway based on the eWay gateway.
The support post ‘eWay Custom Field’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.