View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006398||OXID eShop (all versions)||2.6. Administer orders||public||2016-05-26 13:39||2016-06-10 11:49|
|Product Version||4.9.8 / 5.2.8|
|Target Version||Fixed in Version||4.10.0 / 5.3.0|
|Summary||0006398: Payment type charges are not deleted changed back to a type with no costs|
|Description||I tested this in demoshop.oxid-esales.com (PE 4.9.8) and a CE 4.9.7 installation.|
When you change the payment type from a type with payment tyoe costs (like Credit Card) back to a type with no costs (like Invoice or direct debit), the payment type costs are not delted from the order.
If I change from a cheaper payment type to a more expensive one, the higher costs are applied.
|Steps To Reproduce||Go to demoshop.oxid-esales.com|
Make an order with a costs free payment type (f.e. Pay in Advance).
Go to admin (Orders->Main; "Stamm" in German) and change payment type to one with costs (f.e. Credit Card).
See that payment type costs are applied to the orders (in this case it was 20,90 Euro).
Change payment type back to Pay in Advance.
See that there are still 20,90 Euro payment type costs in the order.
|PHP Version||Not defined|
|Database Version||Not defined|
||Just realized that those costs are not actually added to the total, but they are still shown everywhere, including the invoice PDF.|
Reproduced with an EE 5.2.8
I removed the tags "calculation" and "order recalculation" as the calculation of the total sum is correct.
If the price surcharge/reduction for a payment method is 0, when switching to this payment method in an order the payment fees of the old payment method is still displayed but the sum total is calculated correctly.
If the price surcharge/reduction for a payment method is <> 0, the surcharge/reduction for a payment is displayed correctly.