-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eshipper carrier and service mappings differ in prod #675
Comments
Hi @jacobshilitz, I collected the carrier and service data from this page on their Network calls on the page. I didn't know that they were different in production. Having the JSON file seems like a good idea because I spent hours trying to make sense of the Metadata and formatting for the enums and the rest. Having an exhaustive JSON file that has the full metadata would be useful to map it back. That said, we should take into account the unexpected. If they return a new carrier or service that the code is unaware of, we need to be able to capture the data as is and forward it for Rates. Even be able to generate labels. |
the same as I did..
we can't call it becouse that api need auth, that's makes me think that each reply is crafted based on user, also there is no canada post becouse its diabled on our account Did you miss my commit (it still need work becouse of the duplicate enums)? |
Introduced a new property `carrier_services_metadata` for retrieving carrier service information. This utility function makes a GET request to the carrier-services API and converts the response to a dictionary format for easier testing and validation. related: karrioapi#675
@danh91 please advice how you want to go about it, currntly eshipper is |
I am reviewing the data mapping again. But we basically need to add the production ids |
Introduced a new property `carrier_services_metadata` for retrieving carrier service information. This utility function makes a GET request to the carrier-services API and converts the response to a dictionary format for easier testing and validation. related: karrioapi#675
Thats correct, let me know what we do with the problem that they have they have duplicates and for enum we need to have only one same name, and that i'm not sure they show the data for everyone the same. I did some half baked code please review and let me know what aproich you would like to take |
The new eShipper integration has caused a regression where carrier mappings were lost, making the system unusable in its current state. PR #672 is in progress to address this issue, but it's not ready for deployment yet. |
apparently eshipper has different mapping in production than in development.
I was trying to play around here, (you did it by hand till now?)
my approach has two problems:
I was wondering that maybe we can just use the names they return in the API
serviceName
?@danh91 please let me know what you think about this.
Thanks
The text was updated successfully, but these errors were encountered: