I just came I across what I believe is a bug in the eWayPaymentProcess class.
In the ProcessPayment method the following line causes an error conversion.
eWAYRequest.InvoiceAmount = Convert.ToInt32(paymentInfo.OrderTotal);
When the order is $52.08, when converted using the above line its turned to 52, which I believe should be 5208.
I have done the following:
eWAYRequest.InvoiceAmount = Convert.ToInt32(paymentInfo.OrderTotal*100);
Can someone please clarify this?
Cheers,
Jalal