diff --git a/src/Resources/app/administration/src/module/payone-notification-target/page/payone-notification-target-detail/index.js b/src/Resources/app/administration/src/module/payone-notification-target/page/payone-notification-target-detail/index.js index 22de21bd3..ecd605db7 100644 --- a/src/Resources/app/administration/src/module/payone-notification-target/page/payone-notification-target-detail/index.js +++ b/src/Resources/app/administration/src/module/payone-notification-target/page/payone-notification-target-detail/index.js @@ -116,8 +116,17 @@ export default { this.notificationTargetRepository.save(this.notificationTarget, Shopware.Context.api).then(() => { this.isLoading = false; this.isSaveSuccessful = true; + this.createNotificationSuccess({ + message: this.$tc( + 'payonePayment.notificationTarget.messages.successfullySaved' + ), + }); + if (this.notificationTargetId === null) { - this.$router.push({ name: 'payone.notification.target.detail', params: { id: this.notificationTarget.id } }); + this.$router.push({ + name: 'payone.notification.target.detail', + params: {id: this.notificationTarget.id} + }); return; } diff --git a/src/Resources/app/administration/src/module/payone-notification-target/snippet/de_DE.json b/src/Resources/app/administration/src/module/payone-notification-target/snippet/de_DE.json index 09fe70b91..329457017 100644 --- a/src/Resources/app/administration/src/module/payone-notification-target/snippet/de_DE.json +++ b/src/Resources/app/administration/src/module/payone-notification-target/snippet/de_DE.json @@ -2,16 +2,16 @@ "payonePayment": { "notificationTarget": { "module": { - "title": "Payone Notificationweiterleitungen", - "buttonTitle": "Notifications" + "title": "PAYONE Webhook-Weiterleitungen", + "buttonTitle": "Webhook Weiterleitungen" }, "list": { - "title": "Notificationweiterleitungen", + "title": "Webhook Weiterleitungen", "empty": "Keine Einträge", "buttonCreate": "Weiterleitungsziel anlegen" }, "detail": { - "headline": "Notificationweiterleitung", + "headline": "Webhook-Weiterleitung", "placeholder": { "url": "Url", "username": "Benutzer", @@ -36,7 +36,8 @@ "requeue": "Erneut senden" }, "messages": { - "success": "Die Weiterleitung wurde erfolgreich in Auftrag gegeben." + "success": "Die Weiterleitung wurde erfolgreich in Auftrag gegeben.", + "successfullySaved": "Das Weiterleitungsziel wurde erfolgreich gespeichert." } } } diff --git a/src/Resources/app/administration/src/module/payone-notification-target/snippet/en_GB.json b/src/Resources/app/administration/src/module/payone-notification-target/snippet/en_GB.json index 1d0e8102f..b6dc65737 100644 --- a/src/Resources/app/administration/src/module/payone-notification-target/snippet/en_GB.json +++ b/src/Resources/app/administration/src/module/payone-notification-target/snippet/en_GB.json @@ -2,16 +2,16 @@ "payonePayment": { "notificationTarget": { "module": { - "title": "Payone notification forward", - "buttonTitle": "Notifications" + "title": "PAYONE webhook forward", + "buttonTitle": "Webhook forwards" }, "list": { - "title": "Notification forward", + "title": "Webhook forward", "empty": "No entries", - "buttonCreate": "Add new notification target" + "buttonCreate": "Add new forward target" }, "detail": { - "headline": "Notification forward", + "headline": "Webhook forward", "placeholder": { "url": "Url", "username": "Username", @@ -36,7 +36,8 @@ "requeue": "Requeue" }, "messages": { - "success": "The notification forward has been successfully queued." + "success": "The notification forward has been successfully queued.", + "successfullySaved": "The forwarding target has been saved successfully." } } }