ONDC-Official / v1.2.0-logs

Retail and Logistics Logs for 1.2.0
9 stars 245 forks source link

Tonetag (SA: RET11)- Compliance check #205

Open sahil-ondc opened 9 months ago

sahil-ondc commented 9 months ago

search_inc_refresh

on_search_full_catalog_refresh

on_search_inc_refresh

select

on_select

on_init

on_confirm

on_status

@JagadeeswarDevalla

jagadeeswar577 commented 8 months ago

@sahil-ondc

we have been submitted the revised logs in the below PR for retail too.

https://github.com/ONDC-Official/v1.2.0-logs/pull/250/commits

It's been merged also, and we have received few feedbacks for logistic flow.

But no updates on Retails logs yet, so please check and let us know if there are any feedbacks.

Thanks

jagadeeswar577 commented 8 months ago

@sahil-ondc any updates here?

sahil-ondc commented 8 months ago

Group A

Flow 1

search_inc_refresh

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

Flow 2

on_select

on_init

on_confirm

on_status

on_track

Flow 3

on_select_out_of_stock

on_status

Group B

Flow 4 and Flow 5

on_cancel

@jagadeeswar577

sahil-ondc commented 7 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

Flow 2

select

on_select

on_init

Flow 3

on_select (out-of-stock)

Flow 4 and Flow 5

on_cancel

@jagadeeswar577

sahil-ondc commented 7 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

other flows

on_select

on_confirm

@jagadeeswar577

nishthamongaondc commented 6 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc_refresh

Flow 3

confirm

@jagadeeswar577

jagadeeswar577 commented 6 months ago

@nishthamongaondc

1) We are not clear with the below feedbacks.

**same category_id as on_search_full_catalog_refresh should not be sent in on_search_inc_refresh**
**Similar Item as in /on_search_full_catalog_refresh api call, item id- 13691084**

What do you mean by that?

For what ever categories or items present in the **on_search_full_catalog_refresh**, if there are any updates happen to them only those will be sent in **on_search_inc_refresh** responses right? 

So what is your feedback is referring to?

2) Regarding /message/order/fulfillments/0 must have required property 'tracking' in Confirm API, the payload is coming from Buyer APP, how we as a Seller App can fix that??

nishthamongaondc commented 6 months ago

Hi Jagadeeswar, Yes, if there are any updates only then it should be sent in incremental search. In your case, this item 13691084 was repetitive. Same goes for category_id.

Thank You

With Regards Nishtha Monga

On Tue, 20 Feb 2024 at 14:23, Jagadeeswar @.***> wrote:

@nishthamongaondc https://github.com/nishthamongaondc We are not clear with the below feedbacks.

same category_id as on_search_full_catalog_refresh should not be sent in on_search_inc_refresh Similar Item as in /on_search_full_catalog_refresh api call, item id- 13691084

What do you mean by that?

For what ever categories or items present in the on_search_full_catalog_refresh, if there are any updates happen to them only those will be sent in on_search_inc_refresh responses right?

So what is your feedback is referring to?

— Reply to this email directly, view it on GitHub https://github.com/ONDC-Official/v1.2.0-logs/issues/205#issuecomment-1953741203, or unsubscribe https://github.com/notifications/unsubscribe-auth/BD3YNK2QL2HSPKNFKEFW5B3YURQADAVCNFSM6AAAAABAHIDHV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTG42DCMRQGM . You are receiving this because you were mentioned.Message ID: @.***>

jagadeeswar577 commented 6 months ago

Hi Nishtha ,

Thanks for the reply related to our point 1.

Please clarify on our point 2 in above comments, so that we can proceed ahead from our end.

Thank you!

nishthamongaondc commented 6 months ago

Hi,

Which point are you referring to for further clarification?

Thank You

With Regards Nishtha Monga

On Tue, 20 Feb 2024 at 16:46, Jagadeeswar @.***> wrote:

Hi Nishtha ,

Thanks for the reply related to our point 1.

Please clarify on our point 2 in above comments, so that we can proceed ahead from our end.

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/ONDC-Official/v1.2.0-logs/issues/205#issuecomment-1953994838, or unsubscribe https://github.com/notifications/unsubscribe-auth/BD3YNKZIANKSX5LOIWQFI5LYUSAYBAVCNFSM6AAAAABAHIDHV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTHE4TIOBTHA . You are receiving this because you were mentioned.Message ID: @.***>

jagadeeswar577 commented 6 months ago

