I’m building a voucher/gift certificate system for a customer on EE 3 and I’m running into some issues with the payment system. The only way I’ve found to get the payment to be the correct amount when it is sent over to the payment gateway by changing the final price value in the Events Attendee Table. However, when I do this the transaction details don’t get recorded by the payment system but it looks like the transaction is processing.
I’m wondering if there is any documentation on how this system works or advice on the best way to go about adjusting some tickets prices to zero and reducing others and still have the payment system work correctly?
Hi Eric,
The logic that brings up the gateway display on the payment page is in includes/process-registration/payment_page.php down on line 342.
Looks like it may be going off total cost instead of final price.(?)
The transaction details get processed in gateways/aim/aim_ipn.php. It’s getting called by a hook in includes/process-registration/payment_page.php in the event_espresso_pay function, all the way at the bottom of that file.
Hope that helps out some.
Viewing 3 reply threads
The support post ‘Adjusting Ticket Prices (some to 0)’ 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.