Код: Выделить всё
public async Task FinallyBuyProduct1()
{
var result = await _payment.Request(new DtoRequest()
{
Mobile = "09121112222",
CallbackUrl = "https://localhost:44310/home/validate",
Description = "توضیحات",
Email = "farazmaan@outlook.com",
Amount = 1000000,
MerchantId = "",
}, ZarinPal.Class.Payment.Mode.sandbox);
return Redirect($"https://zarinpal.com/pg/StartPay/{result.Authority}");
}
Код: Выделить всё
JsonReaderException: Unexpected character encountered while parsing value:
Подробнее здесь: [url]https://stackoverflow.com/questions/79051180/jsonreaderexception-unexpected-character-encountered-while-parsing-value[/url]