Hi,

Regarding

/message/order/fulfillments/0 must have required property 'tracking' in Confirm API,

the payload is coming from Buyer APP, how we as a Seller App can update / fix that?

Thanks

sahil-ondc commented 6 months ago

@jagadeeswar577 You can ignore this issue, and proceed for the other fixes and resubmission

jagadeeswar577 commented 6 months ago

Thank you @sahil-ondc for the update.

As per above confirmation we will submit the Retails logs for Flow-1 with the suggested feedback.

Regards Jagadeeswar

jagadeeswar577 commented 6 months ago

@nishthamongaondc

Regarding below feedback

on_search_full_catalog_refresh

We couldn't find Origin tag fields any where in the document for F&B Catalog. But we can see it in the Document for Grocery Catalog Payload.

So as our payloads are F&B Only, let us know what we need to do here for this feedback??

@sahil-ondc

Thanks

nishthamongaondc commented 6 months ago

Hi,

Kindly check the API Contract : https://docs.google.com/document/d/1brvcltG_DagZ3kGr1ZZQk4hG4tze3zvcxmGV4NMTzr8/edit#heading=h.4b1aemczbswx Tags are required in both bpp/providers and bpp/descriptor

Thank You

With Regards Nishtha Monga

On Wed, 21 Feb 2024 at 16:29, Jagadeeswar @.***> wrote:

@nishthamongaondc https://github.com/nishthamongaondc

Regarding below feedback

on_search_full_catalog_refresh Origin tag fields are missing for item

We couldn't find Origin tag fields any where in the document for F&B Catalog. But we can see it in the Document for Grocery Catalog Payload.

So as our payloads are F&B Only, let us know what we need to do here for this feedback??

Thanks

— Reply to this email directly, view it on GitHub https://github.com/ONDC-Official/v1.2.0-logs/issues/205#issuecomment-1956398963, or unsubscribe https://github.com/notifications/unsubscribe-auth/BD3YNK5D4SFCPS5YIO7W35DYUXHSNAVCNFSM6AAAAABAHIDHV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWGM4TQOJWGM . You are receiving this because you were mentioned.Message ID: @.***>

nishthamongaondc commented 6 months ago

Flow 2

on_init

on_status_packed

@jagadeeswar577

jagadeeswar577 commented 6 months ago

@nishthamongaondc

Why we receiving Feedbacks now for Flow-2?? as per this comment https://github.com/ONDC-Official/v1.2.0-logs/issues/205#issuecomment-1954060864 , we resubmitted logs for flow 1 as there were no feedbacks on any other flows

@sahil-ondc

jagadeeswar577 commented 6 months ago

Hi Team,

Can you let us know your updates on the above comments please.

1) We have submitted ONLY Flow-1 logs in the last commit as per your last feedbacks https://github.com/ONDC-Official/v1.2.0-logs/issues/205#issuecomment-1954060864

2) Why we receiving now few Feedbacks for Flow-2, as there were no comments earlier for the same?

Flow 2: on_init: context/timestamp difference between /ON_INIT and INIT should be greater than 5 sec .... We are not clear about this feedback. Where we have any reference in the ONDC docs referring this kind of instructions?

Flow 2: on_status_packed

We have been submitted on_status logs for below cases, which will be generated from Logistic app to us asynchronously.

  1. Agent Assigned
  2. Order Picked Up
  3. Out For Delivery
  4. Order Delivered

So please review the same and let us know your feedback for us.

@nishthamongaondc @sahil-ondc @BLR-0118

Thanks

sahil-ondc commented 6 months ago

Flow 2

confirm

on_confirm

Flow 5

on_cancel

@jagadeeswar577

jagadeeswar577 commented 6 months ago

@sahil-ondc

In the above feedback, For Flow 5 : on_cancel

/message/order/fulfillments/1 should have state 'Return_Initiated' (provided: RTO-Initiated)

In the document it has values for that attribute as enum - "RTO-Initiated", "RTO-Delivered", "RTO-Disposed";

But you are saying to have state value to be 'Return_Initiated'

We are not clear about this, can you clarify us reg this?

Thanks

sahil-ondc commented 5 months ago

Flow 1

on_search

Flow 5

on_cancel

Flow 6

@jagadeeswar577

sahil-ondc commented 5 months ago

Flow 1

on_search_inc

Flow 5

on_cancel (RTO)

on_status (rto-delivered)

Flow 6

@jagadeeswar577

