mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
Shopify: Cancel rather than close an order (#6108)
This commit is contained in:
parent
859a8d1a11
commit
0eca1ddbf1
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ namespace BTCPayServer.Plugins.Shopify
|
||||||
public async Task<ShopifyOrder> CancelOrder(string orderId)
|
public async Task<ShopifyOrder> CancelOrder(string orderId)
|
||||||
{
|
{
|
||||||
var req = CreateRequest(_credentials.ShopName, HttpMethod.Post,
|
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);
|
var strResp = await SendRequest(req);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue