• Resolved vishalplexcis

    (@vishalplexcis)


    Getting Error! Nonce Security Check Failed! on stripe gateway form submit. I have added custom code of stripe in child theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    I haven’t seen that error before, so it’s very likely to be related to the custom code.

    Can you please strip out the custom code and test again?

    Thread Starter vishalplexcis

    (@vishalplexcis)

    I have added script in child theme provided by stripe gateway. script is as follows:-

    <form action="" method="POST">
    <script
        src="https://checkout.stripe.com/checkout.js" class="stripe-button"
        data-key="Publishable_key" // Replace with your Publishable key
        data-image=""
        data-name="Test"
        data-description="Subscribe video"
        data-amount="500">
    </script>
    </form>

    After fill all details of account and click on submit, it redirects ho home and shows this error.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    I’m afraid we don’t support custom code added to the plugin – but I can help you if you’re using the standard plugin that we offer.

    Can you please try it without the custom code?

    Thread Starter vishalplexcis

    (@vishalplexcis)

    I have used woocommerce subscription plugin for membership and used stripe. I have membership functionality in my purchased theme, but don’t have the per video purchase functionality so i had to add custom code in child theme. I am not getting why nonce error occur even i have not add any nonce field in my code. Stuck with it badly need to resolve.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    I understand that you’re stuck – it’s a frustrating place to be in. Unfortunately, we can only support our products and as we release them.

    Here’s how I recommend testing to narrow down the issue:

    Issues like this may be caused by either a conflict with your theme or with another plugin. You can read more about plugin and theme conflicts here:
    https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:

    1. Temporarily switch your theme back to the Twenty Sixteen theme.
    2. Disable all plugins except for <b>WooCommerce and Stripe.</b>
    3. Test to see if the issue has been resolved.

    If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict.

    Can you please let us know how that goes?

    Thread Starter vishalplexcis

    (@vishalplexcis)

    Its a conflict with another plugin. I have deactivated that and the error has gone.Thanks but What is the reason of the conflict , its was showing the nonce error.

    Thanks much for support ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting Error! Nonce Security Check Failed!’ is closed to new replies.