Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi PostNL, we have exactly the same issue..

    The issue is that you’re using esc_url in the getTrackTraceUrl function in class-wcpost-admin.php, located in woo-postnl –> includes –> admin.
    This will set https:// in front of all values that you’re using in the sprintf.

    @rruyter until PostNL solves it, I was able to solve it by changing esc_url to rawurlencode on lines 782, 783, 784, 789, 790 and 791 in that file. Example below, hope this helps you:

    $trackTraceUrl = sprintf(
    https://jouw.postnl.nl/track-and-trace/%s/%s/%s’,
    rawurlencode($track_trace),
    rawurlencode($country),
    rawurlencode($postcode)

    mizou

    (@mizou)

    Same issue here

    Thread Starter rruyter

    (@rruyter)

    Thanks @rubenm1108

    For me the changes unfortunateky didnt work out satisfactory.

    So hoping for a quick plugin fix.

    MyParcel Support

    (@myparcelsupport)

    Hi!

    Thanks for pointing out this issue. We’ve noted it and hope to deliver a fix for this soon.

    MyParcel Support

    Plugin Author PostNL

    (@postnl)

    This should be fixed in 4.4.7 which was just released.

    Thread Starter rruyter

    (@rruyter)

    Thanks for the update. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Track and Trace misformed’ is closed to new replies.