From 49cc4a77b11003d5995216b5f2ae0d1832c85de6 Mon Sep 17 00:00:00 2001 From: Angus Feng Date: Tue, 4 Nov 2025 09:22:09 +1100 Subject: [PATCH] fix(payment): PAYMENTS-11168 Update transaction created webhook order id to be string --- docs/integrations/webhooks/events/index.mdx | 2 +- docs/webhooks/callbacks/store_order_transaction_created.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/integrations/webhooks/events/index.mdx b/docs/integrations/webhooks/events/index.mdx index f1a90df7d..c16e12890 100644 --- a/docs/integrations/webhooks/events/index.mdx +++ b/docs/integrations/webhooks/events/index.mdx @@ -607,7 +607,7 @@ Payload objects with the following scopes take the form that follows: "store_id": "1025646", "data": { "type": "transaction", // will always be transaction - "order_id": 250, // ID of the order associated with the transaction + "order_id": "250", // ID of the order associated with the transaction "transaction_id": "176342342", // ID of the transaction; created by the payment provider "transaction_status": "complete", "transaction_type": "capture", diff --git a/docs/webhooks/callbacks/store_order_transaction_created.yml b/docs/webhooks/callbacks/store_order_transaction_created.yml index 3c216d4cd..6a1d59993 100644 --- a/docs/webhooks/callbacks/store_order_transaction_created.yml +++ b/docs/webhooks/callbacks/store_order_transaction_created.yml @@ -18,7 +18,7 @@ properties: type: object properties: order_id: - type: integer + type: string transaction_id: type: string type: