ONDC-Official / v1.2.0-logs

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

Wits Adapter (SA: RET18) - compliance checks #85

Closed sahil-ondc closed 6 months ago

sahil-ondc commented 1 year ago

on_search_full_catalog_refresh

on_search_inc_refresh

on_select

init

on_init

confirm

on_confirm

on_status

common

@SinghSukhchain25

sahil-ondc commented 11 months ago

search_full_catalog_refresh

on_search_full_catalog_refresh

search_inc_refresh

on_search_inc_refresh

confirm

on_confirm

on_status

@SinghSukhchain25

sahil-ondc commented 11 months ago

Flow 1

search_full_catalog_refresh

on_search_full_catalog_refresh

Other Flows

on_init

confirm

on_confirm

on_status

@SinghSukhchain25

sahil-ondc commented 9 months ago

Flow 1

search_full_catalog_refresh

on_search_full_catalog_refresh

on_search_inc_refresh

Other Flows

select

on_select

on_init

on_confirm

on_status (in-progress)

on_status (completed)

@SinghSukhchain25

nishthamongaondc commented 9 months ago

Shopify Retail Logs

Flow 1

on_search_full_catalog_refresh

Flow 2

on_init

on_confirm

on_status_pending

on_status_delivered

on_status_picked

Note

@SinghSukhchain25

Magento Retail Logs

Flow 1

on_search_full_catalog_refresh

Incremental search and on_search missing

Flow 2

on_select

on_init

on_confirm

on_status_pending missing

on_status_delivered

Note

@vishal-wits

sandeepshahi commented 8 months ago

Flow 1

/on_search

/on_search (inc)

Flow 2

/on_select

/on_init

/on_confirm

/on_status

Flow 3, 4

Flow 5

/on_status (RTO-Disposed)

Flow 6

/on_update (part cancel)

/on_update (interim)

/on_update (return picked)

/on_update (return delivered)

/on_update (Liquidate)

@vishal-wits

sandeepshahi commented 8 months ago

Flow 2

/confirm

/on_confirm

/on_status

Flow 5

/on_status (Order-picked-up)

/on_cancel

/on_status (RTO-Disposed)

Flow 6

/on_update (return delivered)

@vishal-wits

diwanshi-thewitslab commented 8 months ago

@bluecypher,

  1. invalid length of gstin number of bap; SNP must respond with a NACK

This is something which we are getting from reference buyer application, so for testing and log generation purposes we have removed that validation, but in prod that will be in place. with validation we are unable to move further.

Can we ignore that and resubmit ?

sandeepshahi commented 7 months ago

RET18

/on_search

Flow 2

/on_status

Flow 3

/on_select

Flow 4

/on_cancel

Flow 5

/on_cancel

/on_status (RTO)

Flow 6

/on_update (ReverseQC)

@diwanshi-thewitslab

BLR-0118 commented 6 months ago

Flow 1

  1. /on_search:

    • what's the point of using UUIDs for fulfillment ids here? It only needs to be unique within the scope of fulfillment for the catalog;
    • pls restrict gps coords to 6 decimals;
    • isn't EAN available for these items? they seem like branded products;
    • for item 44255488442598: returnable true, cancellable false => means?
  2. /on_search_inc:

    • pls share inc update after the full catalog;
BLR-0118 commented 6 months ago

Flow 2

  1. /on_select:

    • fulfillment.provider_name should be name of seller/LSP who's fulfilling the order;
    • is there some logic for calculating TAT of 60 min? (while this looks ok, distance between store & buyer locn is about 30 mins, time to pack is 15 min, so in another 15 min, the rider has to pickup & handle the last mile delivery);
  2. /on_confirm, /on_status:

    • for buyer apps to process hyperlocal vs intercity orders, pls set routing.type to P2P (hyperlocal), P2H2P (intercity), whenever the order is accepted;
BLR-0118 commented 6 months ago

Flow 3

  1. /on_select_oos:
    • price for item 44255488803046 is 440.14 in catalog but 0 here?

Flow 4

  1. /on_cancel:
    • value for quote_trail.type should match quote.title_type; thus, for this item 734abc50-d2d1-4637-9895-66a1fc806cd9, value of type should be "delivery";
BLR-0118 commented 6 months ago

Flow 5

  1. /on_cancel:
    • quote_trail is invalid; value for id should be the corresponding fulfillment / rto id;
BLR-0118 commented 6 months ago

Flow 6

6a (part cancel) & b (return with liquidation) - ok; 6c (return with pickup) - pls remove reverseqc_input (not yet enabled);

BLR-0118 commented 6 months ago

@diwanshi-thewitslab - pls resubmit

BLR-0118 commented 6 months ago

flow 1

  1. /on_search:

    • what does ttl of "P3DL" mean?
  2. /on_search_inc:

    • item 44255485853927 is updated to 0 avail / max qty wef 08:40:00.022Z and same record (with same timestamp) shows item in stock; which is the latest record in this case, considering that buyer apps use this timestamp for versioning?
BLR-0118 commented 6 months ago

flow 2 - ok;

BLR-0118 commented 6 months ago

flow 5

  1. /on_cancel:
    • initiated_by should have bpp_id;
    • curious why delivery charge is being refunded, when additional rto charge is levied?
BLR-0118 commented 6 months ago

@witslab-nikita - I'm clearing logs for v1.2.0, but pls make sure the above issues are fixed & status updated here;

witslab-nikita commented 6 months ago

@BLR-0118 Sure, will make sure these issues will be fixed.

@BLR-0118 @sandeepshahi @sahil-ondc @nishthamongaondc Thanks for all your feedbacks and clearance of logs.