Connect.squareupsandbox.com refused to connect

I am trying to show up the Squareup Payment form in an iframe but it’s showing this error connect.squareupsandbox.com refused to connect.

Hi @manojms89 welcome to the forums!

Can you please share how you’re linking to the form? It should be like so:

<script type="text/javascript" src="https://js.squareupsandbox.com/v2/paymentform">
</script>

If that doesn’t help, can you provide screenshots of what exactly you’re seeing?

@sjosey Thanks for the reply.

I am not using the Payment Form, I will create a checkout URL using CURL after that I am trying to open the Checkout URL in an iframe.

Can you please clarify what you’re actually doing, then? In your first message you mentioned the Square payment form, so I’m a bit confused now. Can you share the code you’re using (without access tokens), and what error you’re receiving? Are you able to create a checkout successfully?