ONDC-Official / v1.2.0-logs

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

Krenai (SA: RET10) - compliance check #106

Open sahil-ondc opened 10 months ago

sahil-ondc commented 10 months ago

on_search_full_catalog_refresh

on_search_inc_refresh

on_select

init

on_init

on_confirm

on_status

common

@AnchalSharma07

sahil-ondc commented 9 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc_refresh

Flow 2

on_select

on_confirm

Flow 3 not submitted

@AnchalSharma07

sahil-ondc commented 9 months ago

Flow 1

search_full_catalog_refresh

on_search_full_catalog_refresh

search_inc_refresh

on_search_inc_refresh

Other flows

on_select

on_init

on_confirm

on_status

@AnchalSharma07

sahil-ondc commented 8 months ago

FLow 1

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

Other Flows

@AnchalSharma07

sahil-ondc commented 8 months ago

FLow 1

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

Flow 2

on_select

on_init

on_confirm

on_status

Flow 3

Transactional logs should be provided as per the sheet https://docs.google.com/spreadsheets/d/1JZV6ZQzXcHUsOwegGtArX3DdIXYIy3gxkhQ00q7kICc/edit#gid=1367601795

Flow 4

on_cancel

@AnchalSharma07

sahil-ondc commented 8 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

common

on_init

@AnchalSharma07

sandeepshahi commented 7 months ago

Please remove all the irrelevant files and folders and share logs as per the test case scenarios

Flow 1

/on_search

/on_search (incremental)

Flow 2 (Common Issues)

/on_confirm

/on_status

Flow 3

/on_select (OOS)

Flow 4

/on_cancel

Flow 5

Flow 6

@AnchalSharma07

sahil-ondc commented 7 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc_catalog_refresh

Flow 2

on_confirm

on_status

Flow 3

on_select (out-of-stock)

Flow 4

on_cancel

Flow 5

on_cancel

Flow 6

on_update

Note

@AnchalSharma07

sahil-ondc commented 6 months ago

Flow 2

on_select

on_init

confirm

on_confirm

on_status

Flow 3

Flow 4

on_cancel

Flow 5

@AnchalSharma07

AnchalSharma07 commented 5 months ago

@sahil-ondc @sandeepshahi I am unable to get this issue. "on_init => Mismatch found for item with item_id 717". Can you please elaborate it more, It would be a great help

sahil-ondc commented 5 months ago

Hi Anchal,

So this Indicates that there is some mismatch in the breakup with item_id 717, Can you please check. Apologies for delay, will fix this error message.

@AnchalSharma07

AnchalSharma07 commented 5 months ago

@sahil-ondc @sandeepshahi We have updated the logs as per your feedbacks. We have generated a new PR please review it.

Jagannath-wits commented 5 months ago

Flow 1

On Search Full Catalog Refresh

Schema Errors

Provider Code Errors

Flow 2

On Init

Provider Tax Number

Flow 3

Flow 5

On Cancel

Invalid Quote Trail Prices

Settlement Details

Flow 6-a(Part-cancel)

On Confirm

Missing NP Type

On Update

Schema Error

Flow 6-b(reverse qc)

Update

Schema Error

Update Reason ID

On Update Interim

Schema Error

On Update Approval

Schema Error

On Update Picked

Schema Error

On Update Delivered

Schema Error

Flow 6-c (Liquidation)

Update

Schema Error

On Update Interim

Schema Error

On Update Liquidated

Schema Error

Invalid Quote Trail Prices

@AnchalSharma07

AnchalSharma07 commented 5 months ago

We have updated the logs as per feedbacks & have generated a new PR. Please review them. @sandeepshahi @sahil-ondc @Jagannath-wits

sahil-ondc commented 5 months ago

Flow 1

on_search_full_catalog

Flow 2

on_status (pending)

Flow 4

on_cancel

Flow 5

Flow 6

on_update (part-cancellation)

on_update (liquidated return_interim)

@AnchalSharma07

AnchalSharma07 commented 5 months ago

