<!DOCTYPE html>

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script>
        window.demoPayPalDomain = 'http://localhost.paypal.com:' + window.location.port;
    </script>
    <script src="../../dist/checkout.js" data-paypal-checkout data-env="demo"></script>
</head>

<body>
    <form action="./checkout.htm?token=EC-XXXXXXXXXXXXXXXXX" method="post">
        <button id="paypal-button">
            checkout
        </button>
    </form>

    <script>
        paypal.checkout.setup('merchant', {
            button: 'paypal-button'
        });
    </script>
</body>

Add dev demo for legacy form hijack case
Add dev demo for legacy form hijack case
