I try to send a form to and extern payment website. Unfortunately this is not possible because Ajax blocks this. Is it possible to get the values from Webflow to the payment website. If I do this with POST and GET we get an empty array.
The connection we want to make comes from this form: http://earz.webflow.io/pakketten/word-lid-muziekschool
Thanks a lot for getting in touch! At the moment, AJAX will only work for sites that are hosted on the same domain due to CORS restrictions in the browsers.
Basically, AJAX scripting is not allowed for cross-domain scripting to avoid cross-domain scripting attacks.
AJAX for a site hosted in Webflow, works if you embed a page from the same site.
Regarding the domain, if you want to link to the url http://betalen.earz.nl, in order for ajax to work, the domain will need to be hosted in Webflow setup on the hosting tab of site settings.
See more about using a custom domain with your Webflow site here: http://help.webflow.com/faq/how-to-set-up-a-custom-domain-with-your-webflow-site
If you would still like to use ajax with this url but it is an external site, and needs to stay that way, then another option may be to export the site from Webflow and host on your own server, where you can setup special CORS headers for the html pages, to allow for ajax scripts to be executed across domains.
I wish I could tell you that it was a simple matter to put together, but it is a little complex. Here is more info about enabling this kind of ability between different domains: http://techblog.constantcontact.com/software-development/using-cors-for-cross-domain-ajax-requests/