ONDC-Official / v1.2.0-logs

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

eSamudaay (RET11) - compliance check #107

Closed sahil-ondc closed 7 months ago

sahil-ondc commented 10 months ago

RET:10

on_search_full_catalog_refresh

search_inc_catalog_refresh

on_search_inc_catalog_refresh

on_init

on_init

common

@Namratha102000

Namratha102000 commented 10 months ago
Namratha102000 commented 9 months ago

@sharmasahil0331 If the Settlement is done by buyer app should we still have '@ondc/org/withholding_amount'

Namratha102000 commented 9 months ago

@sharmasahil0331 grocery ONDCRET:10 and incremental search is submitted please review it. We have MSN to onboard and this is becoming a blocker and no much response is seen here

Namratha102000 commented 9 months ago

Raised a PR with other correction today. @sharmasahil0331

sahil-ondc commented 9 months ago

RET11

search_inc_refresh

on_search_full_catalog_refresh

on_search_inc_refresh

on_select

on_init

on_confirm

Logs should be submitted as per the

https://docs.google.com/spreadsheets/d/1JZV6ZQzXcHUsOwegGtArX3DdIXYIy3gxkhQ00q7kICc/edit#gid=1367601795

@Namratha102000

Namratha102000 commented 9 months ago

@sharmasahil0331 Raised a PR again with corrections for both domains 10 and 11

Namratha102000 commented 9 months ago

@sharmasahil0331 Slot delivery and order tracking we are not supporting

sahil-ondc commented 9 months ago

RET10

on_search_full_catalog_refresh

search_inc_refresh

on_search_inc_refresh

select

on_select

on_init

confirm

on_status

@Namratha102000

Namratha102000 commented 9 months ago

select

Timestamp for /on_search api cannot be greater than or equal to /select api

I've made modifications to the search API and resubmitted it for flow1, which may be causing the current issue. Kindly overlook

Namratha102000 commented 9 months ago

https://github.com/ONDC-Official/v1.2.0-logs/pull/261 @sharmasahil0331 raised PR for ondc:ret10 changes

Namratha102000 commented 9 months ago

message/order/quote/breakup should be as per the API contract What is missing? @sharmasahil0331

Namratha102000 commented 9 months ago

Hi please review both grocery and food

On Wed, 13 Dec 2023 at 1:56 AM, sharmasahil0331 @.***> wrote:

RET10

on_search_full_catalog_refresh

  • /message/catalog/bpp/providers/categories/id must be string
  • /message/catalog/bpp/providers/items/ must have required property @.***/org/return_window'
  • duplicate item id: 23339 in bpp/providers[0]
  • 'street' and 'locality' must have unique values in message/catalog/bpp/providers/locations/address

search_inc_refresh

  • @.***/org/buyer_app_finder_fee_amount must be string
  • context/timestamp not in RFC 3339 (YYYY-MM-DDTHH:MN:SS.MSSZ) Format

on_search_inc_refresh

  • json must have required property 'message'

select

  • Timestamp for /on_search api cannot be greater than or equal to /select api

on_select

  • City code mismatch in /search and /on_select

on_init

  • message/order must have required property 'tags'
  • message/order/quote/breakup should be as per the API contract

confirm

  • /message/order/tags/0/list/0 must have required property 'value'

on_status

  • /message/order/fulfillments/0 must have required property @.***/org/TAT'

@Namratha102000 https://github.com/Namratha102000

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

Namratha102000 commented 9 months ago

Hi its been one week please review.

On Tue, 19 Dec 2023 at 12:59 PM, Namratha V Patil < @.***> wrote:

Hi please review both grocery and food

On Wed, 13 Dec 2023 at 1:56 AM, sharmasahil0331 @.***> wrote:

RET10

on_search_full_catalog_refresh

  • /message/catalog/bpp/providers/categories/id must be string
  • /message/catalog/bpp/providers/items/ must have required property @.***/org/return_window'
  • duplicate item id: 23339 in bpp/providers[0]
  • 'street' and 'locality' must have unique values in message/catalog/bpp/providers/locations/address

search_inc_refresh

  • @.***/org/buyer_app_finder_fee_amount must be string
  • context/timestamp not in RFC 3339 (YYYY-MM-DDTHH:MN:SS.MSSZ) Format

on_search_inc_refresh

  • json must have required property 'message'

select

  • Timestamp for /on_search api cannot be greater than or equal to /select api

on_select

  • City code mismatch in /search and /on_select

on_init

  • message/order must have required property 'tags'
  • message/order/quote/breakup should be as per the API contract

