karrioapi / karrio

Programmable Shipping API (self-hosted)
https://karrio.io
Apache License 2.0
541 stars 100 forks source link

Issues with Canada Post Manifesting Process #707

Open minchaminder opened 3 weeks ago

minchaminder commented 3 weeks ago

Description:

The current Canada Post manifesting process in Karrio has several critical issues impacting usability and functionality. These issues affect both the manifest generation and shipment selection process.

Steps to Reproduce:

  1. Submit a manifest with multiple shipments via the Canada Post integration.
  2. Attempt to view the manifest feedback and download the PDF.
  3. Use multiple Canada Post accounts and attempt to create manifests for shipments belonging to different accounts.
  4. Try to generate a manifest for more than 20 shipments on the current GUI setup.

Issues:

  1. No Feedback on Successful Manifest Submission: After successfully submitting a manifest, there is no feedback provided to the user in the GUI. This lack of confirmation leaves users uncertain if the manifest was processed correctly.

  2. Manifest PDF Fails to Load (Blank PDF): Upon attempting to view the manifest PDF, the PDF does not load and appears blank. The issue arises from the URL generated for the PDF, which should be fetched using the following API call:

    GET https://soa-gw.canadapost.ca/rs/{{canada_post_cust_number}}/{{canada_post_cust_number}}/manifest/{{canada_post_manifest_id}}

    This returns a list of artifact URLs,

  3. Account Selection Issue for Manifest Creation: For users with multiple Canada Post accounts, the system consistently uses the same account to create the manifest, regardless of which account the shipments belong to. This is problematic for businesses managing multiple Canada Post accounts and results in inability to create manifests.

  4. Record Limitation and Bulk Manifest Generation: The current GUI setup allows for a maximum of 20 records per page, limiting users to creating manifests with only up to 20 shipments at a time. This limitation is restrictive, especially when users need to manifest a larger batch of shipments. Additionally, there is no clear option to distinguish/filter shipments by Canada Post account in the GUI, making it difficult to manage shipments from different accounts in bulk.

Expected Behavior:

minchaminder commented 3 weeks ago

adding, perhaps also allow submitting manifest by group ID, Canada post actually recommends it this way, so instead of selecting unique shipments select group id and it will automatically include all shipments with that group id