mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Checkout v2: Payment processing state (#4778)
This commit is contained in:
@@ -80,15 +80,13 @@ namespace BTCPayServer.Controllers
|
||||
}
|
||||
return UnprocessableEntity(new
|
||||
{
|
||||
ErrorMessage = response.ErrorDetail,
|
||||
AmountRemaining = invoice.Price
|
||||
ErrorMessage = response.ErrorDetail
|
||||
});
|
||||
|
||||
default:
|
||||
return UnprocessableEntity(new
|
||||
{
|
||||
ErrorMessage = $"Payment method {paymentMethodId} is not supported",
|
||||
AmountRemaining = invoice.Price
|
||||
ErrorMessage = $"Payment method {paymentMethodId} is not supported"
|
||||
});
|
||||
}
|
||||
|
||||
@@ -97,8 +95,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
return BadRequest(new
|
||||
{
|
||||
ErrorMessage = e.Message,
|
||||
AmountRemaining = invoice.Price
|
||||
ErrorMessage = e.Message
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user