What are the best JavaScript libraries to accept Bitcoin payments? I used search engine "accept bitcoin payments" and:


https://bitpay.com/ - top result in my google charges 1% fee and requires some verification
Stripe charges 0.8% - https://stripe.com/bitcoin - capped at $5


I'm actually looking for some home-grown solution as described here - How to accept BTC payments - but I cannot find anything...

And I don't want to apply "false economy" - Stripe checkout process is sleek, they must have optimised it a lot... But yeah, still looking for a drop-in library for accepting BTC payments?
A JavaScript library? JavaScript is client-side and accepting bitcoin payments is basically like creating a shopping cart system from scratch. So you're not going to get far with JavaScript alone unless you just want to accept donations by tossing up a QR code. People have tried to generate a thousand addresses on their wallet and then cycle through them using JavaScript (like this), but it's hopelessly insecure and allows for users to possibly pay to the same address. 

To create a shopping cart you'll need to use a server-side language like PHP, NodeJS, Python, Perl, etc. The easiest way is using a 3rd party API or you can do everything from scratch with a library. My personal fav is nodejs and bitcore, but this is usually too much for the average user. 

If you're looking for something much easier I suggest Mycelium Gear. They basically allow you to fill out a form with your product info and they'll give you a link to post on your site. 

Also if you're a wordpress developer I have heard good things about Cryptowoo in conjunction with Woocommerce. I have not tried it myself though.