Luminate API - CORS Failure Firefox Only!!

Options
Hello Hivemind,


I'm hoping one of you has seen this issue before.


We have setup a very basic Survey form API on a clients wordpress website and everything works perfectly EXCEPT in Firefox.


When you try to submit the form in Firefox the constituent fails to be created/updated in the system and the console logs the following error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://secure3.convio.net/CLIENT/site/CRConsAPI?luminateExtend=1.7.1&api_key=open_CLIENT&method=getLoginUrl&response_format=json&v=1.0. (Reason: CORS request did not succeed).

We have tried many ways to get a different result - but we can't seem to resolve this


We've tried this submit against our sandbox account and our clients account. We have also tried submitting from multiple domains / hosting etc. Always the same issue.


Has anyone else run into this issue before? If so were you able to get around it?


Thanks in advance!


Best,

Erik



Tagged:

Comments

  • Erik Rubadeau:

    Hello Hivemind,


    I'm hoping one of you has seen this issue before.


    We have setup a very basic Survey form API on a clients wordpress website and everything works perfectly EXCEPT in Firefox.


    When you try to submit the form in Firefox the constituent fails to be created/updated in the system and the console logs the following error:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://secure3.convio.net/CLIENT/site/CRConsAPI?luminateExtend=1.7.1&api_key=open_CLIENT&method=getLoginUrl&response_format=json&v=1.0. (Reason: CORS request did not succeed).

    We have tried many ways to get a different result - but we can't seem to resolve this


    We've tried this submit against our sandbox account and our clients account. We have also tried submitting from multiple domains / hosting etc. Always the same issue.


    Has anyone else run into this issue before? If so were you able to get around it?


    Thanks in advance!


    Best,

    Erik



    Erik,


    Do you have an example of a page where this is happening? It sounds like the requesting domain is not whitelisted?

  • Noah Cooper:

    Erik Rubadeau:

    Hello Hivemind,


    I'm hoping one of you has seen this issue before.


    We have setup a very basic Survey form API on a clients wordpress website and everything works perfectly EXCEPT in Firefox.


    When you try to submit the form in Firefox the constituent fails to be created/updated in the system and the console logs the following error:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://secure3.convio.net/CLIENT/site/CRConsAPI?luminateExtend=1.7.1&api_key=open_CLIENT&method=getLoginUrl&response_format=json&v=1.0. (Reason: CORS request did not succeed).

    We have tried many ways to get a different result - but we can't seem to resolve this


    We've tried this submit against our sandbox account and our clients account. We have also tried submitting from multiple domains / hosting etc. Always the same issue.


    Has anyone else run into this issue before? If so were you able to get around it?


    Thanks in advance!


    Best,

    Erik



    Erik,


    Do you have an example of a page where this is happening? It sounds like the requesting domain is not whitelisted?



    Thanks for the lightning fast response Noah.


    In the footer of this site -
    http://bcspca.ca/ there is an email signup. This one will produce the error we are seeing.


    We're pretty sure we do have the IP and domain listed in LO - but perhaps we're missing something obvious.


    thanks!

    Erik

  • Erik Rubadeau:


    Noah Cooper:

    Erik Rubadeau:

    Hello Hivemind,


    I'm hoping one of you has seen this issue before.


    We have setup a very basic Survey form API on a clients wordpress website and everything works perfectly EXCEPT in Firefox.


    When you try to submit the form in Firefox the constituent fails to be created/updated in the system and the console logs the following error:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://secure3.convio.net/CLIENT/site/CRConsAPI?luminateExtend=1.7.1&api_key=open_CLIENT&method=getLoginUrl&response_format=json&v=1.0. (Reason: CORS request did not succeed).

    We have tried many ways to get a different result - but we can't seem to resolve this


    We've tried this submit against our sandbox account and our clients account. We have also tried submitting from multiple domains / hosting etc. Always the same issue.


    Has anyone else run into this issue before? If so were you able to get around it?


    Thanks in advance!


    Best,

    Erik



    Erik,


    Do you have an example of a page where this is happening? It sounds like the requesting domain is not whitelisted?



    Thanks for the lightning fast response Noah.


    In the footer of this site -
    http://bcspca.ca/ there is an email signup. This one will produce the error we are seeing.


    We're pretty sure we do have the IP and domain listed in LO - but perhaps we're missing something obvious.


    thanks!

    Erik

    The JavaScript that's bound to the submit event for #gform_18 does not call event.preventDefault, so the native submit event is firing and redirecting the browser before the AJAX request can succeed. You'd need to call event.preventDefault(), then use window.location to redirect to the thank you page.
  • Noah Cooper:

    Erik Rubadeau:


    Noah Cooper:

    Erik Rubadeau:

    Hello Hivemind,


    I'm hoping one of you has seen this issue before.


    We have setup a very basic Survey form API on a clients wordpress website and everything works perfectly EXCEPT in Firefox.


    When you try to submit the form in Firefox the constituent fails to be created/updated in the system and the console logs the following error:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://secure3.convio.net/CLIENT/site/CRConsAPI?luminateExtend=1.7.1&api_key=open_CLIENT&method=getLoginUrl&response_format=json&v=1.0. (Reason: CORS request did not succeed).

    We have tried many ways to get a different result - but we can't seem to resolve this


    We've tried this submit against our sandbox account and our clients account. We have also tried submitting from multiple domains / hosting etc. Always the same issue.


    Has anyone else run into this issue before? If so were you able to get around it?


    Thanks in advance!


    Best,

    Erik



    Erik,


    Do you have an example of a page where this is happening? It sounds like the requesting domain is not whitelisted?



    Thanks for the lightning fast response Noah.


    In the footer of this site -
    http://bcspca.ca/ there is an email signup. This one will produce the error we are seeing.


    We're pretty sure we do have the IP and domain listed in LO - but perhaps we're missing something obvious.


    thanks!

    Erik

    The JavaScript that's bound to the submit event for #gform_18 does not call event.preventDefault, so the native submit event is firing and redirecting the browser before the AJAX request can succeed. You'd need to call event.preventDefault(), then use window.location to redirect to the thank you page.

    Thanks Noah. That did it.


    very much appreciated.


    E

Categories