I’m looking at using the CSV registration report to match bank statements against registrations that selected the Bank payment method. But the payment method only seems to be displayed on the report when a payment has been made even though the payment method ID is present on the transaction record created at the time of registration. The export code confirms that, the payment method is only extracted for approved registrations.
Is there an easy way to get the payment method on the report of pending registrations or do I just live with the assumption (which is probably correct in these particular circumstances) that a pending registration is pending because the bank payment method was selected?
The CSV fields are filtered before they are sent to be written to file, which means you can add/remove details from the CSV with some PHP.
You are correct in that the payment methods field is only populated when payments have been made, so based on the above, what I would do is check if the Payment methods column was empty and if so, pull the transaction for the registration and then from that the ‘last’ payment method used on that transaction and add it to the field.
The support post ‘Payment method on CSV registration report’ 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.