Open abhinavv245 opened 5 months ago
/on_confirm
/on_cancel
/on_cancel
@sajithjayaram
We resolved the issue and submitted the changes as a new PR
@abhinavv245 @sandeepshahi
/on_status
/on_cancel
/on_status
/on_cancel
@sajithjayaram
We fixed the issues highlighted and submitted the updated as new PR. We've verified using the utility you provided and didn't find any problems. If you come across any, could you tell us which utility you're using?
@abhinavv245 @sandeepshahi @RupalSingla
Flow 2:
/on_update:
/on_track:
TAT breach - on_cancel:
RTO cancel - on_cancel:
@iamsajith - pls fix the above & share only relevant logs when done;
/on_update:
/on_status*:
@iamsajith
issues mentioned above are fixed @BLR-0118 @abhinavv245 @sandeepshahi
updated logs are submitted as a new PR @BLR-0118 @abhinavv245 @sandeepshahi
Group A (flow 2) - ok; Group B (TAT breach) - ok;
Group B (Cancel - RTO) issues:
/on_cancel:
/on_status (rto disposed):
@iamsajith - pls resubmit Group B (cancel - RTO) flow;
@iamsajith As per the discussion on call, elaborating on the points above.
/on_status
/on_cancel
issues highlighted above are fixed @BLR-0118 @abhinavv245 @sandeepshahi
/on_confirm:
/track:
/on_cancel_rto_dispose:
not sure if correct order trail is being maintained e.g.
@sajithjayaram - pls fix above & resubmit;
The delivery time we have provided is the estimated time provided by Google and calculated using GPS locations. However, we are now planning to add buffer time specific to each region.
In the case of an RTO scenario, the delivery agent can cancel the order upon reaching the location. Only if the order remains undelivered, can the delivery agent cancel it, and at that point, the correct start address would be the buyer's location.
@BLR-0118 @abhinavv245
Below are the fixes we have made in this pull request
/on_confirm
Removed the pickup timestamp provided, even though the fulfillment state is Pending.
Fixed: Pickup and delivery timeslots didn't align with the average pickup time (25 min) and TAT (26 min). Pickup timeslot was set from 11:29:36 to 11:54:36. Assuming the worst case, i.e., pickup happening at 11:54:36, delivery would occur between 11:54:36 and 11:55:36 (i.e., 0-1 min S2D TAT). The delivery time provided is the estimated time from Google, calculated using GPS locations. We plan to add buffer time specific to each region.
/track
/on_cancel_rto_dispose
Fixed addresses in /on_confirm to show the correct start/end locations.
For RTO fulfillment, the correct start address should be somewhere between the start and end addresses mentioned above. In the case of an RTO scenario, the delivery agent can cancel the order upon reaching the location. Only if the order remains undelivered can the delivery agent cancel it. At that point, the correct start address would be the buyer's location.
Order Trail Maintenance
The problem is that "quote.ttl" was missing in the /on_confirm API while it was present in the /on_init and /on_status APIs. Even though it wasn't needed in /on_confirm according to the API contract, we added it there to make things consistent, as you asked.
Fixed fulfillment.tracking to be true in the /on_cancel API for forward shipment, as it was previously false.
@BLR-0118 @abhinavv245 @sandeepshahi
/on_cancel (RTO)
@sajithjayaram Kindly update here once fixed.
updated pull request is here
@BLR-0118 @abhinavv245 @sandeepshahi
Delivered Flow
/on_search
/init
/on_init
/on_confirm
/on_status
RTO Flow
/on_cancel
@sajithjayaram