Closed carlosflorencio closed 7 years ago
Another option to get the info: http://www.pos.com.my/postal-services/quick-access/?track-trace
More info & possible solution: https://gist.github.com/iamfreee/292dd223a86576d5293ae07a596ace16
Another popup to choose the destination country:
(geartrack doesnt get any states)
https://gist.github.com/iamfreee/25e558dd9e1a5844df99ef9e775da84c
A temporary solution:
When the geartrack returns 0 states, we show a link to cainiao so the person can choose the right options. Website cache has to be aware of this and do not cache the response until the cainiao returns the states.
We can parse the options and ask to select the option on geartrack website. This avoids the user to go to another website.
Other way is to try to parse all the options until we get any good response. This way the user doesn't need to select anything.
Getting the info directly from malaysia pos site
Some ids are showing blank cainiao info on the geartrack website.
That's because it was necessary to choose the correct method (Malasya pos instead of others) in the cainiao website before it shows the correct info.
Affected id: RC104712375MY After choosing, the info on cainiao was displayed.