You will need to include the following script tags to load both Google Pay and EdgePay’s JS libraries:

Sandbox:

<script type="text/javascript" src="https://js.edgepayportal.com/2.0.0/js/sandbox/client.min.js"></script>

Production:

<script type="text/javascript" src="https://js.edgepayportal.com/2.0.0/js/prod/client.min.js"></script>

Google Pay API JavaScript Library:

<script async src="https://pay.google.com/gp/p/js/pay.js" onload="googlePayOnload()"></script>