• Resolved lucfortin

    (@lucfortin)


    Hi there

    just installed the plugin (2.2) and after entering pretty much all required information, got this error on check out in the calculation of the price for shipping

    Failed loading XML

    in the Debug mode boxes…

    Hide debug contents
    Latest Request XML Latest Response XML

    No Data Found No Data Found

    can you please provide a hint of where to look and what to look for

    thank you

    https://ww.wp.xz.cn/plugins/eshop-shipping-extension/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi lucfortin,

    Can I safely assume you’re using the Canada Post API?

    • Is debug turned on?
    • Does the eshop-shipping-extension directory have correct write permissions? i.e. can the web server write to the directory? This is important otherwise the debug xml files won’t be stored (hence the no data found messages)
    Thread Starter lucfortin

    (@lucfortin)

    Thank you for the quick answer

    the Canada Post API, hummmmmmm…. that would be what I need, but with your answer, I guess I haven’t installed it correctly.

    I will go and find that out.

    As for debug, yes
    write permission, yes

    thank you…

    Imight come back for where to look to install API (do have an account on Canada Post)

    Thread Starter lucfortin

    (@lucfortin)

    Hoooo… after looking correctly, the write permission were not set… now they are… still fail loading XML but now I have a log

    <?xml version=”1.0″?>
    <mailing-scenario xmlns=”http://www.canadapost.ca/ws/ship/rate”&gt;
    <quote-type>counter</quote-type>
    <parcel-characteristics>
    <weight>0.600</weight>
    <dimensions>
    <length>41.0</length>
    <width>41.0</width>
    <height>20.5</height>
    </dimensions>
    </parcel-characteristics>
    <origin-postal-code>changed</origin-postal-code>
    <destination>
    <domestic>
    <postal-code>G1H6X3</postal-code>
    </domestic>
    </destination>
    </mailing-scenario>

    will look into the API

    thank you again

    Plugin Author useStrict

    (@usestrict)

    This plugin is an extension to eShop plugin. It won’t work with any other plugin (such as WooCommerce). For this to work, you will have to register with the Canada Post Developer program and save your credentials within the plugin settings. The explanation is in the Canada Post box in the settings page.

    Thread Starter lucfortin

    (@lucfortin)

    Thank you again…

    I am reading Canada post as we speak…. heee.. write…

    will answer shortly

    thanks

    Thread Starter lucfortin

    (@lucfortin)

    After installing the API keys (is there any thing else to install)

    still have the same message but in a drop down menu

    Plugin Author useStrict

    (@usestrict)

    Are you running eShop in test or production mode? The XML above is for the request. It’s showing <origin-postal-code>changed</origin-postal-code>. Is that something you changed to show ‘changed’? Also, what’s in the response log?

    Thread Starter lucfortin

    (@lucfortin)

    Yes I do not want to post it online

    As for the respond log… it is empty

    <?xml version=”1.0″?>
    <mailing-scenario xmlns=”http://www.canadapost.ca/ws/ship/rate”&gt;
    <customer-number>***REMOVED***</customer-number>
    <parcel-characteristics>
    <weight>0.200</weight>
    <dimensions>
    <length>12.4</length>
    <width>12.4</width>
    <height>12.4</height>
    </dimensions>
    </parcel-characteristics>
    <origin-postal-code>H1H1H1 (changed)</origin-postal-code>
    <destination>
    <domestic>
    <postal-code>G1H6X3</postal-code>
    </domestic>
    </destination>
    </mailing-scenario>

    as for the answer : No data found

    I an runing eshop on an WordPress local server 4.1 and both are live running (not testing / demo)

    thanks

    Plugin Author useStrict

    (@usestrict)

    Try running it under test instead of live. I’m saying this because it takes up to 24 hours for Canada Post API to enable live credentials. Under test, if things haven’t changed, you should see all services having the same price (a little over $9.00). If you do, then things are working as they should and it’s just a matter of time before your production account gets enabled.

    Thread Starter lucfortin

    (@lucfortin)

    Well… try a lot of things and didn’t work

    here’s the full log

    <?xml version=”1.0″?>
    <mailing-scenario xmlns=”http://www.canadapost.ca/ws/ship/rate”&gt;
    <customer-number>***REMOVED***</customer-number>
    <parcel-characteristics>
    <weight>3.000</weight>
    <dimensions>
    <length>20.5</length>
    <width>20.5</width>
    <height>20.5</height>
    </dimensions>
    </parcel-characteristics>
    <origin-postal-code>H7X3X2</origin-postal-code>
    <destination>
    <domestic>
    <postal-code>H7X3X2</postal-code>
    </domestic>
    </destination>
    </mailing-scenario>

    still get failing loading XML

    I must have done something wrong because the Latest Response XML is still no data found.

    thanks

    Plugin Author useStrict

    (@usestrict)

    Please create an admin account for me using vinny [at] usestrict [dot] net so I can have a look at your settings.

    Plugin Author useStrict

    (@usestrict)

    I haven’t heard back. Closing the ticket as resolved.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Error : Failed loading XML’ is closed to new replies.