mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-30 04:04:21 +01:00
Shopify: Cancel rather than close an order (#6108)
This commit is contained in:
@@ -118,7 +118,7 @@ namespace BTCPayServer.Plugins.Shopify
|
||||
public async Task<ShopifyOrder> 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user