diff --git a/src/locales/en.json b/src/locales/en.json index d6ab44d5..1804d4ec 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -97,6 +97,7 @@ "Fulfilled": "Fulfilled", "Fulfillment": "Fulfillment", "Fulfillment status": "Fulfillment status", + "Get Paid Transactions": "Get Paid Transactions", "Go to OMS": "Go to OMS", "Go to Launchpad": "Go to Launchpad", "Hard sync": "Hard sync", diff --git a/src/services/WebhookService.ts b/src/services/WebhookService.ts index b39221da..1b0c2045 100644 --- a/src/services/WebhookService.ts +++ b/src/services/WebhookService.ts @@ -20,8 +20,8 @@ const webhookParameters = { 'endpoint': 'cancelOrderShopifyWebhook' }, 'PAYMENT_STATUS': { - 'topic': 'orders/paid', - 'endpoint': 'orderPaidNotificationFromShopify' + 'topic': 'order_transactions/create', + 'endpoint': 'getTransactionAndMarkOrderPaid' }, 'RETURNS': { 'topic': 'refunds/create', diff --git a/src/views/Orders.vue b/src/views/Orders.vue index 78dab05a..91adf507 100644 --- a/src/views/Orders.vue +++ b/src/views/Orders.vue @@ -56,7 +56,7 @@ - {{ translate("Payment status") }} + {{ translate("Get Paid Transactions") }}