Error message too verbose/cryptic on "Create an Invoice" field validation
See original GitHub issueAs discussed with @Zaxounette on chat.btcpayserver.org, the error message returned after a failed validation of the Currency
field on the “Create an Invoice” page is a verbose log that is not suitable for nontechnical end users:
Elsewhere in BTCPay Server, the Currency
error message is simple and cogent:
In the interest of improving UI/UX as well as maintaining consistency with other parts of BTCPay Server, a simple “Invalid currency” message should suffice. The detailed error logs above could go in the internal logs (if they are not already).
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Primary Note: Invoice Validation Program Finishes In Error ...
Symptoms. Trying to validate invoices the following error messages can arise: 1) If the validation is performed using the On-Line validation:
Read more >Create Invoice in QuickBooks Online results in “A business ...
I am trying to have our webform from Squarespace automatically create a invoice in QBO. I keep getting following error message: “Test Action ......
Read more >Invoice Validation did not process Invoice Id Due to Tax Error
Invoice Validation Failing with the error message: Invoice Validation did not process Invoice Id Due to Tax Error (Doc ID 1518930.1).
Read more >Invoice Validation Error when sending invoices to Xero
User is trying to send CORE invoices to Xero, but gets the following errors: Invoice Validation ERROR - The description field is...
Read more >Getting a Tax Error Message When Exporting an Invoice to ...
Business Validation Error: Make sure all your transactions have a sales tax rate before you save. You've done all the options, but nothing...
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
@bolatovumar I think that error message makes sense. Perhaps we should document this as well so we can link to it for more in-depth explanation @Zaxounette @britttttk it’s a common error.
Yeah, the error message would have to be something generic like “Please make sure you entered a valid currency symbol, rate provider is configured in store settings and your configured rate provider is online and provides rates for your selected currency.”. It’s a bit long but should cover most cases?