Support

Home Forums Event Espresso Premium Transaction Check Number

Transaction Check Number

Posted: September 5, 2019 at 4:28 pm

Viewing 2 reply threads


dangbird

September 5, 2019 at 4:28 pm

Hello Team – I would love to be able to display the Transaction Number from the Payment Gateway on the Registrations Page under the paid column where it currently displays the Price Paid and “…via XXXPAYMENTSYSTEM” This URL http://sitename.com/wp-admin/admin.php?page=espresso_registrations
I believe the File to adjust is wp-content/plugins/event-espresso-core-reg/admin_pages/registrations but Having a tough time tracking down the correct object or variable. The Database Table is wp_esp_payment, Column PAY_txn_id_chq_number. I appreciate any direction.


Josh

  • Support Staff

September 5, 2019 at 9:11 pm

Hi,

You wouldn’t actually make edits to any core files. Instead, you’ll add the code to your own little custom plugin and use the provided hooks from WordPress and Event Espresso core to hook in to the page to add the custom column.

Here’s a code snippet that shows an example:

https://gist.github.com/joshfeck/89fafd7db45173c1e9bb6bf39aa6a14f

You can add the above to a functions plugin.

If you need to find other objects/variables the documentation for the EE4 model system is recommended:

https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System


dangbird

September 6, 2019 at 9:13 am

Absolutely Perfect JOSH! Thanks Sir!

Viewing 2 reply threads

The support post ‘Transaction Check Number’ 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