In connection with the Amazon Pay Extension (M1) Creative Style fell on, that in the one and the other shop displaying and calculating the total sum / Gross total was wrong.
In the shop was deposited each, that stored in the catalog prices shown so the tax are already included. The tax rate is 19%.
In the order summary in your shopping cart yet everything is also displayed correctly. Taking the normal route via “Checkout” and uses a number of the local types, everything works fine. The gross amount is the total.
However one chooses Amazon pay out as payment method and is used in the Amazon Pay Checkout, falls on, that the total sum is briefly displayed correctly. Then the sum of loads in connection with the transfer of the shipment- and billing addresses new and from the former total is the subtotal. These then comes the tax rate, would have been correct for the actual gross amount, and it is then the new total. If we exclude the order from now, but is still the correct sum to Amazon sent the wrong but processed in Magento. So everything not nice.
After some debugging and investigation it turned out, that this is related to the transition to PHP 7 seems to have originated. Even in the current version of the Amazon Pay Extension (2.0.26) is the problem still there. Abholfe managed here the extension “PHP7Totalsfix” of Hartmut.
After installation and clearing the cache, the total amount was then correct and did not change.
Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!