I have a website built in Squarespace with a booking form that uses Design My Night.
The form POSTs to https://bookings.designmynight.com and uses the following to redirect back to a THANK YOU page on the squarespace site:
<script>
DMN.val('return_url', 'https://www.our-url.co.uk/thank-you');
DMN.val('return_method', 'post');
</script>
This is causing an error in the console:
Uncaught ReferenceError: DMN is not defined
I am told by Design My Night (Collins) that is because Squarespace/webserver and application cannot accept POST requests from the designmynight.com domain (including any subdomains).
Any ideas on how to rectify this? Is there a way to configure Squarespace for this?