From c9687622e9c071296202dc572288dacf1c854cd5 Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Mon, 15 Jul 2024 21:57:12 +0900 Subject: [PATCH] Shopify: Cancel rather than close an order (#6108) --- BTCPayServer/Plugins/Shopify/ShopifyApiClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Plugins/Shopify/ShopifyApiClient.cs b/BTCPayServer/Plugins/Shopify/ShopifyApiClient.cs index 44717bfa2..2f3539472 100644 --- a/BTCPayServer/Plugins/Shopify/ShopifyApiClient.cs +++ b/BTCPayServer/Plugins/Shopify/ShopifyApiClient.cs @@ -118,7 +118,7 @@ namespace BTCPayServer.Plugins.Shopify public async Task CancelOrder(string orderId) { var req = CreateRequest(_credentials.ShopName, HttpMethod.Post, - $"orders/{orderId}/close.json", null, "2024-04"); + $"orders/{orderId}/cancel.json?restock=true", null, "2024-04"); var strResp = await SendRequest(req);