1. How do I identify the variables I need to use in the CSV code, Here is an example of the CSV code.
2. the slug value of the venue
3. the venue title
4. the payment type (VISA, MC or AMEX) from the transaction
Can you help?
I’m not exactly sure how to answer your first question, because it’s not clear what you want to identify. May I ask what exactly are you trying to identify there?
The card type appears in the right column on the transaction screen.
If the data appears, it has to come from somewhere. Example of Card Type Data on Screen.
The information stored in that section depends on the payment method in use, some don’t have access to that info, others do and it’s not technically stored against the transaction itself but the attendee.
It’s stored as a serialized array with no specific method of pulling certain values (although you could create your own). If you’d like to investigate further take a look at at the billing_info() method on the EE_Transaction class and work through from there, you’ll end up at the billing_info_for_payment_method() method on the EE_Attendee class but the steps to get there are important and you’ll need to know them to pull the info.
As mentioned you’ll need something custom to pull specific details from that section as we don’t have anything that will do it for you at this time, the details are for reference and were not expected to be pulled out indivially.
My accounting department would love it as the PayEezy does not pass that data along and the different cards clear several days apart. What accounting loves, accounting usually ends up getting. You know how it is. Thanks.
Viewing 4 reply threads
The support post ‘Extending CSV export with new variables’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.