Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Canada Post Contract shipping #557

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

bperkinson
Copy link

Canada Post has 2 distinct account types (small business & commercial). Each have a distinct way of creating shipments. The current implementation only allowed for small business accounts to create shipments.

Added functionality for Canada Post commercial shipments (using contract #)
Added functionality to create shipment with a bundled return label (commercial only function)
Fixed remote tests for non contract shipments
Added remote and unit tests for contract shipments

Bob Perkinson and others added 2 commits April 9, 2018 15:15
@bperkinson
Copy link
Author

The Canada Post test fail because they are using a enterprise account trying to ship using the small business services.

How can I change the accounts used for running the automated tests since they are in environment variables stored on the test machine?

test account for enterprise / contract shipping - https://www.canadapost.ca/cpo/mc/business/productsservices/developers/services/fundamentals.jsf#TestValues

There is no open world account for small business. It is however possible to sign up for one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants