• Resolved kelixirr

    (@kelixirr)


    Hi, why is the script not working on the page? I am using the correct code

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    if you’re referring to the razorpay-integration; jnews seems to be configured to deferring that JS (and more);

    
    <script>var jnewsoption = jnewsoption || {}; jnewsoption.au_scripts = [{"url":"https:\/\/stats.wp.com\/s-202252.js","defer":true},{"url":"https:\/\/checkout.razorpay.com\/v1\/payment-button.js","defer":true},{"url":"https:\/\/stats.wp.com\/e-202252.js","defer":true},{"url":"https:\/\/inkscribblers.com\/wp-content\/cache\/autoptimize\/js\/autoptimize_615aab8cfeeaa399192762c74aa62c6c.js","defer":true}];

    disable that functionality and razorpay should work (AO does not touch 3rd party JS)

    if you’re referring to another issue: what error do you see and/ or exactly what on the page is not working as expected kelixirr ?

    frank

    Thread Starter kelixirr

    (@kelixirr)

    Hi,I am facing issue with the Razorpay only. What should I do?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Well, as I wrote; Autoptimize is not causing the issue, it’s your theme that is deferring the razorpay JS, so you’ll have to re-configure your theme options really ..

    Thread Starter kelixirr

    (@kelixirr)

    Ok, no problem I have solved it differently.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Script error’ is closed to new replies.