Seems CP have changed the way sellonline works and will no longer issue merchant IDs.
They told me I had to join the development program and I would get API keys from there???
I asked what about existing websites that use merchant id's (I have 4) and was told 'they will all have to change'.

Pretty frightening if true!
I signed up for the developers program and was assigned api keys (a hex username:password) but I have no idea if the new system will work with the existing CP module or not.

I am just rolling out a new site for a client who wants Canadapost and dont know how to procede. Would be grateful for a response from you TR as to the status of the module versus the new CP System.

Comments

TR’s picture

Existing merchant IDs still work with this module. Mine does, at least. CP did drastically change their API a few weeks ago and I'm in the process of updating this module to use the new API, but I'm doing it in my spare time so I can't promise any specific date for when it will be done. The current module should still work because they haven't turned off the old API yet.

jimboh’s picture

Thanks for the update. Yes all my existing ids are working ok at the present. Thanks for updating the module (I couldn't believe the attitude at CP, it was change or be damned!!). If you need any help testing the updates let me know.

sonoutlaw’s picture

I am available for testing too.

jhurst’s picture

Version: 7.x-2.0 » 6.x-1.1
Category: support » task
Priority: Major » Normal

we have also just started to use this module and didn't realize the CP API had changed

we signed up and got a developer account with API access but I also called CP directly and asked them to issue us a merchant CPC ID, which they did with no problem at all

we're also available for testing the new API when it's ready

TR’s picture

Version: 6.x-1.1 » 7.x-2.x-dev
crooker-1’s picture

So do we know if the old system is no longer working?

I am developing an Ubercart for a client of mine, and she called and got a merchant ID yesterday with CP.

the id looks like this: CPC_CLIENT_NAME

They also provided a password which was exactly the same.

given that there is no password option in the CP-Shipping module, and I could not obtain a shipping quote, I'm assuming the old method is now obsolete?

Please let me know, 'cuz I'm getting no status messages except for: "There were problems getting a shipping quote. Please verify the delivery and product information and try again. If this does not resolve the issue, please call in to complete your order."

And, of course, no quotes.

TR’s picture

Who said the old system is no longer working? Nobody in this thread ...

I just tested and still works for me. "There were problems" is the generic Ubercart message when no applicable quotes were provided by any of the shipping methods you have enabled. I suggest googling that message to find the hundreds of posts which have discussed how to debug Ubercart shipping.

crooker-1’s picture

I never said "It's no longer working". I just asked if it was no longer working for anyone, because it currently isn't working for me... and I'm not sure if it's because the module no longer works (my motivation for this post) or because of a configuration error on my part.

You say it's still working for you, but I don't know if that's because you have an old account that hasn't been turned off or not.

I received a new CPC and password, but can't get it to generate and return a shipping quote properly... so I was just asking to see if there were any similar experiences, and to see if a new account would work with this module or not. That's all. shrug

Unfortunately, a generic error message doesn't give me much to go on to troubleshoot, unfortunately. But I'll keep looking.

Thanks.

cmgdesign’s picture

Priority: Normal » Major

I'm desperately trying to get the Canada Post Module working. I've applied patches etc. and nothing is working. I called Canada Post to see if they could make sure they have me set up properly and they do. But I get no quotes at all - not even a message that says "There were problems..." My UPS shipping is working but the prices are very high so I'd like to offer Canada Post as well. With the debugging on I see this:

<?xml version="1.0" ?><eparcel><language>en</language><ratesAndServicesRequest><merchantCPCID>CPC_company_name</merchantCPCID><fromPostalCode>L1M1A2</fromPostalCode><turnAroundTime>48</turnAroundTime><itemsPrice>26.99</itemsPrice><lineItems><item><quantity>1</quantity><weight>0.2</weight><length>1</length><width>1</width><height>1</height><description>1 item</description><readyToShip /></item></lineItems><city>Port Perry</city><provOrState>ON</provOrState><country>CA</country><postalCode>L9P1M8</postalCode></ratesAndServicesRequest></eparcel>


<?xml version="1.0" encoding="UTF-8"?>
<AccessRequest xml:lang="en-US">
  <AccessLicenseNumber>licensenumber</AccessLicenseNumber>
  <UserId>UserID</UserId>
  <Password>password</Password>
</AccessRequest>

<?xml version="1.0" encoding="UTF-8"?>
<RatingServiceSelectionRequest xml:lang="en-US">
  <Request>
    <TransactionReference>
      <CustomerContext>Complex Rate Request</CustomerContext>
      <XpciVersion>1.0001</XpciVersion>
    </TransactionReference>
    <RequestAction>Rate</RequestAction>
    <RequestOption>rate</RequestOption>
  </Request>
  <PickupType>
    <Code>01</Code>
  </PickupType>
  <CustomerClassification>
    <Code>03</Code>
  </CustomerClassification>
  <Shipment>
    <Shipper>
      <ShipperNumber>A16A21</ShipperNumber>
      <Address>
        <City>Brooklin</City>
        <StateProvinceCode>ON</StateProvinceCode>
        <PostalCode>L1M 1A2</PostalCode>
        <CountryCode>CA</CountryCode>
      </Address>
    </Shipper>
    <ShipTo>
      <Address>
        <StateProvinceCode>ON</StateProvinceCode>
        <PostalCode>L9P 1M8</PostalCode>
        <CountryCode>CA</CountryCode>
      <ResidentialAddressIndicator/>
      </Address>
    </ShipTo>
    <ShipFrom>
      <Address>
        <StateProvinceCode>ON</StateProvinceCode>
        <PostalCode>L1M 1A2</PostalCode>
        <CountryCode>CA</CountryCode>
      </Address>
    </ShipFrom>
    <ShipmentWeight>
      <UnitOfMeasurement>
        <Code>LBS</Code>
        <Description>Pounds</Description>
      </UnitOfMeasurement>
      <Weight>1.0</Weight>
    </ShipmentWeight>
    <Service>
      <Code>11</Code>
      <Description>UPS Standard</Description>
    </Service>
    <Package><PackagingType><Code>02</Code></PackagingType><Dimensions><UnitOfMeasurement><Code>IN</Code></UnitOfMeasurement><Length>7.00</Length><Width>6.00</Width><Height>1.00</Height></Dimensions><PackageWeight><UnitOfMeasurement><Code>LBS</Code><Description>Pounds</Description></UnitOfMeasurement><Weight>1.0</Weight></PackageWeight></Package></Shipment>
</RatingServiceSelectionRequest> 

 <?xml version="1.0"?>
<RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>11</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>27.65</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>CAD</CurrencyCode><MonetaryValue>27.65</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode/><MonetaryValue/></TransportationCharges><ServiceOptionsCharges><CurrencyCode/><MonetaryValue/></ServiceOptionsCharges><TotalCharges><CurrencyCode/><MonetaryValue/></TotalCharges><Weight>1.0</Weight><BillingWeight><UnitOfMeasurement><Code/></UnitOfMeasurement><Weight/></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

It looks like it's trying to pull a quote - but I'm not sure what's happening! I'm not sure that it's a port issue since I don't see any error message.
Can anyone help me out?
thanks!

end user’s picture

Hi

Seems the update has stalled a bit and users can't use CP module atm with new accounts as it uses the new keys. Can you contact me with a $ quote to get this done. Commerce has one going but I have no desire to go with Commerce and would rather go with a non Drupal option if need be as the site is small.