I am currently working to integrate the SquareUp Payment Gateway into a website, using Square Connect V2. However, when attempting to display the SqPaymentForm form in JavaScript, I encountered the following error:
paymentform:1 Uncaught Error: SqPaymentForm can only be embedded on sites that use HTTPS.
Although there is a function called setSSLVerification in the sample code, it does not seem to work and is also not found in the API documentation. Is there any way to disable SSL verification?
Is it possible to disable SSL verification, especially for a development server?
Update: After trying various unsuccessful methods, I eventually opted to purchase an SSL certificate for the development server as it proved to be the easiest and quickest solution. Thank you to everyone for your assistance.