Hi,
I am trying to get the IFrame to work locally. I have tried several of the examples that have been presented in the forum already: https://codepen.io/gareth-dsouza/pen/RwPjBXJ, https://codepen.io/gareth-dsouza/pen/PoPEypO, https://codepen.io/gareth-dsouza/pen/MWKbWwv..
When I run them with my PAKMS key through the codepen environment, all the examples work correctly. However, when I run them locally, they are not working. The below screenshot is an example of what I see locally.
As you can see the field text is missing and I don't get the "Secure Payments Powered by Clover" message at the bottom.
I am importing the .js and .css files in my HTML file like this:
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <script type="text/javascript" src="/js/cloverIFrame.js"></script> <link href="/css/cloverIFrame.css" rel="stylesheet"/> <script src="https://checkout.clover.com/sdk.js"></script> <title>Testing Clover IFrame</title> </head>
What is going wrong?
Thanks.