karrio
karrio copied to clipboard
Canadapost cancel error (Void) is not behing catched
Describe the bug Canada post does not catch a void cancel error with empty message
<?xml version="1.0" encoding="UTF-8"?>
<messages xmlns="http://www.canadapost.ca/ws/messages"/>
as the docs say it return 404. I can't see the status code to be passed to the parse_error_response method
in addtion, we need to check if a menifest was already ishued, and if yes we need to do a shipmentrefund becouse a [voidshipment](https://www.canadapost-postescanada.ca/info/mc/business/productsservices/developers/services/shippingmanifest/voidshipment.jsf l) is not allowed after a manifest was issued
Wouldn't checking status codes be a good practice?