Dr. Byte:

I am using Zen Cart version 1.5.4.

On my install the admin/customers/orders/edit screen has always been wonky.

When the sale goes though in U.S. dollars the admin/customers/orders/edit screen is correct and everything is fine.

When I have a sale in Canadian funds the admin/customers/orders/edit screen is incorrect.

The product description line with pricing is correct in Canadian dollars.

The Subtotal line is incorrect. The price is displayed converted to U.S. dollars.

The shipping cost line is incorrect. The price is displayed converted to U.S. dollars.

The sales tax line is incorrect. The price is displayed converted to U.S. dollars.

The Grand Total amount is incorrect. The price is displayed converted to U.S. dollars.

I believe Square took the grand total amount for payment, but treated it as if it was Canadian funds. This made the payment incorrect by the amount of the currency conversion.

After posting my problem on the Square Payment Module forum, I reevaluated what had happened and thought that fixing my admin/customers/orders/edit screen may be a better approach to the problem.

I posted my issue about the admin/customers/orders/edit screen on the Managing Customers and Orders forum and mc12345678 helped me change the code for the admin/orders.php file which resolved the issue. The admin/customers/orders/edit screen now is correct in either USD or CDN.

I have not had time to retest the Square module yet to confirm that this change has corrected the issue. I will try to do that today.

Thank you for taking the time to help me. I will report back when I have retested the Square payments.

Dave H.