I logged out and in again. I then tried again with Bitcoin above 60k. It fails with 300, 500 and 1000 shares, but it worked with 100 shares.
Sorry, it's still a bug. Jesse from Amboss also reported that same. I'm unable to reproduce it on my side. But, we'll fix this. If its not too much to ask, can you please give details on browser, wallets, QR or WebLN (Alby). Just in case you don't want to share it here, I just created an issue tracker on GH: https://github.com/PREDYX/bug-tracker/issues
reply
bug
I am also getting a similar bug trying to bet no on US Elections for either Kamala or Trump will Win. Exact workflow:
  • click "bet no " on e.g. "Trump will win"
  • Change number of shares to 200
  • Click buy
  • I get on top the Toast "Prediction is not valid"
  • In addition I see in the console a bad request 400 error on the /api/predictions endpoint
When I try the same thing with the default value of 100 shares, it successfully shows me the lightning qr popup.
I am using Mullvad Browser.
reply
๐Ÿ™Thank you for reporting, added it to the bug tracker list.
reply
Google Chrome, Alby extension for login. I don't get presented with an invoice when this error occurs.
reply
We will test. We only tested Firefox with Alby.
reply
100 sats \ 1 reply \ @ek 27 Sep
I think ideally you'd want to test with Chrome, Firefox and Safari. I think every other browser will behave like one of them but they have the biggest differences among them.
If Chrome works, Brave should work too, for example.
reply
Yes will do. Added to issue tracker.
reply
Great, good luck
reply
Will inform you once this is fixed.
reply