ONDC-Official / v1.2.0-logs

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

Mytra (Seller App) - compliance check #849

Open sahil-ondc opened 8 months ago

sahil-ondc commented 8 months ago

Flow 1

on_search_full_catalog_refresh

on_search_inc

Flow 3

on_select (out-of-stock)

Other Flows

on_select

on_init

on_confirm

on_status

@harshpwctech

harshpwctech commented 8 months ago

Other Flows

on_select

  • available count can't be greater than maximum count for item id: STO-ITEM-2023-00007-500 Gms:Manikonda - S, STO-ITEM-2023-00017-500 Gms:Manikonda - S

Available count of 99 means the stock is available and maximum count of 33 means maximum 33 qty can be ordered in one order, then available count will be greater only. Please confirm if I am missing anything here ?

on_init

  • gps coordinates in fulfillments[0].end.location mismatch in /select & /on_init

In init request the buyer app has changed the fulfillments[0].end.location from select API, we as a seller app sent the GPS as received in init request

on_confirm

  • /message/order/quote must have required property 'ttl'
  • /message/order/tags/0/list/0 must be object
  • fulfillments[0].end.location gps is not matching with gps in /select
  1. "ttl" is already there in /message/order/quote
  2. /message/order/tags/0/list/ is sent as received from the buyer app in confirm request
  3. In confirm request the buyer app has changed the fulfillments[0].end.location from select API, we as a seller app sent the GPS as received in confirm request

@sahil-ondc, @bluecypher - Please check the reverts for the above and confirm..

sandeepshahi commented 8 months ago

@harshpwctech

harshpwctech commented 8 months ago

@bluecypher, @sahil-ondc, @BLR-0118

Please help in reviewing the logs...I have submitted the logs for flow 1 and flow 3 through Ref Buyer App. The other logs were tested through Mappls, since in their pre-prod instance they are facing some issues and hence we submitted the revised logs from Ref Buyer App.

Further the issue raised for on_search:

Here the area_code , i.e. 500089 belongs to Hyderabad which have a std code of 040, further the seller is servicing to std code 040, However as an edge case the official std code of 500089 isn't 040, hence we have enabled the seller with std code of 040 as well.

sahil-ondc commented 7 months ago

Other Flows

init

confirm

on_confirm

on_status

Flow 3

on_select_out_of_stock

confirm

NishthaMonga commented 7 months ago

Flow 1

on_search_full_catalog_refresh

Flow 2

on_confirm

Flow 4

on_cancel

Flow 5

on_cancel

@harshpwctech

harshpwctech commented 7 months ago

@BLR-0118, @sandeepshahi, @sahil-ondc, @NishthaMonga - Please help in clearing the logs as the revised logs are submitted in latest PR. And help in addressing the below queries.

on_search_full_catalog_refresh

  • STD code does not match with correct area_code on /on_search

As mentioned above, the area_code, i.e. 500089 belongs to Hyderabad which have a std code of 040, further the seller is servicing to the buyer apps for std code 040, However as an edge case the official std code of 500089 isn't 040, hence we have enabled the seller with std code of 040 as well.

Flow 4

on_cancel

  • order.created_at timestamp should match context.timestamp

The order.created_at timestamp wouldn't change and the same is provided by the buyer app during confirm API. Further order.updated_at should be less than or equal to context.timestamp

NishthaMonga commented 7 months ago

Flow 1

on_search_full_catalog_refresh

Flow 3

on_confirm

Flow 5

on_cancel

Flow 6a

on_init

on_confirm

on_update

Flow 6b

on_update_approval,on_update_picked

NOTE

@harshpwctech

BLR-0118 commented 7 months ago

Flow 1 is an edge case and what's being done is ok as long as the same store is not sent multiple times under different cities; @harshpwctech @NishthaMonga

harshpwctech commented 7 months ago

@BLR-0118, @sandeepshahi, @sahil-ondc, @NishthaMonga - Please help in clearing the logs as the revised logs are submitted in latest PR.

sahil-ondc commented 7 months ago

Flow 1

on_search_full_catalog_refresh

Flow 2

on_confirm

Flow 4

on_cancel

Flow 5

on_cancel

flow 6

on_init

confirm

Note

@harshpwctech