confirm

  • /message/order/tags/0/list/0 must have required property 'value'

on_status

  • /message/order/fulfillments/0 must have required property @.***/org/TAT'

@Namratha102000 https://github.com/Namratha102000

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

Namratha102000 commented 8 months ago

@sahil-ondc

sandeepshahi commented 8 months ago

@Namratha102000, pls reshare the logs. The folder seems missing.

Namratha102000 commented 8 months ago

https://github.com/ONDC-Official/v1.2.0-logs/pull/327 Resubmitted the logs..in the above PR Please review as early as possible @sahil-ondc

our logs were deleted by @kunalbharti https://github.com/ONDC-Official/v1.2.0-logs/commit/024f3aec462156a2c4cf7982dae7cfd6661146c7

sandeepshahi commented 8 months ago

Please use the log validation utility before submitting the logs

RET10

Flow 1

/on_search

/on_search (incremental)

Flow 2

/on_select

/on_confirm

/on_status

Flow 3

Flow 4

/cancel

/on_cancel

Flow 5

RET11

/on_search

/on_select (OOS)

@Namratha102000

Namratha102000 commented 8 months ago

fssai license no is not required in Grocery domain Packaged meat or diary items have fssai number @sahil-ondc

sandeepshahi commented 8 months ago

@Namratha102000, Yes, FSSAI license no. can be shared for prepackaged food. However, there is a significant discrepancy in the grocery catalog itself, particularly concerning the listing of F&B products.

Namratha102000 commented 8 months ago

@sahil-ondc please merge https://github.com/ONDC-Official/v1.2.0-logs/pull/355 this also and please do review updated flows

Namratha102000 commented 8 months ago

Please review this

On Sat, 23 Dec 2023 at 1:55 PM, Sandeep Shahi @.***> wrote:

@Namratha102000 https://github.com/Namratha102000, Yes, FSSAI license no. can be shared for prepackaged food. However, there is a significant discrepancy in the grocery catalog itself, particularly concerning the listing of F&B products.

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

sandeepshahi commented 8 months ago

@Namratha102000, please fix all the previously identified issues. There are some repeated issues in the submitted payloads.

sandeepshahi commented 8 months ago

RET10

Flow 1

/on_search

/on_search (incremental)

Flow 2

/on_select

/on_confirm

/on_status

Flow 3

/on_select (OOS)

Flow 4

/on_cancel

Flow 5

/on_status (picked)

/on_cancel (RTO)

RTO should either be disposed or delivered through /on_status

RET11

/on_search

/select

@Namratha102000, please fix these issues as well.

Namratha102000 commented 8 months ago

@bluecypher We dont have two different states for pickup and out for delivery. We have only one that is out for delivery so timestamp captured during that time

Namratha102000 commented 8 months ago

@bluecypher placeholder images of items should not be sent; if image is not available, SNP should not send image; eg: "https://media.test.esamudaay.com/user-media/BCK3_3T7EEy3.jpg" consists of placeholder image. We don't use placeholder images all images are unique as you can see. This image testing team as put as its just a test store and not live store.. Kindly overlook

Namratha102000 commented 8 months ago

serviceability definition should be feasible; 15000 km is defined for F&B category. Is this intended? yes its intended...we had set this for few other testing purposes. @bluecypher

Namratha102000 commented 8 months ago

https://github.com/ONDC-Official/v1.2.0-logs/pull/384 @bluecypher Hi raised PR for food only. Please review as its hyperlocal two different states for pickup and out for delivery are not present. 15000 km was set for some testing purposes.

Namratha102000 commented 8 months ago

Please merge and review this. @bluecypher On Wed, 27 Dec 2023 at 2:48 PM, Sandeep Shahi @.***> wrote:

RET10 Flow 1

/on_search

  • Boy's Clothing is not a valid category in grocery domain
  • "Unit" is not a valid enum for quantity/unitized/measure/unit; should be "unit" ('u' in lower case)
  • definition of variant groups missing in /categories; eg: item: "21290" is mapped to the variant group: "15999" but the definition is missing
  • definition of custom menu missing in /categories eg: item: "21290" is mapped with custom menu "4009" but the definition is missing
  • placeholder images of items should not be sent; if image is not available, SNP should not send image; eg: " https://media.test.esamudaay.com/user-media/BCK3_3T7EEy3.jpg" consists of placeholder image
  • items must be mapped to valid category; eg: "paneer chilly powder" can't be mapped to "Eggs, Meat & Fish" while this item falls in veg category, veg= "yes"
  • item "Pizza powder" can't be in "Boy's Clothing" category; invalid item for grocery domain; similar issue with other SKUs
  • attr name in variant_group is not defined correctly; please check the contract (should be a valid path to the item attribute)
  • fulfillment_id is not mapped correctly in /items; "3" is not a valid fulfillment id

/on_search (incremental)

  • full catalog should not be provided in incremental catalog (refer to the contract for example schemas)

Flow 2

/on_select

  • tax should not be added for grocery products; item prices are tax inclusive; tax levied on fulfillment should have quote type = "fulfillment" (pls check tax calculation here as well: delivery charges are Rs 40/-, convenience charges are Rs 25.04/- while tax = Rs 21.75/-)

/on_confirm

  • "provider_id" is not a valid attribute in /fulfillments

/on_status

  • invoice should only be provided when order state is Order-picked-up and thereafter
  • on_status with "Order-picked-up" and Order-delivered state is missing;
  • invalid acutal pickup timestamp; pick up time should be captured from "Order-picked-up" state instead of "Out-for-delivery" state

Flow 3

/on_select (OOS)

  • available count in quote/breakup/item/quantity should be "0" for OOS item

Flow 4

/on_cancel

  • quote breakup is not updated; quantity should become 0 for cancelled item
  • why is fulfillment related charges (delivery/convenience fee) charged when order is still in Pending state?

Flow 5

/on_status (picked)

  • actual pickup timestamp is missing
  • agent/phone should be a valid 10 digit number (+91 should be removed)

/on_cancel (RTO)

  • quote/breakup should be updated; quantity of item will be "0", other charges should be updated accordingly as per the quote_trail
  • "002" is not a valid RTO triggering cancellation reason id

RTO should either be disposed or delivered through /on_status RET11

  • similar issues as above

/on_search

  • serviceability definition should be feasible; 15000 km is defined for F&B category. Is this intended?

/select

  • no custom groups and customizations defined in the catalog; same catalog should be used for cart selection

@Namratha102000 https://github.com/Namratha102000, please fix these issues as well.

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

Namratha102000 commented 8 months ago

https://github.com/ONDC-Official/v1.2.0-logs/pull/384 please and merge and review this

sandeepshahi commented 8 months ago

Please use log validation utility before log submission

Please test with reference buyer app or any other verified buyer app in pre-prod

/on_search

/on_search (incremental)

/on_select

/on_init

/on_confirm

/on_status

/on_track

Flow 3

/on_select (OOS)

Flow 4

/on_cancel

Flow 5

@Namratha102000

Namratha102000 commented 8 months ago

@bluecypher I raised a pull request(https://github.com/ONDC-Official/v1.2.0-logs/pull/468), tested it with the utility, and addressed appropriate errors.

sandeepshahi commented 8 months ago

Flow 1

/on_search

/search (inc)

Flow 2

/on_select

/on_init

/on_status

Flow 3

/on_select (OOS)

Flow 4

/on_cancel

Flow 5

@Namratha102000

Namratha102000 commented 8 months ago

@bluecypher https://github.com/ONDC-Official/v1.2.0-logs/pull/507/files#diff-949619afa89f51417c38b7a29d7d0310639d465508cf007cdeb8c06a86ea13bc Raised a PR with fixes

Namratha102000 commented 8 months ago

@bluecypher @BLR-0118 Please help us to close this quickly. We have 4 MSN's in preprod waiting to be onboarded . Three of them are for F&B.

BLR-0118 commented 8 months ago

Flow 1

  1. /on_search (full):

    • for custom_group "36345_758", code="min" is missing?
    • curious what max of "99" means for custom group?
    • no use case for base item price of 0 but customizations having non-zero price (for which either the default selection price of range of upper/lower needs to be sent?
  2. /on_search (inc):

    • do you support incremental update using push?
    • do you support merchant store open / close / disable, etc, which are more common in F&B?

Flow 2

  1. /on_init:
    • fulfillment.start.location shouldn't be sent in /on_init;
    • payment should exclude everything except buyer finder fee / settlement details;

Flow 3

  1. /on_select (oos):
    • customization 36347_757_479 is missing from items array & quote.breakup, even though error.message says it's out of stock;

Flow 4 & 5

  1. /on_cancel:
    • request to add precancel_state to Fulfillment1;

Also:

BLR-0118 commented 8 months ago

@Namratha102000 - pls resubmit log for flow 2 (tracking), flow 3, make the other changes & respond to other queries raised;

Namratha102000 commented 8 months ago

Raised PR with new logs https://github.com/ONDC-Official/v1.2.0-logs/pull/544 @BLR-0118

FLOW1

for custom_group "36345_758", code="min" is missing? - FIXED curious what max of "99" means for custom group? - FIXED [The range of customizations will be based on the customizations contained within this custom_group."] no use case for base item price of 0 but customizations having non-zero price (for which either the default selection price of range of upper/lower needs to be sent? - Can you please elaborate do you support incremental update using push? - YES do you support merchant store open / close / disable, etc, which are more common in F&B? WE support only enable and disable

Flow 2

/on_init:

fulfillment.start.location shouldn't be sent in /on_init; - FIXED IN RESUBMITTED LOGS payment should exclude everything except buyer finder fee / settlement details; FIXED IN RESUBMITTED LOGS

Flow 3

/on_select (oos):

customization 36347_757_479 is missing from items array & quote.breakup, even though error.message says it's out of stock; FIXED IN RESUBMITTED LOGS

Flow 4 & 5

/on_cancel: request to add precancel_state to Fulfillment1 - FIXED

plans to support flow 6 (scenario 1, 3) - Yes will update during phase 2 changes implementation

Namratha102000 commented 8 months ago

Please review this

BLR-0118 commented 8 months ago

Flow 2

  1. /on_track:
    • to optimize /track requests from buyer apps, pls set:
    • fulfillment.tags.routing.type to "P2P";
    • fulfillment.tags.tracking.gps_enabled to "yes" when tracking is enabled & buyer apps can start making /track requests;

Flow 3

  1. /on_select_error:
    • error.message should be jsonified string as doc here;
BLR-0118 commented 8 months ago

@Namratha102000 - pls resubmit log for flow 3 with on_select (out of stock)

Namratha102000 commented 8 months ago

Flow 3

/on_select (OOS)

message in /error should be in stringified JSON format: eg- [{"dynamic_item_id":"DI0","item_id":"36347","error":"40002"},{.....}]

Hi this was the comment we got from Sandeep(Above)........ so we had made the change "message": [ { "dynamic_item_id": "DI0", "item_id": "36347", "error": "40002" }, { "dynamic_item_id": "DI0", "customization_id": "36347_757_479", "customization_group_id": "36347_757", "error": "40002" } ] },

Originally it was has per the contract

"[{dynamic_item_id":DI0,item_id:36347,error:40002},{dynamic_item_id:DI0,customization_id:36347_757_479,customization_group_id:36347_757,error:40002}]" @bluecypher

BLR-0118 commented 8 months ago

@Namratha102000 - error.message is a string, not array

Namratha102000 commented 8 months ago

https://github.com/ONDC-Official/v1.2.0-logs/pull/565 Resubmitted the logs @BLR-0118 Flow 2

/on_track:

to optimize /track requests from buyer apps, pls set: -- FIXED AND RESUBMITTED

  1. fulfillment.tags.routing.type to "P2P";
  2. fulfillment.tags.tracking.gps_enabled to "yes" when tracking is enabled & buyer apps can start making /track requests;

Flow 3

/on_select_error: -- FIXED AND RESUBMITTED

  1. error.message should be jsonified string
BLR-0118 commented 8 months ago

flow 3

  1. /on_select (oos):
    • quote.breakup for 36347_757_479 is wrong: unit price (222) * qty (0) should be total price (0) but total price shows as 222???
BLR-0118 commented 8 months ago

@Namratha102000

Namratha102000 commented 8 months ago

@BLR-0118 Yeah.. Resubmitting only OOS select and on_select call with correction.

BLR-0118 commented 8 months ago

@Namratha102000 - can you pls justify why such a basic error at this stage? pls resubmit all logs for flow3 which I'll need to verify.

Namratha102000 commented 8 months ago

"price": { "currency": "INR", "value": "403.77" }, @BLR-0118 The order.quote.price is correct, and we are not including any add-on price or item price here if it's out of stock. If an add-on is out of stock, we did not update the quote. Will submit flow 3 again

Namratha102000 commented 8 months ago

https://github.com/ONDC-Official/v1.2.0-logs/pull/582 Resubmitted the logs please check For flow 3. @BLR-0118

quote.breakup for 36347_757_479 is wrong: unit price (222) * qty (0) should be total price (0) but total price shows as 222??? --FIXED

BLR-0118 commented 8 months ago

flow 3

  1. /on_select:
    • why is fulfillment tracking.gps_enabled being set to "yes" here?? this should be set only after tracking has been enabled (i.e. from this point on, the buyer will be able to track the order);
    • this should be set thru some /on_status call;