Support

Home Forums Event Espresso Premium Code Snippet help in Quickbooks Gateway

Code Snippet help in Quickbooks Gateway

Posted: August 22, 2024 at 7:47 pm

Viewing 5 reply threads


EasternEvents

August 22, 2024 at 7:47 pm

I would like to provide the accounting people who manage the Intuit Merchant credit card panel with additional relevant information.

The QuickBooks gateway has a COMMENT line where EE adds the “Event Registration from” string, concatenated with the website name. It is not useful information to pass on to credit card posting users. I think it is in this PHP file:

eea-quickbooks-gateway/QuickBooks_Onsite/EEG_QuickBooks_Onsite.gateway.php

The line of code seems to be this:

$order_description = sprintf(__('Event Registrations from %s', 'event_espresso'), get_bloginfo('name'));

I would like to assemble a CODE SNIPPET that can replace…

'Event Registrations from %s', 'event_espresso'

…with all the EVENT ID’s concatenated for the products purchased by the customer. Can you crack open that file and suggest a code snippet that I can add to my other EE snippets.


Sam

  • Support Staff

August 23, 2024 at 3:39 am

Hi Cal,

Are you referring to removing the name and email fields from the registration process?

Please confirm so that we can help you better.


EasternEvents

August 23, 2024 at 5:51 am

No, I do not want to remove anything.

I want to use the field that Intuit labels COMMENT, which appears to have the EE name “order_description,” to pass useful information about the transaction event that was purchased.

The standard EE Quickbooks Gateway method sends static information about the website’s name. It would be more useful to send dynamic data in the Intuit Order Description field, because it will make accounting reconciliations between the two systems much easier for accountants to match up.


Tony

  • Support Staff

August 23, 2024 at 7:42 am

Hi there,

There isn’t a snippet you can use to do what you are currently requesting, there’s no hook for the snippet to hook into.

I’ll open a ticket for this and see if we can add one in.


EasternEvents

August 23, 2024 at 12:07 pm

This could be valuable for all other EE users because it sends additional information about the event with the credit card transaction.

Thanks for sending it up for consideration.


Sam

  • Support Staff

August 23, 2024 at 12:36 pm

Thank you for your suggestions. We will update you in the thread when we get any update on the ticket.

Viewing 5 reply threads

The support post ‘Code Snippet help in Quickbooks Gateway’ 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