• Resolved pitfallindimate3746

    (@pitfallindimate3746)


    Hello.

    I am having an Invalid Stripe Token error on my custom theme in WP. But when I switch to a standard theme, all is OK.

    Can you point me, how to diagnose the problem.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, have you spoken to your theme developers about this issue? Your custom theme must be using a none WordPress standard code.

    Regards

    Thread Starter pitfallindimate3746

    (@pitfallindimate3746)

    Well, the custom theme was made by me. I wonder what part of it conflicts with the plugin.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, unfortunately I am not a theme developer. However check the following support thread. This might bring some light regarding your issue.

    Let me know how you go.

    Thank you.

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi @pitfallindimate3746.

    The problem is not with the plugin, but with your theme. For instance, I can’t see stripe-handler.js in page source code which is required for the plugin to operate. The file is required via standard WP means (wp_register_script() and wp_enqueue_script()). Looks like the code in your theme is not letting WP to process handlers for these hooks.

    I’m not familiar much with themes development, so can’t advice any further. But this definitely doesn’t look like plugin issue.

    Thread Starter pitfallindimate3746

    (@pitfallindimate3746)

    That is right. The problem was the absent of:

    <?php wp_head(); ?>
    <?php wp_footer(); ?>

    in the header and footer respectively. My fault.

    Sorry for bothering with this triviality and thanks for a great plugin.

    Plugin Support mbrsolution

    (@mbrsolution)

    I am happy to know you fixed your issue.

    Enjoy the plugin ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invalid Stripe Token on a custom theme’ is closed to new replies.