View Issue Details

IDProjectCategoryView StatusLast Update
0006398OXID eShop (all versions)2.6. Administer orderspublic2016-06-10 11:49
ReporterAlban Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.9.8 / 5.2.8 
Fixed in Version4.10.0 / 5.3.0 
Summary0006398: Payment type charges are not deleted changed back to a type with no costs
DescriptionI 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 ReproduceGo 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.
TagsAdmin, Order
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

Alban

2016-05-26 13:49

reporter   ~0011604

Just realized that those costs are not actually added to the total, but they are still shown everywhere, including the invoice PDF.

QA

2016-05-27 08:12

administrator   ~0011606

Last edited: 2016-05-27 08:18

Reproduced with an EE 5.2.8

I removed the tags "calculation" and "order recalculation" as the calculation of the total sum is correct.

QA

2016-06-08 15:56

administrator   ~0011633

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.

hendrikfreytag

2016-06-08 16:20

reporter   ~0011634

https://github.com/OXID-eSales/oxideshop_ce/pull/401