@sahil-ondc @sandeepshahi

  1. For Flow 1 ->on_search_full_catalog -> provided area_code should be as per provided GPS We are using google maps api to extract postal code from lat lang (& vice versa) . We have validated the gps and postal code being sent in the response using google maps, it appears to be same(122004) as well. But if we check it on online geolocators , we are getting a different postal code(122005) Screenshot 2024-04-08 at 12 39 40 PM Screenshot 2024-04-08 at 12 40 19 PM

  2. For Flow 6 ->on_update (liquidated return_interim) : Can you please elaborate this, as we are unable to find relevant example in document. Also we have asked this over the community call , they are unable to identify the issue as well

Screenshot 2024-04-08 at 1 09 42 PM Screenshot 2024-04-08 at 12 44 57 PM

sahil-ondc commented 5 months ago
  1. ACK.
  2. Once Seller will do the part-cancellation, then buyer application is supposed to send an /update which will be related to refund initiated, that refund trail should be maintained in future calls of same order.

@AnchalSharma07

AnchalSharma07 commented 5 months ago

We have updated the logs as per feedbacks & have generated a new PR Please review them. @sahil-ondc @sandeepshahi

AnchalSharma07 commented 4 months ago

@sandeepshahi @sahil-ondc We generated a new PR for RET:16 logs, Please preview them as well

sahil-ondc commented 4 months ago

Flow 1

on_search (full_catalog)

Flow 2

on_init

on_confirm

on_status

Flow 4

on_cancel

Flow 5

on_cancel (rto)

on_status (rto-disposed)

Flow 6

@AnchalSharma07

AnchalSharma07 commented 4 months ago

We have updated the logs as per feedbacks & have generated a new PR . Please review them @sandeepshahi @sahil-ondc

NishthaMonga commented 4 months ago

Flow 2, Flow 3

on_select

on_confirm

on_status_delivered

Flow 5

on_cancel

Flow 6A

on_update

@AnchalSharma07

AnchalSharma07 commented 4 months ago

@NishthaMonga @sandeepshahi @sahil-ondc We are unable to identify the issues mentioned in on_select (quote price) and on_confirm(tax_number). Could you please help us with this

NishthaMonga commented 4 months ago

on_select (quote price)

This item_id 4ca77026 is not present on_search

on_confirm(tax_number)

Provider tax number is incorrect

@AnchalSharma07

AnchalSharma07 commented 4 months ago

We have updated the logs as per feedbacks & have generated a new PR. Please review them @sahil-ondc @sandeepshahi @NishthaMonga

sahil-ondc commented 4 months ago

Flow 1

on_search (full_catalog)

Flow 2

on_init

Flow 4

on_cancel

Flow 5

on_cancel (rto)

on_status (rto-disposed)

Flow 6

on_update (part-cancellation) (return)

@AnchalSharma07

AnchalSharma07 commented 4 months ago
  1. on_search (full_catalog) -> EAN is mandatory for grocery products ? As it is not mentioned in the doc we are sending "other" code if any of the ean,sku , hsn is not available
  2. Flow 2 -> on_init -> np_type is required -> We are unable to find it in the doc bpp_terms_on_in_it
  3. precancel_state is not captured correctly -> we have matched it the the doc , but we are unable to find any discrepancy . 4. Flow 6: the 'cancelled_items' are not mapped correctly. We have submitted similar data in our previous log entries but did not encounter this error before. Could you please provide more detailed feedback? This will help us understand the issue better and address it effectively. @sahil-ondc @sahil-ondc
sahil-ondc commented 4 months ago

@AnchalSharma07

AnchalSharma07 commented 4 months ago

We have updated the logs as per feedbacks & have generated a new PR Please review them @sahil-ondc @sandeepshahi

sahil-ondc commented 4 months ago

Flow 1

on_search (full_catalog)

on_search (inc_catalog)

Flow 2

on_confirm

on_status

on_track

Flow 3

Flow 4

on_cancel

Flow 5

on_cancel (rto)

Flow 6

@AnchalSharma07

AnchalSharma07 commented 3 months ago

