question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

payment request fails - payment requests are not working at the moment

See original GitHub issue

Payload to send to Electrum:

{'params': {'amount': 0.0021651117760957575, 'expiration': 1212}, 'method': 'addrequest', 'id': 'c6cf406e-0c4b-4eb7-b3d2-1712a4d3a553'}

Data received back from Electrum:

{'error': {'message': 'Invalid parameters: string argument without an encoding', 'code': -32602}, 'result': None, 'id': '2fd03026-d1ba-49c0-b781-dd30ee758c8d'}

This but looks similar to https://github.com/spesmilo/electrum/issues/3411 but it is not that simple, as with that patch electron-cash says:

{'error': {'message': 'Invalid parameters: b\'\\xfc\\\'w|.W\\xeb\\xd5\\xa3u\\x8a\\xc3\\x81v\\x91\\x7f\\x9c"\\xa7\\xd1\' is not JSON serializable', 'code': -32602}, 'result': None, 'id': '9e20dac3-52ac-4ace-b2c2-51f5cf2087b6'}

It looks roots of this issue are much deeper, unfortunately.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:35

github_iconTop GitHub Comments

1reaction
sercommented, Jul 19, 2018

Extremely useful as you can keep all memo fields across instances and installations. Server is pretty simple and code is public, electrum uses your MPK to encrypt data before sending to the server.

1reaction
sercommented, Jul 19, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Import Payables Payment Requests FAILS - Oracle Support
The issue can be reproduced at will with the following steps: 1. Run the Load Interface File and the import process selected was...
Read more >
Fix payment issues, such as declined or incomplete transactions
"Your transaction cannot be completed". A variety of different situations may trigger this message. Try these suggestions to resolve the issue:.
Read more >
The 3 Most Effective Ways to Deal With Failed Payments
1) Communicate the Failure. Customers may not be aware that their payment failed. While some issuing banks and systems automatically inform them ...
Read more >
Payment Requests - Square Developer
A payment request update (PaymentRequest.update) can only succeed when the expected Google Pay or Apple Pay payment sheet is not open. Otherwise, the...
Read more >
Apple Pay Programming Guide: Creating Payment Requests
Do not ask the user to perform any other tasks before presenting the payment request. For example, if the user needs to enter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found