Posted: November 15, 2013 at 12:52 am
|
The $value being given to Paypal is TOTALLY wrong. The value on the payment pages are also TOTALLY wrong if there has been a previous payment. To make this request simple (since I’ve hacked the core to death getting the RIGHT AMOUNT OWED to display), I just want to know where the heck the variable is passed to paypal. The example line of code is: Where is the code that populates the “value” field? Is it here: I must be an idiot but I have looked EVERYWHERE and I can NOT figure out where this variable is pulled from. I have edited the core to reflect the right cost, as can be seen here: The amount going to paypal should be pulled from a displayed value on the page. If the two amounts are kept in separate places, legal implications ensue when they don’t match up. I don’t understand why payments would not be reflected when someone owes less than the total “cost” of the ticket. The amount going to a payment processor should reflect a balance due. Regardless, can you tell me where to find this darn variable so I can just change it for now – I have a Go Live in 48 hours and this item was discovered via a complaint from a client on the last event.
|
|
Hi Shannon, First off, in what way is the payment amount being passed to PayPal wrong? Is it too much or too little? Are you using Multiple Event Registration or the Price Modifier addons? Before the discovery of the issue, was there any modifications made to the gateway files? In answer to your question, the amount is held in the $item object array, so $item->orig_price. You can see this in the event-espresso/gateways/paypal/paypal_vars.php file. “I don’t understand why payments would not be reflected when someone owes less than the total “cost” of the ticket. The amount going to a payment processor should reflect a balance due.” I’m not entirely sure what you mean by this, but I think you’re referring to partial payments? If so, then Event Espresso does not currently support partial payments which might be why you are having issues here. |
|
The problem is not the partial payment, per se, it is how Paypal and EE don’t seem to get along. I got everything working and then suddenly, Paypal is no longer working at all. Reverted to STOCK and it’s still not working. I have STOCK EE loaded. No custom code AT ALL. And this happens: 1)Register
yet there is no accounting for it in my DB. 🙁 HELP!! |
|
Scratch that. It was an IP error. |
|
Hi Shannon, Does this mean that everything is working now? |
The support post ‘Payment Page After Registration shows wrong TOTAL OWED’ 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.