Hyy Team We have submitted the updated logs last week. Please review them and provide the feedbacks at your earliest convenience. @sandeepshahi @sahil-ondc

sahil-ondc commented 3 months ago

Flow 1

on_search (full catalog)

on_search (inc catalog)

Flow 2

on_select

Flow 3

on_cancel

Flow 6

on_update (part-cancellation)

on_status (delivered)

on_update (interim)

on_update (return initiated)

@AnchalSharma07

AnchalSharma07 commented 2 months ago

Flow 1 : on_search-> invalid category provided in /message/catalog/bpp/providers/tags/serviceability We are sending it as per API contact V1.2 and the values exist in updated sub-category sheet. Could you please help us to identify the issue. @sahil-ondc @sandeepshahi

AnchalSharma07 commented 2 months ago

We have updated the logs as per feedbacks & have generated a new PR Please review them. @sahil-ondc @sandeepshahi Screenshot 2024-06-20 at 4 31 01 PM

sahil-ondc commented 2 months ago

Flow 1

on_search

Flow 2

on_select

on_init

on_status_delivered

on_confirm

Flow 2 errors are processed in other flows as well

Flow 4

on_cancel

Flow 6

on_update_part_cancel

on_update_iterim_reverse_qc

on_update_delivered

on_update_iterim_liquidated

@AnchalSharma07

AnchalSharma07 commented 2 months ago
  1. /'@ondc/org/statutory_reqs_prepackaged_food'/other_FSSAI_license_no and '@ondc/org/statutory_reqs_prepackaged_food'/importer_FSSAI_license_no4 is missing in bpp/providers/items[1] REMARK : As concluded in our previous conversion , not all 4 FSSAI licenses are mandatory.
  2. Quoted Price in /on_select INR 340 does not match with the total price of items in /select INR 300 i.e price for the item mismatch in on_search and on_select. The price was changed for the item_id : '4ca77026' from 30 to 50 REASON: Price updated in incremnetal_on_search
  3. Only @ondc/org/buyer_app_finder_fee_type, @ondc/org/buyer_app_finder_fee_amount,@ondc/org/settlement_details are required in payment object as only buyer is collecting payment currently. Incase seller wants to collect the payment then you can send it the way you sent. REMARK : Unable to understand this , please help us with this . We are sending the following object : "payment": { "@ondc/org/buyer_app_finder_fee_type": "percent", "@ondc/org/buyer_app_finder_fee_amount": "3.0", "@ondc/org/settlement_details": [ { "settlement_counterparty": "seller-app", "settlement_phase": "sale-amount", "settlement_type": "upi", "settlement_bank_account_no": "33610759357", "settlement_ifsc_code": "SBIN0000567", "beneficiary_name": "Pradeep Yadav", "bank_name": "State Bank Of India", "branch_name": "Badshahpur", "upi_address": "7053708236@paytm" } ] }

Could you please help us to identify the issue @sahil-ondc @sandeepshahi

BLR-0118 commented 2 months ago

ref 3 above:

AnchalSharma07 commented 2 months ago

We have updated the logs as per feedbacks & have generated a new PR . Please review them @sahil-ondc @sandeepshahi

sahil-ondc commented 1 month ago

Krenai RET:10

Flow 1

On Search

On Search Inc

Flow 2

Init

On Init

Confirm

On Confirm

On Status Pending

On Status Picked

On Status Delivered

Flow 3, 4, 5

Flow 6

On Update Part Cancel

On Update Liquidated

On Update Picked

On Update Delivered

@AnchalSharma07

