Projekt

Allgemein

Profil

Aktionen

GX-Bug #70436

offen

interne Mails für Änderungen des Bestelstatus werden nicht gesendet, wenn man den Bestellstatus per API ändert und das Flag customerNotified setzt

Von Till Tepelmann vor etwa 1 Jahr hinzugefügt.

Status:
Gemeldet
Priorität:
Normal
Zugewiesen an:
-
Kategorie:
REST-API
Zielversion:
-
% erledigt:

0%

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

Beschreibung

interne Mails für Änderungen des Bestelstatus werden nicht gesendet, wenn man den Bestellstatus per API ändert und das Flag customerNotified setzt

Kann wie folgt reproduziert werden:

  1. Shop 4.8 installieren
  2. Eine Testbestellung im Shop durchführen
  3. per API den Endpunkt PATCH https://gambio-shop.de/shop1/api.php/v2/orders/{order_id}/status ausführen

Erwartetes Ergebnis:
Wenn man per API den Endpunkt für das Ändern des Bestellstatus per PATCH anspricht und das Flag customerNotified auf true setzt, sollten intern auch die Mail an den Kunden rausgesendet werden, dass sich der Status geändert hat

Tatsächliches Ergebnis:
Wenn man den Bestellstatus per API ändert und das Flag customerNotified auf true setzt, wird der Eintrag nur in der Datenbank gesetzt, eine Mail geht nicht raus


internal mails for order status changes are not sent when changing the order status via API and setting the customerNotified flag.

Can be reproduced as follows:

  1. install Shop 4.8
  2. make a test order in the shop
  3. execute via API the endpoint PATCH https://gambio-shop.de/shop1/api.php/v2/orders/{order_id}/status

Expected result:
Addressing via API the endpoint for changing the order status via PATCH and setting the customerNotified flag to true, should internally also send out the mail to the customer that the status has changed.

Actual result:
If you change the order status via API and set the flag customerNotified to true, the entry will only be set in the database, a mail will not go out


{
    "comment": "",
    "customerId": 1,
    "customerNotified": true,
    "dateAdded": "2015-11-06 12:22:39",
    "statusId": 1
}

Nichts anzuzeigen

Aktionen

Auch abrufbar als: Atom PDF