sahil-ondc commented 4 months ago

Flow 1

on_search (full_catalog)

on_search (inc_catalog)

Flow 5

on_select

on_confirm

on_status

on_cancel

on_status (rto-delivered)

Flow 6

on_update

on_status (packed)

@jagadeeswar577

jagadeeswar577 commented 4 months ago

@sahil-ondc

Regarding below feedback

Flow 6

on_status (packed) @ondc/org/settlement_details should have refund settlement details of partial cancellation

We have already included the said details.

Screenshot 2024-04-16 at 11 41 40 AM

Attached log files below for ref

https://github.com/ONDC-Official/v1.2.0-logs/blob/master/ToneTag/Retail-Logs/Group-C/h.%20update_settlement_for_seller_partial_cancel.json

https://github.com/ONDC-Official/v1.2.0-logs/blob/master/ToneTag/Retail-Logs/Group-C/j.%20on_status_packed.json

Please let us know if anything missing here?

jagadeeswar577 commented 4 months ago

Hi @sahil-ondc

Please let us know if there are any feedbacks, for the latest retail logs submitted by fixing the recent comments

https://github.com/ONDC-Official/v1.2.0-logs/tree/master/ToneTag/Retail-Logs

Thank You.

Jagannath-wits commented 4 months ago

ToneTag (SA) :RET:11

Flow 2

select

on_select

on_init

confirm

on_confirm

on_status_pending

on_status_picked

on_status_out_for_delivery

on_status_delivered

Flow 3

select_out_of_stock

Flow 4

on_cancel

Flow 5

on_cancel

Flow 6

on_update_part_cancel

on_status_packed

on_update_approval

on_update_picked

on_update_delivered

on_update_liquidated

@jagadeeswar577

jagadeeswar577 commented 3 months ago

@Jagannath-wits

We have submitted Retail Logs for Flow-2, Flow-3, Flow-4, Flow-5, Flow-6 with latest feedback fixes. PR: https://github.com/ONDC-Official/v1.2.0-logs/pull/1637

We have tested the flows using log validation tool and below are reference screen shots with success.

Screenshot 2024-05-17 at 12 44 32 PM

Screenshot 2024-05-17 at 12 44 40 PM

Screenshot 2024-05-17 at 12 44 55 PM

Screenshot 2024-05-17 at 12 46 43 PM

For Flow 5 we received below report from the tool

"on_cancel": { "invldQuoteTrailPrices": "quote_trail price and item quote price sum for on_cancel should be equal to the price as in on_confirm", "RTOfulfillment.end": "RTO fulfillment end object is missing in on_cancel", "RTO.end.location/DeliveryFulfillment.start.location": "RTO fulfillment end or Delivery fulfillment start location is missing in on_cancel" }

In the above errors,

"invldQuoteTrailPrices": "quote_trail price and item quote price sum for on_cancel should be equal to the price as in on_confirm". It seems invalid as quote will change when order is cancelled and added return logistic charges.

"RTOfulfillment.end": "RTO fulfillment end object is missing in on_cancel", "RTO.end.location/DeliveryFulfillment.start.location": "RTO fulfillment end or Delivery fulfillment start location is missing in on_cancel"

For above 2 errors When order status is return_initiated, we don't need to add end location object as per API doc.

Thanks Jagadeeswar

Jagannath-wits commented 3 months ago

ToneTag : RET:11

Flow 1

On Search

Flow 2

On Status Packed

On Status Picked

On Status Out For Delivery

On Status Delivered

Flow 3

Flow 5

On Cancel

InvldQuoteTrailPrices: Quote trail price and item quote price sum for on_cancel should be equal to the price as in on_confirm.

  • The sum of the quote and quote_trail for on_cancel should match the quote for on_confirm. Regardless of whether logistics are added or not.

RTOfulfillment.end: RTO fulfillment end object is missing in on_cancel.

  • You can verify in the on_cancel (RTO flow) whether the end object indicates RTO fulfillment in the documentation. It is not explicitly stated that this information should not be provided. Additional details are specified for cases involving RTO-disposed and RTO-delivered.

On Status Packed

On Status Picked

On Status Out For Delivery

Flow 6

On Status Picked

On Status Out For Delivery

On Status Delivered

On Update Interim Reverse QC

On Update Approval

On Update Picked

on_update_delivered

On Update Interim Liquidated

On Update Liquidated

@jagadeeswar577

jagadeeswar577 commented 3 months ago

Hi @Jagannath-wits