AnchalSharma07 commented 1 month ago
  1. on_search -> ttl should be PT30S as per the API Contract REMARK : ttl has been removed from on_search api context. Reference attached below.
  2. on_search-> "other_FSSAI_license_no" and “importer_FSSAI_license_no” is missing for the item_id : ‘88549691’ REMARK : As discussed in our pervious conversions(over the mail) Only one of the fssai licence number is required. If this product falls under special case please help us to understand this.
  3. init -> In item[0], location_id is not required as per the API Contract REMARK: Buyer app responsible for this if any thing changes in init API
  4. For Delivery fulfillment, In the start object, range can’t be past dated from the context.timestamp REMARK: AS per our previous discussion estimated pickup/delivery timings should not change thats why we allocate a time range when order is placed and we are using it throughout the order journey.
  5. On Status Delivered -> How the delivery can be done in less than 30sec ? REMARK: Since these are testing orders, we're updating statuses quickly, causing inconsistencies in delivery times.
  6. The range provided for time_to_ship is not as per the on_search for the given item REMARK: same as above
  7. On Update Liquidated-> return fullfillment id is not created in the on_update_liquidated REMARK:We are using the same id that received in the update API. Is this incorrect ?

@sandeepshahi @sahil-ondc Seeking your guidance to understand & conclude the above mentioned pointers. TTL reference : Screenshot 2024-07-23 at 12 33 44 PM

Reference for FSSAI licence number : Screenshot 2024-07-23 at 2 10 32 PM

Reference for fulfillment time range :

Screenshot 2024-07-23 at 2 18 40 PM
sandeepshahi commented 1 month ago

Flow 1

/on_search

Flow 2

/on_confirm

/on_status

Flow 4

/on_cancel

Flow 5

/on_cancel

Flow 6

/on_update (part cancel)

/on_update (Return)

@AnchalSharma07

sandeepshahi commented 1 month ago

Flow 1

/on_search

/on_search (inc)

Flow 2

/on_select

/on_confirm

/on_status

Flow 4

/on_cancel

Flow 5

/on_status (RTO-disposed)

Flow 6

/on_update (Return)

The timestamp-related issues still persist. Please resolve all issues and address the mentioned queries. Once completed, do mention it on the issue board. No need to resubmit the logs.

sandeepshahi commented 1 month ago

@AnchalSharma07

AnchalSharma07 commented 1 month ago

@sandeepshahi We have addressed the issues mentioned. Please find our response below :

Request | Issue | Remark -- | -- | -- /on_search | both the protocol key mappings "@ondc/org/statutory_reqs_prepackaged_food" and "@ondc/org/statutory_reqs_packaged_commodities" must be provided for the relevant category; eg: "Chocolates and Biscuits" | We missed the update in category taxonomy1.2 . Now we have added the multiple protocol keys for the categories. /on_search | quantity/unitized/measure should be correct and should be the same as mentioned in the description; eg- check for item: 22563112 (100 gram vs 100 unit) | It was an issue while saving product from our seller panel. We have identified & fixed it. /on_search_inc | context/timestamp can't be earlier than /search | It was caused due to multithreading.We have identified & fixed it. /on_search_inc | are all the scenarios of incremental search supported (as mentioned in the contract)? | Yes all of them are covered. /on_select | isn't delivery TAT (@ondc/org/TAT) calculated dynamically? | It is being calculated dynamically. Since the seller do off network manual delivery , so he provides us with his average delivery time. /on_confirm | from where is the info /fulfillments/end/contact/email being captured; it wasn't provided in /confirm | It was missing in our request entity which receives the /confirm. We have added it now. /on_status | estimated time ranges should not be earlier than context/timestamp; check fulfillments/start/time/range/start | It was caused due to multithreading.We have identified & fixed it. /on_status | convenience fee is not captured correctly in the invoice | It was round off to show integer value only. Now we have updated the value with two decimal points. /on_cancel | tracking is not a valid attribute for cancelled fulfillment: 717_16f29648-9960-4fb9-b7b5-ce31d7ca2490-Cancel | It was going null in all of our cancelation sections. We have removed this value , for the case when it will be null. /on_cancel | RTO initiation timestamp /fulfillments/start/time/timestamp can't be future dated | It was caused due to multithreading.We have identified & fixed it. Approved | estimated return pickup/delivery ranges should be calculated correctly; can't have same values | We were updating the dates after sending the response. It is fixed now. Picked | estimated return time ranges should not change | We were updating the dates after sending the response. It is fixed now.
sandeepshahi commented 1 month ago

@AnchalSharma07, logs are fine. Please complete the pending submissions on NP portal for QA movement.