Support

Home Forums Event Espresso Premium Can we change the description being sent to stripe as the payment reference?

Can we change the description being sent to stripe as the payment reference?

Posted: October 27, 2017 at 10:51 pm

Viewing 2 reply threads


website@secpta.net

October 27, 2017 at 10:51 pm

Hello,

I am noticing that when a member proceeds with payment via stripe for the purchase of multiple events at once, their receipt that they receive from Stripe indicates the description of just one of the events that was purchased.

Is it possible to change this so that there is a more generic description, or perhaps the general registration # that corresponds to each event that was purchased in the batch?

This will be confusing for the end user as well as the person looking at the data, as it won’t immediately indicate that the purchase was for a) multiple events, and b) it will mislead people into thinking that a single event actually costed more.

Thoughts?

Thank You,
Marshall


Josh

  • Support Staff

October 28, 2017 at 10:24 am

Hi Marshall,

Yes you can by adding some PHP code to your site that makes use of a filter hook to send a filtered order description to Stripe. You can use the example code here:

https://gist.github.com/joshfeck/628eb4415bfabd82be217962d6619ebf

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


website@secpta.net

October 29, 2017 at 3:41 pm

Thanks, Josh!

Viewing 2 reply threads

The support post ‘Can we change the description being sent to stripe as the payment reference?’ 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