Please let us know if there are any feedbacks, for the latest retail logs submitted by fixing the recent comments

https://github.com/ONDC-Official/v1.2.0-logs/tree/master/ToneTag/Retail-Logs

Thank You.

Jagannath-wits commented 3 months ago

Flow 4

On Cancel

Flow 5

On Cancel

Flow 6

On Update Part Cancel

On Status Pending

On Status Packed

On Status Picked

On Status Out For Delivery

On Status Delivered

On Update Approval

On Update Picked

On Update Delivered

@jagadeeswar577

Jagannath-wits commented 2 months ago

Flow 2

on_init

On Status Pending

Flow 3

on_select_oos

Flow 4

on_cancel

Flow 5

On_status_rto_delivered

Flow 6

On Update Part Cancel

@jagadeeswar577

sandeepshahi commented 1 month ago

Flow 1

/on_search

/on_search (inc)

Flow 2

/on_confirm

/on_status

/track

Flow 5

/on_cancel

/on_status (RTO)

Flow 6

/on_update

/on_update (approval)

/on_update (picked)

/on_update (liquidated flow)

@jagadeeswar577

jagadeeswar577 commented 1 month ago

Flow 1

/on_search

In our system merchants define only a fixed price for the item(s), we don't have any lower & upper range of prices

/on_search (inc)

why are multiple incremental calls provided with different txn and mssg ids? -> As per one of the earliest feedback from your team, we have tested the suggested scenarios like provider disable, store disable, store closed and store reopen and provided corresponding response payloads.

Flow 2

/on_confirm

From Logistics service provider we are getting this details in logistic's on_confirm response, same data we are adding and providing back to buyer in our seller on_confirm response.

/on_status

are both gps and url based tracking supported? We are sharing the both GPS coordinates of rider and tracking url that are coming from logistic's on_track response to buyer's track request.

We are not seeing the above mentioned payloads in the https://github.com/ONDC-Official/log-validation-utility page, based on that we provided the list of payloads for this flow.

Screenshot 2024-07-19 at 4 20 44 PM

Flow 5

/on_cancel

item/tags/quote must be used in quote/breakup for RTO fulfillment tax --> We are not clear with this feedback, can you please share some reference log or an example in the retail documentation

quote line items with delta changes must be present in quote_trail; "misc" is missing --> We are not clear with this feedback, can you please share some reference log or an example in the retail documentation

esimated pickup/delivery time ranges should not change --> is this value should be same as in on_confirm payload? Please confirm.

Flow 6

/on_update

payment/params/amount should not change; must remain the same as the collected amount --> Is this value should be same as in on_confirm payload? Please confirm.

/on_update (approval)

As per retail doc we have added above attributes. Please let us know what is missing exactly?

/on_update (picked)

As per retail doc we have added above attributes. Please let us know what is missing exactly?

@sandeepshahi

jagadeeswar577 commented 1 month ago

Hi @sandeepshahi, can you please let us know your comments for the above highlighted feedback points.

Thanks

Jagannath-wits commented 1 month ago

Flow 1

/on_search

  • lower/upper range in items/price/tags/range is not calculated correctly;
  • default_selection price is not calculated correctly

In our system merchants define only a fixed price for the item(s), we don't have any lower & upper range of prices

/on_search (inc)

why are multiple incremental calls provided with different txn and mssg ids? -> As per one of the earliest feedback from your team, we have tested the suggested scenarios like provider disable, store disable, store closed and store reopen and provided corresponding response payloads.

Flow 2

/on_confirm

  • how can estimated pickup/delivery time ranges be provided even before the order is accepted by the seller?

From Logistics service provider we are getting this details in logistic's on_confirm response, same data we are adding and providing back to buyer in our seller on_confirm response.

/on_status

are both gps and url based tracking supported? We are sharing the both GPS coordinates of rider and tracking url that are coming from logistic's on_track response to buyer's track request.

  • "Agent-assigned" state is missing
  • /track must be supported

We are not seeing the above mentioned payloads in the https://github.com/ONDC-Official/log-validation-utility page, based on that we provided the list of payloads for this flow.

Screenshot 2024-07-19 at 4 20 44 PM

Flow 5

/on_cancel

item/tags/quote must be used in quote/breakup for RTO fulfillment tax --> We are not clear with this feedback, can you please share some reference log or an example in the retail documentation

quote line items with delta changes must be present in quote_trail; "misc" is missing --> We are not clear with this feedback, can you please share some reference log or an example in the retail documentation

