I created a pay button for Nxt, thanks to an idea from james (jl777).
You can test it here:
http://nxtra.org/pay-button/Limitations:
- Currently it's possible that someone else pays at the same time and you get the success message from him.. Of course this is not how it should be ;-) This is an alpha test. I will solve this by either: presenting a dialog where you enter your account ID and then checking that, or waiting for payments with descriptions to be added in NRS so as to identify the unique description.
- It's .. slow. First it has to wait for the next block to be able to confirm your transaction. This can take a long time sometimes. We are not yet at 1 minute a block consistently.
- If you want to wait for more than 1 confirmation, it's going to be slower still. as you will be waiting for x blocks.
Question is: will blocks and confirmations come faster in the future? How fast exactly?
And should I continue developing this? I think it's perhaps wiser to wait until payments with descriptions are out to continue. I could add an account ID entry field tho...
PS: don't mind the QR code, it's not set up properly. The copy address button also doesn't yet work.
Wesley