• Resolved FliperSClub

    (@flipersclub)


    Hi,

    The following script is being cut from its <script> container and showing under my checkout page.

    '); } else { $( this ).css( 'border-color', '' ); $( '.stripe-error-description', $( this ).parent() ).remove(); } }).change(); $( '#woocommerce_stripe_test_secret_key, #woocommerce_stripe_test_publishable_key' ).change(function(){ var value = $( this ).val(); if ( value.indexOf( '_live_' ) >= 0 ) { $( this ).css( 'border-color', 'red' ).after( '
    This is not a valid test key. Test keys start with "sk_test_" and "pk_test_".
    ' ); } else { $( this ).css( 'border-color', '' ); $( '.stripe-error-description', $( this ).parent() ).remove(); } }).change(); }); });

    It’s not happening with Twenty Sixteen, but I cant localise the problem within my theme. I tried renaming files, commenting out functions, one by one, but it won’t disappear… I know the code is in class-wc-gateway-stripe, but still I can’t figure it out.

    Any help would be truly appreciated.

    https://wordpress.org/plugins/woocommerce-gateway-stripe/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter FliperSClub

    (@flipersclub)

    UPDATE: I should have checked before, but after testing it on Safari and normal Chrome it seems it’s only happening on Chrome Canary.

    If someone can close the topic. Sorry about that!

    Plugin Support Praveen a11n

    (@spraveenitpro)

    Automattic Happiness Engineer

    Thanks for letting us know 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Script showing at bottom of page’ is closed to new replies.