esimated pickup/delivery time ranges should not change --> is this value should be same as in on_confirm payload? Please confirm.

Flow 6

/on_update

payment/params/amount should not change; must remain the same as the collected amount --> Is this value should be same as in on_confirm payload? Please confirm.

/on_update (approval)

  • start/end details are missing in "Return" fulfillment
  • answers for reverseqc_input should not be provided in approved state

As per retail doc we have added above attributes. Please let us know what is missing exactly?

/on_update (picked)

  • line items in quote/breakup should not be removed; trail must be maintained
  • quantity of returned items mapped with the forward shipment "94236544-a09a-46da-84a8-5e5dac3eac9d" should be 0 in /items

As per retail doc we have added above attributes. Please let us know what is missing exactly?

@sandeepshahi

sandeepshahi commented 1 month ago

@jagadeeswar577, one clarification: For RTO fulfillment, the locations are mandatory

sandeepshahi commented 1 month ago

Flow 1

/on_search

/on_search (inc)

FLow 4

/on_cancel

Flow 5

/on_cancel

/on_status (RTO)

Flow 6

/on_update (part cancel)

/on_status

/on_update (liquidated flow)

@jagadeeswar577

jagadeeswar577 commented 1 month ago

Flow 1

/on_search

WhatsApp Image 2024-08-05 at 3 02 59 PM

WhatsApp Image 2024-08-05 at 3 03 11 PM

As per above screen shots, for Item, Pepper Barbeque Chicken Pizza, we are sending the upper range amount that is possible for the item. Please let us know what is the issue here?

/on_search (inc)

Screenshot 2024-08-05 at 3 13 04 PM

Screenshot 2024-08-05 at 3 12 55 PM

Screenshot 2024-08-05 at 3 12 44 PM

As per the documentation, the time/timestamp contains value at which time the store should close / open / disable in the day. As per above screen shots from documentation too we are not clear what is time/timestamp can't be future dated means ?

FLow 4

/on_cancel

WhatsApp Image 2024-08-05 at 3 03 22 PM

As per above screenshot, the delivery and misc charges are exists. Please let us know what is exactly missing here?

Flow 5

/on_status (RTO)

Please let us know what timestamp need to append here to fix this? as we don't have a API documentation reference for this payload to cross check.

Flow 6

/on_update (part cancel)

WhatsApp Image 2024-08-05 at 3 03 48 PM

Item (13691105) had quantity 2 when ordered, and while partial cancel, we removed both. So in this case as per above screen shot the quote/breakup is "0", so what has to be remained here in this case?

/on_update (liquidated flow)

WhatsApp Image 2024-08-05 at 3 04 06 PM

As per documentation forward item and return item quantity are same. So can you clarify us what change you are expecting here?

@sandeepshahi Please review above feedback points with our replies once and clarify us if there is some ambiguity.

Thanks

sandeepshahi commented 1 month ago

Flow 1

  1. Ok
  2. As mentioned, the timestamp should be <= context.timestamp and denotes the timestamp when event was captured; The incremental calls to close the store consist of range where you can provide the future dated timestamps; For other calls, you have to call the incremental API as and when the even changes

Flow 4

  1. Check the quote_trail in /fulfillments and not quote.breakup

Flow 5

  1. How can you call the RTO-disposed API when the RTO will be disposed in future? Please check the timestamp, it should be <=context.timestamp

Flow 6

  1. quantity =0 in quote.breakup, should flow in the subsequent APIs (eg: on_status)
  2. It should be 0 because 2-2=0

@jagadeeswar577

shivang1131 commented 2 weeks ago

on_confirm

@jagadeeswar577

sandeepshahi commented 2 weeks ago

@jagadeeswar577, please answer the above queries and complete the pending submissions on NP Portal

jagadeeswar577 commented 2 weeks ago

@shivang1131 & @sandeepshahi

When the Buyer app confirms the order, we(seller side) confirms the order with the Logistic partner. So the logistic partner sends the on_confirm payload in response to our confirm request, which consists of the fulfilment related details.

Then we will prepare on_confirm response from our side to the buyer app by including the required details received from the logistic partner.

Sample on_confirm payload from Logistic App to Us:

on_confirm_payload_from_logistic_to_seller.json

Corresponding on_confirm payload from our end to the Buyer App:

on_confirm_payload_from_seller_to_buyer.json

So please check and let us know your thoughts.

Thanks