Posted: December 23, 2015 at 3:26 pm
|
Hi Support We have a custom field which contains an internal/admin event reference number which we would like to prepend to the Invoice Description – (eg; 1119:1-2 Jan – Accommodation & Meals) to assist with the identification of payments. See typical event here – event example. How and where can I edit the Invoice Description to include this custom field? |
Hi Stephen, We may need to add a filter hook to allow adding this. Can you let me know which gateway you’re using, and is there another name for the field or is it actually called an Invoice description? |
|
|
Hi Josh |
Hi Stephen, I checked and this is a place where we’d need to add a filter hook to allow for adding/modifying the field before it’s sent to Mijireh. I can put in a request, and we can add a filter hook in a future update. |
|
|
Hi Josh |
Not at the moment, but I can tell you that a Github pull request will expedite this. |
|
Hi Stephen, Update:
we pass in the $primary_registrant object, so a filter function can return the event name with $primary_registrant->event_name(). Please let us know if you need help with putting together the filter function. |
|
|
This looks like what I have been needing for our Mijireh Gateway and EPDQ Barclays… would appreciate help to try it.. thanks! |
Hi there, You can pass the event name for all tickets by adding the following code to your functions file:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. |
|
The support post ‘Add custom field data to EE4 Invoice Description (ticket name)’ 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.