Re: Square WebPay support thread.
And Boom!, success. It turns out that in the product I chose, with the applied discount, for some reason the price has decimals that were not all 0. For other products I checked (still need to do exhaustive checks) that net always shows <something>.0000 (I tried removing the 0000 decimals but they re-occur when I load the inventory page for the product again) in which case integer JPY value results as expected.
So it seems that my test product was faulty, and possibly some production products as well judging by the single customer complaint I had which set off this investigation.
I should have investigated the actual request and response, I did not notive that they were both available in full, not just the 400 HTTP response.
I'll go back to my Japan local IP and see if there are any other errors now or whether the issue is potentially solved.
Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0