paypal/JavaScriptButtons — pull request #2 by mstuart (2012-11-16 07:48:29+00:00)
Title: Fix for QR code link

Pretty much have to encode the params and then encode the entire URL or the link is busted... because the whole URL itself is used as a param inside the img src.

Step 1: Encode params (won't work)
```
https://www.paypal.com/cgi-bin/webscr?button=qr&item_name=Buy%20from%20a%20QR%20code!&amount=1.00&business=6XF3MPZBZV6HU&cmd=_xclick&
```

Step 2: Encode entire URL (will work)
```
https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fbutton%3Dqr%26item_name%3DBuy%2520from%2520a%2520QR%2520code!%26amount%3D1.00%26business%3D6XF3MPZBZV6HU%26cmd%3D_xclick%26
```