Ajax – HTTPS request via AJAX from HTTP page


Would there be any problems calling an HTTPS page (e.g. a credit card authorisation service i.e. WorldPay) from a standard HTTP page via AJAX?

I can't imagine why there would be a problem, the response would be an HTML page which I could then embed in a result pane or such like?

Best Solution

Yes this would be a Cross domain posting and would be blocked by the browser.