mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Greenfield: Remove unused checkout type setting from POS (#5512)
Cam across this while browsing the API docs: The checkout type setting isn't used for the POS, so we should simply remove it as this is configured on the store-level.
This commit is contained in:
parent
04292d09e1
commit
b31f1812d2
4 changed files with 1 additions and 7 deletions
|
@ -42,7 +42,6 @@ namespace BTCPayServer.Client.Models
|
|||
public bool? Archived { get; set; } = null;
|
||||
public string FormId { get; set; } = null;
|
||||
public string EmbeddedCSS { get; set; } = null;
|
||||
public CheckoutType? CheckoutType { get; set; } = null;
|
||||
}
|
||||
|
||||
public enum CrowdfundResetEvery
|
||||
|
|
|
@ -291,8 +291,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||
EmbeddedCSS = request.EmbeddedCSS,
|
||||
RedirectAutomatically = request.RedirectAutomatically,
|
||||
RequiresRefundEmail = BoolToRequiresRefundEmail(request.RequiresRefundEmail) ?? RequiresRefundEmail.InheritFromStore,
|
||||
FormId = request.FormId,
|
||||
CheckoutType = request.CheckoutType ?? CheckoutType.V1
|
||||
FormId = request.FormId
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -113,6 +113,5 @@ namespace BTCPayServer.Services.Apps
|
|||
public string NotificationUrl { get; set; }
|
||||
public string RedirectUrl { get; set; }
|
||||
public bool? RedirectAutomatically { get; set; }
|
||||
public CheckoutType CheckoutType { get; internal set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -903,9 +903,6 @@
|
|||
"description": "Whether refund email is required when paying the invoice. Defaults to what is set in the store settings",
|
||||
"nullable": true
|
||||
},
|
||||
"checkoutType": {
|
||||
"$ref": "#/components/schemas/CheckoutType"
|
||||
},
|
||||
"formId": {
|
||||
"type": "string",
|
||||
"description": "Form ID to request customer data",
|
||||
|
|
Loading…
Add table
Reference in a new issue