Default my address is L6V4K9 and I have used CPC_DEMO_XML (default Canada Post key):
Zip / Postal Code:
Country:
Quantity:


Enter your Product Info below:

Price:

Weight:
Length:
Width:
Height:  
setPrice($_POST['price']); $cPost->setCustomer( array( 'city' => $_POST['city'], 'provOrState' => $_POST['prov'], 'country' => $_POST['country'], 'postalCode' => $_POST['postal'] ) ); $cPost->addProduct ( array ( 'quantity' => $_POST['quantity'], 'weight' => $_POST['weight'], 'length' => $_POST['length'], 'width' => $_POST['width'], 'height' => $_POST['height'], 'description' => ' ' ) ); $assoc_Array = $cPost->getRates('array'); if( $assoc_Array === false ) { echo 'Error: ' . $cPost->getErrorMessage(); } else { // echo "
";
//		var_dump( $assoc_Array );
//		echo "
"; ?>
Shipping Type
Rate ($)
Est. Shipping Date
Est. Delivery Date
".$eachProduct['name']."
"; echo "
$".$eachProduct['rate']."
"; echo "
".$eachProduct['shippingDate']."
"; echo "
".$eachProduct['deliveryDate']."
"; echo "
"; } ?>

Sending XML Below:
".htmlentities($cPost->getSendXML())."
"; // echo "ResponseXML Below:
".htmlentities($cPost->getResponseXML())."
"; } } } ?>