What ACTIVE payment methods do you offer?
What are their names, as defined in the admin section of x-cart?
In short, the error is that the SQL statement does not know the ORDER # of the last order, which is kind of odd. There is a check that sees if the order_id param sent is empty, to reference from GLOBALS, but still coming up blank. I could modify to error cleanly and simply display the original onError, but I'd like to see if we can't figure out what's going in your situation...
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU
|