Posted: November 13, 2013 at 6:01 am
|
We’re following recommendations elsewhere in the forums to handle deposits: – Selling a “deposit” ticket for £100 The system correctly amends the total amount owing to £200. Great! However, when I send out an invoice with a link to the Payment Overview it incorrectly shows the amount owing as £300. Not just that, but when I try to pay via Paypal it also is looking for £300. In short, it ignores the payment already made! This is obviously a bug as the system should only ever be looking for the balance outstanding, not the original ticket price. Is there a workaround? Thanks. |
|
For the payment overview, you would need to use this code. <td><?php echo $org_options['currency_symbol'] ?><?php echo $total_cost ?> You need to change to: <td><?php echo $org_options['currency_symbol'] ?><?php echo $amount_pd . " / " . $amount_owed ?> Note that you’ll want to copy that template file to uploads/espresso/templates before altering, so that your customization will not get overwritten by the next update. |
|
Looking through the paypal code that determines the values passed to paypal, you have several options for how you would want to handle it. The problem is that for each attendee in a transaction, we store the original price of the attendee’s ticket, and the final price of the attendee’s ticket (after discount codes, etc). We then add up the final price for all the attendees and store that as the total_cost on the primary attendee, because they would presumably be the one responsible for paying for the entire transaction. But in order to make a pretty display on the paypal site when the user goes there to pay, we send Paypal itemized information on each attendee, including the original price of each ticket and the discount amount for each ticket. Paypal then does the adding up of all the tickets and displays that as the total price for the user. |
The support post ‘Amount Owed on Payment Overview Incorrect’ 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.