Viewing 1 reply thread
  • Author
    Posts
    • #48202
      Anonymous
      Inactive

      I installed the plugin. When I click the checkout button on my website, the page shows a lot of error code. Can somebody help me to solve this problem?

      like:
      Check Out
      Canada Post is in Development mode or WP DEBUG is on – note, returned services may not match those set in settings. Production mode will not have this problem. To hide these messages, turn off debug mode in the settings.

      Canada Post REQUEST:
      <?xml version=”1.0″ encoding=”UTF-8″?>
      <mailing-scenario xmlns=”http://www.canadapost.ca/ws/ship/rate”&gt;
      <parcel-characteristics>
      <weight>0.6</weight>
      <dimensions>
      <height>10</height>
      <width>11</width>
      <length>22</length>
      </dimensions>
      </parcel-characteristics>
      <origin-postal-code>L4B1H3</origin-postal-code>
      <customer-number>0008565088</customer-number>
      <destination>
      <domestic>
      <postal-code></postal-code>
      </domestic>
      </destination>
      </mailing-scenario>
      Canada Post RESPONSE:
      <?xml version=”1.0″ encoding=”UTF-8″?>

      <messages xmlns=”http://www.canadapost.ca/ws/messages”&gt;
      <message>
      Server
      <description>/rs/ship/price: cvc-simple-type 1: element {http://www.canadapost.ca/ws/ship/rate}postal-code of type {http://www.canadapost.ca/ws/ship/rate}PostalCodeType may not be empty</description></message></messages>
      Invalid request. Ensure a valid shipping destination has been chosen on the cart/checkout page.
      Have a coupon? Click here to enter your code
      Canada Post is in Development mode or WP DEBUG is on – note, returned services may not match those set in settings. Production mode will not have this problem. To hide these messages, turn off debug mode in the settings.
      Canada Post REQUEST:
      <?xml version=”1.0″ encoding=”UTF-8″?>
      <mailing-scenario xmlns=”http://www.canadapost.ca/ws/ship/rate”&gt;
      <parcel-characteristics>
      <weight>0.6</weight>
      <dimensions>
      <height>10</height>
      <width>11</width>
      <length>22</length>
      </dimensions>
      </parcel-characteristics>
      <origin-postal-code>L4B1H3</origin-postal-code>
      <customer-number>0008565088</customer-number>
      <destination>
      <domestic>
      <postal-code>M2J2V3</postal-code>
      </domestic>
      </destination>
      </mailing-scenario>
      Canada Post RESPONSE:
      <?xml version=”1.0″ encoding=”UTF-8″?>
      <price-quotes xmlns=”http://www.canadapost.ca/ws/ship/rate”><price-quote><service-code>DOM.EP</service-code><service-link rel=”service” href=”https://ct.soa-gw.canadapost.ca/rs/ship/service/DOM.EP?country=CA&#8221; media-type=”application/vnd.cpc.ship.rate+xml”/><service-name>Expedited Parcel</service-name><price-details><base>8.70</base><taxes><gst>0.00</gst><pst>0.00</pst><hst percent=”13.000″>1.11</hst></taxes><due>9.65</due><options><option><option-code>DC</option-code><option-name>Delivery confirmation</option-name><option-price>0</option-price></option></options><adjustments><adjustment><adjustment-code>FUELSC</adjustment-code><adjustment-name>Fuel surcharge</adjustment-name><adjustment-cost>0.56</adjustment-cost><qualifier><percent>7.0</percent></qualifier></adjustment><adjustment><adjustment-code>V1DISC</adjustment-code><adjustment-name>SMB Savings</adjustment-name><adjustment-cost>-0.72</adjustment-cost></adjustment></adjustments></price-details><weight-details/><service-standard><am-delivery>false</am-delivery><guaranteed-delivery>true</guaranteed-delivery><expected-transit-time>1</expected-transit-time><expected-delivery-date>2017-06-07</expected-delivery-date></service-standard></price-quote><price-quote><service-code>DOM.PC</service-code><service-link rel=”service” href=”https://ct.soa-gw.canadapost.ca/rs/ship/service/DOM.PC?country=CA&#8221; media-type=”application/vnd.cpc.ship.rate+xml”/><service-name>Priority</service-name><price-details><base>18.24</base><taxes><gst>0.00</gst><pst>0.00</pst><hst percent=”13.000″>2.36</hst></taxes><due>20.54</due><options><option><option-code>DC</option-code><option-name>Delivery confirmation</option-name><option-price>0</option-price></option></options><adjustments><adjustment><adjustment-code>FUELSC</adjustment-code><adjustment-name>Fuel surcharge</adjustment-name><adjustment-cost>1.19</adjustment-cost><qualifier><percent>7.0</percent></qualifier></adjustment><adjustment><adjustment-code>V1DISC</adjustment-code><adjustment-name>SMB Savings</adjustment-name><adjustment-cost>-1.25</adjustment-cost></adjustment></adjustments></price-details><weight-details/><service-standard><am-delivery>false</am-delivery><guaranteed-delivery>true</guaranteed-delivery><expected-transit-time>1</expected-transit-time><expected-delivery-date>2017-06-07</expected-delivery-date></service-standard></price-quote><price-quote><service-code>DOM.RP</service-code><service-link rel=”service” href=”https://ct.soa-gw.canadapost.ca/rs/ship/service/DOM.RP?country=CA&#8221; media-type=”application/vnd.cpc.ship.rate+xml”/><service-name>Regular Parcel</service-name><price-details><base>8.70</base><taxes><gst>0.00</gst><pst>0.00</pst><hst percent=”13.000″>1.11</hst></taxes><due>9.65</due><options><option><option-code>DC</option-code><option-name>Delivery confirmation</option-name><option-price>0</option-price><qualifier><included>true</included></qualifier></option></options><adjustments><adjustment><adjustment-code>FUELSC</adjustment-code><adjustment-name>Fuel surcharge</adjustment-name><adjustment-cost>0.56</adjustment-cost><qualifier><percent>7.0</percent></qualifier></adjustment><adjustment><adjustment-code>V1DISC</adjustment-code><adjustment-name>SMB Savings</adjustment-name><adjustment-cost>-0.72</adjustment-cost></adjustment></adjustments></price-details><weight-details/><service-standard><am-delivery>false</am-delivery><guaranteed-delivery>false</guaranteed-delivery><expected-transit-time>2</expected-transit-time><expected-delivery-date>2017-06-08</expected-delivery-date></service-standard></price-quote><price-quote><service-code>DOM.XP</service-code><service-link rel=”service” href=”https://ct.soa-gw.canadapost.ca/rs/ship/service/DOM.XP?country=CA&#8221; media-type=”application/vnd.cpc.ship.rate+xml”/><service-name>Xpresspost</service-name><price-details><base>9.55</base><taxes><gst>0.00</gst><pst>0.00</pst><hst percent=”13.000″>1.20</hst></taxes><due>10.46</due><options><option><option-code>DC</option-code><option-name>Delivery confirmation</option-name><option-price>0</option-price></option></options><adjustments><adjustment><adjustment-code>FUELSC</adjustment-code><adjustment-name>Fuel surcharge</adjustment-name><adjustment-cost>0.61</adjustment-cost><qualifier><percent>7.0</percent></qualifier></adjustment><adjustment><adjustment-code>V1DISC</adjustment-code><adjustment-name>SMB Savings</adjustment-name><adjustment-cost>-0.90</adjustment-cost></adjustment></adjustments></price-details><weight-details/><service-standard><am-delivery>false</am-delivery><guaranteed-delivery>true</guaranteed-delivery><expected-transit-time>1</expected-transit-time><expected-delivery-date>2017-06-07</expected-delivery-date></service-standard></price-quote></price-quotes>

    • #48275
      Anonymous
      Inactive

      Hi Jing,

      Those are the debug data showing on the checkout/cart page. You can turn that off in the plugin settings->Debug mode (uncheck the box).

      Let us know if you have any queries.

      Regards,
      Lorenzo
      Team Xadapter

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Scroll to Top