Closed phoenix-schwarz closed 5 months ago
see: https://github.com/PAYONE-GmbH/magento-1/pull/408 (it fixes an issue introduced in this code)
Thanks for the patch! Are you sure though that #408 is the right reference here? It's concerned with RatePay, that got me confused.
Sorry, meant #407 ;-)
All right! We'll probably incorporate this change in the PR we're preparing for the feature toggle.
The difference calculation should be based on "rounded" values and total cents, to avoid a seldom rounding issue discovered from our logging. See comment in the code and try it yourself. I'm not sure if there is a cleaner way to do the calculation.
Try: