ONDC-Official / v1.2.0-logs

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

Snapbizz (SA: RET10) - Compliance Check #1824

Open Jagannath-wits opened 2 months ago

Jagannath-wits commented 2 months ago

Flow 1

On_search_full_catalog

"@ondc/org/statutory_reqs_prepackaged_food": {
  "nutritional_info": "Energy(KCal)-(per 100kg) 420,(per serving 50g)250;Protein(g)-(per 100kg) 12,(per serving 50g) 6",
  "additives_info": "Preservatives,Artificial Colours",
  "brand_owner_FSSAI_license_no": "12345678901234",
  "other_FSSAI_license_no": "12345678901234",
  "importer_FSSAI_license_no": "12345678901234"
}

Flow 2

on_confirm

tags_bap_terms: "Tags should have same and valid gst_number as passed in /confirm”

on_status_pending

errmsg: "When the onConfirm Order State is 'Accepted', the on_status_pending is not required!"

on_status_picked

Flow 3

Flow 5

Flow 6

settlement details have not been carried forward Invoice should be updated after part-cancel Quote trail has not been carried forward or captured properly

@krishna-balasubramanyam-2020 Please refer to contract and not just utility.

Jagannath-wits commented 1 month ago

Snapbizz

Flow 1

search_full_catalogue

on_search_full_catalogue

search_inc

on_search_inc

Flow 2

on_init

on_confirm

On Status Picked

on_status

Flow 3

on_select_oos

select

Flow 4

on_confirm

cancel

on_cancel

Flow 5

on_cancel

on_status_rto_delivered

Flow 6

On Update Part Cancel

@krishna-balasubramanyam-2020 - Please fix all issues before next submission - Please submit the utility payload in the repo for each flow.

Jagannath-wits commented 1 month ago

Flow 1

on_search

Please provide atleast 5 items in catalogue. the provider only supports delivery fulfillment so why is there self-pickup in bpp/fulfillments ? How is the timestamp of catalogue being updated? It should be updated whenever there is a change at that level i.e eg: if there is a change at item level then it’s timestamp should update and not at each on_search invalid ean code used image url should be accessible. Eg: https://snaporder-v2.sgp1.digitaloceanspaces.com/uploads/banners/default-banner.jpg

Flow 2

on_confirm

How are you getting time.range for start and end before order is accepted? Time.range for start and end should be calculated accurately, how come the the start of range for both pickup and delivery be same as context.timestamp tracking status cant change in on_confirm as tracking was not supported in on_select

on_status

@ondc/org/TAT changed from 3H to 60M; it should remain same how did delivery charges get 0 in on_status?

on_status_packed

fulfillment.start.time.timestamp is updated at on_status_picked when order is picked and not before that.

Flow 3

select_oos

incorrect payload, please refer to contract and run utility before submission

on_select_oos

The count remained the same and didn’t change comapared with select_oos

select

Same item which was supposed to be out of stock is selected

on_select

The count remained same here too.

Flow 4

on_cancel

fulfillment 43271e58-a44c-4272-a6ab-39b15c6d2b7f doesn’t exist in on_cancel i.e not carried forward. incorrect payload, please refer to contract and run utility before submission.

Flow 5

same as above

Flow 6

Please run utility and fix errors before resubmission

Please dont submit false utility report. Eg:Flow 3

Please submit utility payload used in next iteration.

@krishna-balasubramanyam-2020 Please don't send mock payloads and false reports positively

sahil-ondc commented 4 weeks ago

Flow 1

On Search

Variants are not captured properly @ondc/org/statutory_reqs_prepackaged_food is not required for the category_id : ‘Tea and Coffee’, ‘Masala & Seasoning’, ‘Oil & Ghee’ and ‘Rice and Rice Products’

Flow 2

On Select

If the time is less than or equal to 2H, then it should be treated as ‘Immediate Delivery’

Flow 5

On Cancel

precancel_state.fulfillment_state of on_cancel is not equal with the on_confirm fulfillment state

Flow 6

On Status Picked

Tags are not allowed in the items

@krishna-balasubramanyam-2020

krishna-balasubramanyam-2020 commented 3 weeks ago

@sahil-ondc Further update done and committed here - https://github.com/ONDC-Official/v1.2.0-logs/pull/2230

Jagannath-wits commented 3 weeks ago

@krishna-balasubramanyam-2020 Please resubmit the logs with complete payload for flow 6 and 5. Currently on_status_rto_delivered in flow 5 and the entire flow of reverseQC and/or Liquidated is missing as mentioned in previous iterations.

krishna-balasubramanyam-2020 commented 3 weeks ago

@Jagannath-wits precancel_state.fulfillment_state of on_cancel is not equal with the on_confirm fulfillment state So it is supposed to be pending.

But in log validator, it's asking for out-for-delivery state for precancel_state.fulfillment_state. Plz clarify!

We are not handling reverseQC flow as we only ask for Liquidated/settlement. ie All our merchant requirements is that we don't accept returns. We had already been fulfilling several orders in v1.1. with just Liquidated.

on_status_rto_delivered flow, I had asked our team to submit.

Is it possible to reach out to anyone in your team over Whatsapp to clarify or discuss some of the final points and clear this?

Jagannath-wits commented 3 weeks ago

@Jagannath-wits precancel_state.fulfillment_state of on_cancel is not equal with the on_confirm fulfillment state So it is supposed to be pending.

But in log validator, it's asking for out-for-delivery state for precancel_state.fulfillment_state. Plz clarify!

  • It will be out-for-delivery only

We are not handling reverseQC flow as we only ask for Liquidated/settlement. ie All our merchant requirements is that we don't accept returns. We had already been fulfilling several orders in v1.1. with just Liquidated.

  • Please get an exceptional approval for the same.

on_status_rto_delivered flow, I had asked our team to submit.

  • If you support liquidation then why is the liquidation flow also missing in flow 6 ?

Is it possible to reach out to anyone in your team over Whatsapp to clarify or discuss some of the final points and clear this?

  • You can reach out to tech support team or drop a mail for the same

@krishna-balasubramanyam-2020

krishna-balasubramanyam-2020 commented 3 weeks ago

@Jagannath-wits Thanks for the comments.

We already got approval for the same. Our team will submit the liquidation flow also.

Pinky Rawat called to clarify and help. Thanks.

@Jagannath-wits Did the log validator go through further update? We are getting errors like "schemaErr0": "/message/order/fulfillments/1/tags/0/code must be equal to one of the allowed values (quote_trail)",

But the log validator didn't have it previously. Also we do have allowed values only "quote_trail"

Similarly, we have errors that were not previously.

What should we do?

Jagannath-wits commented 2 weeks ago

Snapbizz

Flow 1

on_search

on_search_inc

Flow 2

on_confirm

on_status

Flow 5

On_status_rto_delivered

Please run utility before submission.

Flow 6

on_update_interim_liquidated

on_update_liquidated

@krishna-balasubramanyam-2020

krishna-balasubramanyam-2020 commented 2 weeks ago

@Jagannath-wits Some of the questions from our previous comments where not addressed.

Many of these comments are coming up newly and more questions are being asked. So can we get on a call?

Also some comments are invalid like: Invoice is inaccessible. We can access from incognito also => https://snapmerchant-preprod.snapbizz.com/invoice/2024-08-13-237892 It takes about 1 or 2 seconds to load.

Is there a reference seller app logs that we can refer? I had asked for a reference multiple times now. But no reply.

Also utility logs - New errors are coming up that were passed earlier. (I asked this question in previous comment) Not sure if there are issues with utility logs! Or some parts are broken!

Shall we get on a call to discuss the questions from both sides? Because the review and submit and question/answers cycle is taking too long. Our team is available to get to Prod as soon as possible.

Our intent is to close this soon given it's already been 4 or 5 iterations.

sahil-ondc commented 1 week ago

@krishna-balasubramanyam-2020, There seems some manual manipulation in submitted logs, can you please share Pramaan reports along with logs.

Jagannath-wits commented 1 week ago

Flow 1

on_search

Flow 5

on_cancel

on_status_rto_delivered

@krishna-balasubramanyam-2020

Jagannath-wits commented 3 days ago

Flow 1

on_search

on_confirm

Flow 5

on_cancel_rto

on_status_rto_delivered

Flow 6

on_status_picked

@krishna-balasubramanyam-2020

shivang1131 commented 5 hours ago

Flow1

on-search

inc_on_search

Flow 2

on_status out for delivery

Flow 4

/on_confirm

/on_cancel

/on_status

Flow 6

@krishna-balasubramanyam-2020