ONDC-Official / v1.2.0-logs

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

Dehaat BA & SA (AGR10) - compliance check #570

Closed sahil-ondc closed 5 months ago

sahil-ondc commented 8 months ago

Flow 1

on_search

Other

select

on_select

on_init

on_status

Common

@skdeep12

skdeep12 commented 8 months ago

@sahil-ondc In on_status /message/order/fulfillments/end/time/timestamp is only required if order is delivered.

And we are providing /message/order/fulfillments/end/time/range in every on_status call. So this point is not clear to us.

sahil-ondc commented 8 months ago

That was something that end/timestamp should be in the range which you have provided, like if range is (5PM -7PM) then timestamp should be between it, but as I have discussed with @bluecypher, you can ignore that for logs submission

@skdeep12

sahil-ondc commented 7 months ago

Flow 1

search_full_catalog_refresh

on_search_full_catalog_refresh

search_inc_catalog_refresh

on_search_inc_catalog_refresh

Flow 2

on_select

init

on_init

on_confirm

on_status

Flow 3

on_select (out-of-stock)

Other flows

on_cancel

@skdeep12

sahil-ondc commented 7 months ago

Flow 1

on_search_full_catalog

search_inc_refresh

on_search_inc_catalog

Other flows

on_select

on_init

confirm

on_confirm

Flow 3

Note

@skdeep12

vashistavivek commented 7 months ago

@sahil-ondc on_search_full_catalog

Flow 3

sandeepshahi commented 7 months ago

/search

/on_search

/on_search (inc)

/on_select

/init

/on_init

/confirm

/on_confirm

/on_status

Flow 3

/on_select

Flow 4

/on_cancel

Flow 5

/on_cancel

Flow 6

/update

/on_update

@vashistavivek

sandeepshahi commented 6 months ago

/on_search

/on_search (inc)

/select

/on_select

/on_confirm

/on_status

Flow 4

/on_cancel

Flow 5

/on_cancel

Flow 6

/update

/on_update

@vashistavivek

sandeepshahi commented 6 months ago

/on_search

/on_select

/on_init

/on_status

Flow 4

/on_cancel

Flow 5

/on_cancel

Flow 6

/on_update

/on_status (reject/liquidated)

@vashistavivek

vashistavivek commented 6 months ago

@sandeepshahi Points which are not mandatory to do from the issues:

  1. /on_select

    • quote/breakup line items with price=0 need not be provided; item(s) and delivery charges are mandatory though
    • fulfillment id is same as the fulfillment id for the types of fulfillment in /on_search; How are multiple fulfillment supported?
  2. Flow 6: /on_update,

    • line items where the value is adjusted should only be provided in quote_trail; no need to provide line items where value = 0
sandeepshahi commented 6 months ago

Flow 2

/select

Flow 5

/on_cancel

Flow 6

/on_update

@vashistavivek

BLR-0118 commented 6 months ago

Flow 1

  1. /on_search (full catalog):
    • item 15720: pls remove formatting in long_desc;
    • have you checked signing & verification with another app (or try routing response from seller app thru gateway & see if signature verification passes); btw, in 1.2.0, catalog responses are to be sent directly from seller app to buyer app;
BLR-0118 commented 6 months ago

Flow 2

  1. /on_init:

    • payment.collected_by should be added;
  2. /confirm:

    • what does Context.key here mean? (not in any other APIs)
  3. all pre-order callbacks: fulfillment.tracking missing;

  4. can you also add routing.type to indicate hyperlocal (P2P) or intercity (P2H2P) shipment;

Flow 3

  1. Context.timestamp for 2.1.select is earlier than 1.2.on.select; how does 2.1.select know which items are in-stock when it's timestamp is earlier than the previous response?

Flow 5

  1. time for RTO initiation & delivered/disposed needs to be provided (for RTO fulfillment);
  2. curious why you're using RTO-disposed for such high value items that have resaleable value;
BLR-0118 commented 6 months ago

Flow 6

  1. 7.0.on_update(merchant_part_cancel):

    • quote_trail should only have any quote line item with delta changes (thus, tax shouldn't be here);
  2. No return with pickup?

BLR-0118 commented 6 months ago

also, since discount is 0 you may want to remove it from quote.breakup[]

BLR-0118 commented 6 months ago

@vashistavivek - pls fix above & resubmit for flow 3 only;

vashistavivek commented 6 months ago

@skdeep12 FYI

BLR-0118 commented 5 months ago

Point 4 raised above for flow 2 not addressed, pls fix;

@vashistavivek - clearing logs for v1.2.0 (AGR10), pls make sure above issue is addressed;

vashistavivek commented 5 months ago

@BLR-0118 I will fix it today, thanks!

BLR-0118 commented 4 months ago

Hi @vashistavivek - can you pls share a demo of your buyer app? Wanted to check the UX

vashistavivek commented 4 months ago

@BLR-0118 You can download our internal-debug-app from here: https://drive.google.com/drive/folders/1A-v9JGob-1icz3U2GDp5kPYtorv39wpQ

testing provider location -> sampatchak, bihar Provider name -> M/S New Rakesh Beej Bhandar

steps:

  1. hamburger(right-top) -> "Shop via ONDC"