Support

Home Forums Event Espresso Premium Authorize.net description too long

Authorize.net description too long

Posted: September 28, 2017 at 9:25 am

Viewing 3 reply threads


kevin l

September 28, 2017 at 9:25 am

We are having an issue when we export our transaction from authorize.net and import into quickbooks where the invoice description is too long.

Here is one example:
Event Registrations from Lincoln Park for Celebrating the 5 Year Anniversary of ?the Lincoln Park? | Roger Rangers and Friends(For Celebrating the 5 Year Anniversary of ?the Lincoln Park? | Roger Rangers and Friends)

We are using EE4 with multi event. Is there a way to shortener the description that comes through besides renaming the event name?


Tony

  • Support Staff

September 28, 2017 at 10:19 am

Hi there,

The Order Description is filtered so you can use a function like this:

https://eventespresso.com/topic/paypal-invoice-only-shows-first-event/#post-235621

To just return ‘Event Registrations from {Your Company Name}’ in the description field, would that work?

You can add that to Custom Functions Plugin on the site.


Josh

  • Support Staff

September 28, 2017 at 10:50 am

Actually with the AIM gateway it might work to out OK to do this instead:

add_filter( 'FHEE__EE_Gateway___order_description', 
  'my_simple_order_description', 10, 3 
);

function my_simple_order_description( $desc, $gateway, $payment ) {
  $desc = '';
  return $desc;
}

because AIM will add items to that description.

You can add the above code to a functions plugin or into your WordPress theme’s functions.php file.


kevin l

September 28, 2017 at 11:07 am

Thanks for the reply! I’ll try the addition to my functions file as I prefer not to add more plugins to the site. I’ll give it a shot.

Viewing 3 reply threads

The support post ‘Authorize.net description too long’ 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