Support

Home Forums Event Espresso Premium Payment issue

Payment issue

Posted: October 7, 2014 at 11:54 pm

Viewing 3 reply threads


lavmsol

October 7, 2014 at 11:54 pm

Hi,
I edited a payment record recently to update an attendee’s price details from $500 to $700. He has already paid $500 and it shows the owing amount as $200 which is correct. But when I tried to pay the owing amount by clicking on the “Pay Online” link, it still shows the amount to be paid as $700 in paypal. How can I fix this? Please help.


Sidney Harrell

October 8, 2014 at 10:05 am

The default for the paypal gateway, because so many customers requested itemization of the tickets, is to send the price and amount of each ticket. Unfortunately, it does not take into account what has already been paid on the overall transaction. If you take a look here: https://raw.githubusercontent.com/sidharrell/eventespresso/master/paypal/paypal_vars.php, I did a slight modification to the paypal gateway that only sends the amount owed. The problem with it is that it breaks the ticket price itemization that the customer sees on the paypal site. You might be able to modify it to only send the amount_owed when it is not equal to the total_cost. That way it will only break the itemization when there is already a payment that has been applied to the transaction.


lavmsol

October 9, 2014 at 4:14 pm

Thanks for the reply. Could you please assist me on where to add this code?


Jonathan Wilson

October 10, 2014 at 6:44 am

The paypal_vars.php file is in the wp-content/plugins/event-espresso/gateways/paypal directory.

To add Sidney’s change, you will need to replace that file with the one here: https://github.com/sidharrell/eventespresso/tree/master/paypal

Please make a backup before making the change. Also note that updating EE will overwrite this change. You will need to replace the files again after updating.

Viewing 3 reply threads

The support post ‘Payment issue’ 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