Here's a few cosmetic tweaks. You can look at the individual commits for more details but the main improvement is validating the amount input so it no longer accepts zero or negative amounts. I haven't tested it extensively but I deployed it to https://infertux.com/labs/rsbp/pay.html if you want to give it a try.
I also added the recipient address in the table to allow visual confirmation on the buyer's phone. I find it reassuring myself but it might be unnecessary clutter. Let me know if you want me to remove this commit.
Finally, it'd be nice if you can link your GitHub repo to Travis CI for automated builds. I added a config file for it and you can see it in action for my fork there: https://travis-ci.org/infertux/RSBP For now, it's simply checking for code quality but some automated tests should be added as well eventually.
Here's a few cosmetic tweaks. You can look at the individual commits for more details but the main improvement is validating the amount input so it no longer accepts zero or negative amounts. I haven't tested it extensively but I deployed it to https://infertux.com/labs/rsbp/pay.html if you want to give it a try.
I also added the recipient address in the table to allow visual confirmation on the buyer's phone. I find it reassuring myself but it might be unnecessary clutter. Let me know if you want me to remove this commit.
Finally, it'd be nice if you can link your GitHub repo to Travis CI for automated builds. I added a config file for it and you can see it in action for my fork there: https://travis-ci.org/infertux/RSBP For now, it's simply checking for code quality but some automated tests should be added as well eventually.