I want the customer to be able to edit the amount they pay at paymate. That's simple enough by changing the amt_editable setting in the paymate module.
I can edit the order, etc, but by then the customer has already been sent an email by oscommerce confirming they have paid the unedited amount whereas they have actually paid a different amount. This is bound to confuse both me and the customer.
I need to feed the amount returned by paymate back into the order before the email is sent.
Thanks for the test info.