Support

Home Forums Event Espresso Premium Passing Values to Stripe Description Field

Passing Values to Stripe Description Field

Posted: August 18, 2023 at 9:21 am

Viewing 1 reply thread


thinkbiglearnsmart

August 18, 2023 at 9:21 am

Hi there,

I did find a few references to this on the forum, but most were from 2016 and I wasn’t sure how relevant anything was anymore.

Essentially, we have a number of parameters (one being custom) that we’d like to pass through to Stripe’s description field using the Stripe gateway.

[EVENT_NAME]
[TICKET_LIST]
[DATETIME_LIST]
[PRIMARY_REGISTRANT_FNAME] [PRIMARY_REGISTRANT_LNAME]
[PRIMARY_REGISTRANT_ANSWER_*Organization]

What is the best way to accomplish this, so that we can reference information we need right within Stripe? Any assistance would be much appreciated.


Tony

  • Support Staff

August 18, 2023 at 10:40 am

Hi there,

I assume you are using the Stripe elements integration within the Stripe payment method?

We filter the values sent for that using this filter:

FHEE__EEG_Stripe_Onsite__doDirectPaymentWithPaymentIntents__payment_intent_data

You could hook in and add your own details to that request. The payment_intent data used there supports a ‘description’ field but I don’t think will will work for what you need here as it can be seen by your customers.

You’ll likely want to add MetaData to the request:

https://stripe.com/docs/api/metadata

Each of the above would be added as a separate metadata value which should then allow you to search for those within Stripe if that’s what you are looking to do.

Viewing 1 reply thread

The support post ‘Passing Values to Stripe Description Field’ 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