Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Canada Post Contribution - 2.2


BTBJ

Recommended Posts

I am trying to use this contribution, but when I go to checkout, it lists it as an error .. no shipping cost listed, contact admin and can go no further. I have an account with canada post eparcel.

 

Question: It says to chanege the CPCIP to my ID. Only one of the .php pages/files I loaded have that CPCIP in it (catalog/ijncludes/modules/shipping). Do I change all instances of it, or just one or what exactly, the instructions were not that clear.

 

Here is the code pieces

 

 

// set package configuration.

$strXML .= "<eparcel>\n";

$strXML .= " <language>" . $this->language . "</language>\n";

$strXML .= " <ratesAndServicesRequest>\n";

$strXML .= " <merchantCPCID>" . $this->CPCID . "</merchantCPCID>\n";

$strXML .= " <fromPostalCode>" . $this->_canadapostOriginPostalCode . "</fromPostalCode>\n";

$strXML .= " <turnAroundTime>" . $this->turnaround_time . "</turnAroundTime>\n";

$strXML .= " <itemsPrice>" . (string)$this->items_price . "</itemsPrice>\n";

 

Finally, do I need to change anything else??

 

Thank you for any help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...