Deployed a package to npm so disregard previous code snippet. This one is better.

1 <script src="https://unpkg.com/plebpay-utils@1.0.7/dist/index.js" type="text/javascript"></script> 2 <script> 3 window.PlebPay.redirectIfNecessary('https://www.plebpay.com/c5bc98ff-a386-45ba-9b99-c3b16da9cdaf') 4 </script>