Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

خطا در برگشت از درگاه پارسیان #338

Open
rezathecoder opened this issue Feb 13, 2023 · 0 comments
Open

خطا در برگشت از درگاه پارسیان #338

rezathecoder opened this issue Feb 13, 2023 · 0 comments
Assignees

Comments

@rezathecoder
Copy link

با سلام
در برگشت از درگاه پارسیان خطا اتفاق میافتد. لاگ نرم افزار به شرح زیر است:

info: Parbad.Internal.DefaultOnlinePayment[100]
Requesting the invoice 1000000007 is started
info: System.Net.Http.HttpClient.ParsianGateway.LogicalHandler[100]
Start processing HTTP request POST https://pec.shaparak.ir/NewIPGServices/Sale/SaleService.asmx
info: System.Net.Http.HttpClient.ParsianGateway.ClientHandler[100]
Sending HTTP request POST https://pec.shaparak.ir/NewIPGServices/Sale/SaleService.asmx
info: System.Net.Http.HttpClient.ParsianGateway.ClientHandler[101]
Received HTTP response headers after 17.6067ms - 200
info: System.Net.Http.HttpClient.ParsianGateway.LogicalHandler[101]
End processing HTTP request after 17.8127ms - 200
info: Parbad.Internal.DefaultOnlinePayment[100]
Requesting the invoice 1000000007 is finished
info: Parbad.Internal.DefaultOnlinePayment[101]
Fetching from the current HTTP request is started
fail: Parbad.Internal.DefaultOnlinePayment[101]
Fetching the invoice 1000000007 is finished. An error occurred during requesting
System.InvalidOperationException: Incorrect Content-Type:
at Microsoft.AspNetCore.Http.Features.FormFeature.ReadForm()
at Parbad.Gateway.Parsian.Internal.ParsianHelper.CreateCallbackResult(HttpRequest httpRequest, InvoiceContext context, MessagesOptions messagesOptions)
at Parbad.Gateway.Parsian.ParsianGateway.FetchAsync(InvoiceContext context, CancellationToken cancellationToken)
at Parbad.Internal.DefaultOnlinePayment.FetchAsync(Payment payment, CancellationToken cancellationToken)

نام و نسخه پکیج

  • Package Name: Parbad
  • Version: 3.9.0

نوع برنامه وب

  • ASP.NET CORE Web API 7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants