• Resolved dunkydoodle

    (@dunkydoodle)


    After updating to version 2.0.6 our thank you page displays an error in the code on the front end:

    (function(d,t,u,p,e,f){e=d.createElement(t);f=d.getElementsByTagName(t)[0]; e.async=1;e.src=u+’?’+p+’&’+Math.floor(Math.random()*999999);f.parentNode.insertBefore(e,f); })(document,’script’, ‘//upx.provenpixel.com/ujs.php’, ‘upx=12407&product_id=2186&order_id=EL112691&order_amount=128.00’); var track = new Image(); track.src=”//service.trafficroots.com/conversion/fcec8e3762?click_id=2186&amount=128.00″;

    I have switched back to previous version (2.0.4), and all is fine but wondering if authors are aware of this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @dunkydoodle

    We have checked it all the possible ways, in several different environments but was not able to reproduce the issue anyway as you mentioned.

    Maybe there is something else or any other plugin/theme conflicting with the new version. You can try activating the new version having the other plugins disabled(temporarily), to be sure if it’s a conflict or something else.

    Or you can directly contact our support center if you think you need help from our support team ??

    Thanks

    Hello, @thebengalboy.

    I have some error and I see my js code at thankyou page without script tag.
    At last 2.0.6 version I see this string:
    echo wp_kses_post( $this->process_order_markdown( $code['checkout'], $order_id ) );
    wp_kses_post destroys script tag and therefore we see such an error.
    I deleted it for the normal operation of my site.

    • This reply was modified 4 years, 10 months ago by vladimirl. Reason: add some comments

    Hello @vladimirl

    Let us have a look at the codes again, I’ll get back soon.

    Thanks for the cooperation ??

    Hello @vladimirl and @dunkydoodle

    Here is the possible fixes for now. Open the file .../woocommerce-conversion-tracking/includes/integrations/class-integration-custom.php Line: 72.

    Replace with this:
    wc_enqueue_js( $this->process_order_markdown( $code['checkout'], $order_id ) );

    We’ll add this to the core as well in the next update.

    Thanks

    Thread Starter dunkydoodle

    (@dunkydoodle)

    That worked for me, thank you!

    Great! Glad to hear it helped ??

    We also would love to hear your feedback about WooCommerce Conversion Tracking ??

    Thanks

    Hi there Mehedi,

    I hope you are doing well.

    Is there any ETA for when you will release a new version of the plugin with this fix.
    I would like to recommend this plugin to a few non-technical people but if they have to implement a code fix before it will work it won’t be of any use.

    Other than that it works as advertised.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Bug: Version 2.0.6’ is closed to new replies.