Projekt

Allgemein

Profil

Aktionen

GX-Bug #69813

geschlossen

Modul „Vorkasse Rabatt“ zeigt bei fehlerhafter Konfiguration einen Rabatt vor der Zahlartenauswahl | Module “Discount“ (ot_payment) can be misconfigured to show a discount before a payment method is selected

Von Marco Bruchmann vor fast 2 Jahren hinzugefügt. Vor fast 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Alexandre Ataides
Kategorie:
Checkout
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.5.3.1
Release Notes Langtext:

Das Zusammenfassungsmodul „Vorkasse Rabatt“ (ot_payment) wurde überarbeitet, so dass bei fehlerhafter Konfiguration kein Rabatt mehr angezeigt wird.


Beschreibung

Das Modul „Vorkasse Rabatt“ (ot_payment) berechnet irrtümlich einen Rabatt, wenn es nachlässig konfiguriert wird.

Schritte zum Reproduzieren:

  • Modul „Vorkasse Rabatt“ (ot_payment) installieren
  • Konfiguration des Moduls aufrufen
  • das Feld „erste Zahlungsart“ leeren („Erste Rabattstaffel“ muss eine gültige Rabattstaffel enthalten)
  • Konfiguration speichern
  • einen Artikel in den Warenkorb legen, zum Warenkorb gehen

Erwartetes Ergebnis:
Es wird kein Rabatt angezeigt.

Tatsächliches Ergebnis:
Es wird ein Rabatt angezeigt.

Hinweise:
• Problem tritt auf, wenn $_SESSION['payment'] === null gilt, also bevor eine Zahlart gewählt wurde.
• Bei Verwendung von PayPal (PayPal2Hub) wird der Rabatt unter Umständen auch an PayPal übermittelt.


The module "Prepayment discount" (ot_payment) erroneously calculates a discount if it is configured carelessly.

Steps to reproduce:

  • Install the module "Prepayment discount" (ot_payment).
  • Call up the configuration of the module
  • empty the field "first payment type" ("first discount scale" must contain a valid discount scale)
  • save configuration
  • add an item to the shopping cart, go to the shopping cart

Expected result:
No discount is displayed.

Actual result:
A discount is displayed.

Hints:

  • Problem occurs if $_SESSION['payment'] === null, i.e. before a payment method has been selected.
  • If PayPal (PayPal2Hub) is used, the discount may also be transmitted to PayPal.

Aktionen

Auch abrufbar als: Atom PDF