• Resolved Matthias Günter

    (@mguenter)


    Hey!

    Here is one of the developers behind Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent – WordPress plugin | www.remarpro.com ????

    We want to make our plugin compatible with your Ninja Forms plugin, but we cannot successfully use the provided consent functionality (reference).

    I have added the following coding:

    document.addEventListener("nf_consent_status_check", function (e) {
    const { consent_state, services } = nfFrontEnd.nf_consent_status_response;
    consent_state.push(
    window.consentApi.consentSync("http", "_GRECAPTCHA", "*").cookieOptIn
    );
    services.push("rcb");
    });

    document.addEventListener("nf_consent_link", function (e) {
    if (e.detail.services.includes("rcb")) {
    window.consentApi.consent("http", "_GRECAPTCHA", "*").then(() => {
    setTimeout(() => {
    console.log(grecaptcha);
    nf_reload_after_cookie_consent(
    e.detail.submitFieldID,
    e.detail.layoutView
    );
    }, 1000);
    });
    }
    });

    But we always get the following error: https://i.imgur.com/cAks9sl.png. grecaptcha is definitively available before nf_reload_after_cookie_consent, as you can see in the console log.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Faisal Ahammad

    (@faisalahammad)

    Hey Matthias,

    Good morning. I hope you’re doing great.

    We’d love to try and help you make Real Cookie Banner work with Ninja Forms. I understand you’re facing some issues with the consent functionality.

    Could you please open a support ticket on our website? This will allow our team to look into the issue more thoroughly and see how we can assist you.

    Looking forward to hearing from you.

    Best regards,
    Faisal

    Thread Starter Matthias Günter

    (@mguenter)

    Send email via https://ninjaforms.com/ninja-forms-sales/ as otherwise I need an accout on your platform. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.