Exception on Payment Request
See original GitHub issueDescribe the problem/bug
I created an Payment Request over 0.00060004 BTC
.
I can open it in the Browser.
While pressing “Pay”, nothing happens.
Tested in Edge and Chrome.
Your environment
- Version of BTCPay Server: v1.0.3.81
- Deployment method: Docker (generated)
- Other relevant environment details:
Client Logs
{description: "An unexpected error occurred invoking 'Pay' on the server.", message: "An unexpected error occurred invoking 'Pay' on the server.", stack: "Error: An unexpected error occurred invoking 'Pay' on the server. at t.callbacks[] (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:17432) at n.prototype.processIncomingData (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:18521) at connection.onreceive (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:14825) at Anonymous function (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:44191) at s (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:40951) at Anonymous function (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:40241) at o (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:39:39973) at Anonymous function (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:6:145566) at Anonymous function (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:6:145437) at h (https://pay.lipperts-web.de/bundles/payment-request-bundle-1.min.js?v=9PoXkCmc-B9nIjymn-H0f9nBwoP3Hu1k8_PzGG1XOLU:6:105606)"}
Server Logs
2019-03-11 06:41:21.786 +00:00 [ERR] Failed to invoke hub method 'Pay'.
System.InvalidOperationException: No service for type 'Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory' has been registered.
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.AspNetCore.Mvc.Controller.get_TempData()
at Microsoft.AspNetCore.Mvc.Controller.View(String viewName, Object model)
at Microsoft.AspNetCore.Mvc.Controller.View(Object model)
at BTCPayServer.Controllers.PaymentRequestController.ViewPaymentRequest(String id) in /source/Controllers/PaymentRequestController.cs:line 223
at BTCPayServer.Controllers.PaymentRequestController.PayPaymentRequest(String id, Boolean redirectToInvoice, Nullable`1 amount, CancellationToken cancellationToken) in /source/Controllers/PaymentRequestController.cs:line 232
at BTCPayServer.PaymentRequest.PaymentRequestHub.Pay(Nullable`1 amount) in /source/PaymentRequest/PaymentRequestHub.cs:line 47
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, Object[] arguments)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.Invoke(HubMethodDescriptor descriptor, HubConnectionContext connection, HubMethodInvocationMessage hubMethodInvocationMessage, Boolean isStreamedInvocation)
To Reproduce Steps to reproduce the behavior:
- Go to ‘Payment Requests’
- Click on ‘Create a new payment request’
- Set the amount (
0.00060004 BTC
or0.0009001 BTC
for example) - Create it
- Open it (View)
- Click on “Pay”
Expected behavior I get an payment Dialog OR an proper warning.
Actual behavior Nothing happens (except the logs)
Screenshots/Links
Additional context
Regards, lippertsweb
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Exception Item: What it is, How it Works, Example
What Is an Exception Item? An exception item is a banking term used to describe a check or other payment that cannot be...
Read more >Exception Payment Request | Pepperdine University
An Exception Payment Request is required when the department or school does not follow the required procurement procedure.
Read more >What Is an Exception Item?
An exception item refers to a check or Automated Clearing House (ACH) payment that the financial institution can't process as usual.
Read more >How to Reduce the Cost of Payment Exceptions ...
Bill Payment Exception (BPE) is usually defined as a situation in which a Biller receives funds from a consumer, but is unable to...
Read more >Exception Payments Definition: 165 Samples
Exception Payments means payments to deposit accounts or brokerage accounts, payments to settle securities transactions (including, without limitation, stocks, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Releasing 1.0.8.82 soon… shoudl fix it
@NicolasDorier Thanks for the fast help. It works now 😃