Include event type codes for FedEx tracking events#325
Conversation
|
👍 other than red CI |
|
@kmcphillips Appears that all the fails are related to this change? My guess is there was some kind of an API change? |
There was a problem hiding this comment.
Why are you passing description twice?
There was a problem hiding this comment.
It was that, or pass nil. USPS opted to add description twice so I went with that.
There was a problem hiding this comment.
Is that for name and message respectively? https://github.com/Shopify/active_shipping/blob/master/lib/active_shipping/shipment_event.rb#L5
There was a problem hiding this comment.
Yeah, it's always been using description for name, I just went ahead and passed description for message as well instead of passing in nil.
|
After some digging, I've found out that the customer number added in #313 is for contract shipping (see: Test values for contract shipping, rating and returns. The customer number is for contract-shipping, which requires a contract number and a request built for contract-shipping. Our |
|
Thanks for the digging @jonathankwok. I'm fine with |
Include event type codes for FedEx tracking events
Include event type codes for FedEx tracking events
Problem
ShipmentEventsfor FedEx weren't initialized with their<EventType>s. This results in no status code being associated with aShipmentEvent.Solution
Save the
<EventType>, much like we do with USPSShipmentEvents.Review: @mdking @lucasuyezu @cyprusad