ONDC-Official / v1.2.0-logs

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

Otipy (Seller App) - compliance check #339

Closed sahil-ondc closed 7 months ago

sahil-ondc commented 8 months ago

Flow 1

search_inc_refresh

on_search_full_catalog_refresh

on_search_inc_refresh

Other Flows

init

on_init

on_confirm

on_status

@yashCrofarm

sahil-ondc commented 8 months ago

Flow 1

on_search_full_catalog_refresh

Other flows

select

on_select

init

on_init

Note

Kindly submit logs with variant groups, and please refresh your catalog before order flow

@yashCrofarm

shiv0018 commented 8 months ago

Hi @sahil-ondc pls find my comments below:

  1. We were initially adding the "circle" property in the /message/catalog/bpp_providers/locations. But as per the log validation utility testing, we had to remove it as it was showing error for the circle. I think it should not be a concerned issue.
  2. On the reference app, search runs only with a certain frequency. So the timestamp of search & select might be different. Pls don't consider that validation issue for correction.
  3. For packaging/misc/delivery charges, there was no specific validation mentioned earlier in the api document, so we developed it keeping it visible even with zero value.
  4. int address 3 char issue. This is saved at reference app, there was no validation for minimum characters, that's why its appearing here. It is buyer app side property.
  5. GPS coordinate mismatch. This is again buyer side issue, which sends coordinates with different value (decimal mismatch). This is not our issue. It was discussed with Sandeep already, and he agreed on this.
  6. For our business and the kind of catalogue we have, there are not variants available. This was discussed way long back with the ONDC business team and they were comfortable having products without variants. So all the variants related test cases will not be eligible for us. Kindly approve the logs.
vipul-jn commented 8 months ago

@sahil-ondc : Is it possible, that the changes you have mentioned... we will do the changes in the flow 2, instead of running all the test cases again and capturing it.

yashCrofarm commented 8 months ago

@sahil-ondc kindly find the corrections below. https://github.com/ONDC-Official/v1.2.0-logs/pull/365/

CharanpreetChawla commented 8 months ago

Flow 1

/on_search_inc_refresh

/confirm

/on_confirm

shiv0018 commented 8 months ago

Hi @CharanpreetChawla Please find my comments below

  1. /on_search_inc_refresh - In Increment change there was a price change so we sent same item with price change. For item id -9371 price was changed from 25 to 26 INR.

  2. /confirm - We are seller ISN and we got confirm request from ONDC reference buyer app (bap_id-buyer-app-preprod-v2.ondc.org). So In confirm API we submitted same request body which we got from reference buyer app. So this is buyer app side issue not seller side.

  3. /on_confirm - As per ONDC-API contract for seller(v1.2.0) we should receive same tags in confirm api which we sent in on_init api. But we did not received same tags in confirm. We sent same tags in on_init and on_confirm.

Kindly review my comments and verify the logs.

vipul-jn commented 8 months ago

@sahil-ondc @bluecypher Pls review the logs.. as we have already discussed that the comments related to the buyer apps will be ignored as we have tested it from the buyer app.

sandeepshahi commented 8 months ago

Flow 1

/on_search

/on_search (incremental)

Flow 2

/on_init

/on_status

Flow 3

Flow 4

/on_confirm

/on_cancel

Flow 5

@vipul-jn

shiv0018 commented 8 months ago

@bluecypher Please review the logs. we resubmitted the correct logs as per your suggestions.

CharanpreetChawla commented 8 months ago

Working on it

On Mon, 8 Jan, 2024, 11:49 shiv0018, @.***> wrote:

@bluecypher https://github.com/bluecypher Please review the logs. we resubmitted the correct logs as per your suggestions.

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

shiv0018 commented 8 months ago

@CharanpreetChawla any update ??

CharanpreetChawla commented 8 months ago

Flow 1

/on_search_inc

Flow 2

/on_init

/on_confirm

/on_status_pending

/on_status_out_for_delivery

/on_status_delivered

Flow 3

/on_confirm

Flow 4

/on_cancel

Flow 5

/on_cancel

shiv0018 commented 8 months ago

@CharanpreetChawla Flow 1 There are two items with delta changes. In first item (id-9341), item label is changed to disable form enable. In second item (id-9371), item price is changed from INR 26 to INR 20.

Flow 2 and 3 Please refer to the comments made by @bluecypher . He suggested us to not send these extra keys because we are not collecting payment. Buyer will handle the payment collection part.

Flow 4 As per API contract for retail v1.2.0(Page no. - 440 to 441.) there is quote trail in fulfillment object C1. For timestamp in /fulfillments for type = "Cancel" we will correct this.

Flow5 Same as flow 2 and 3.

shiv0018 commented 8 months ago

@CharanpreetChawla @bluecypher Please review my comments and let me know if any other information required.

sandeepshahi commented 8 months ago

@shiv0018, the properties are mandatory in /on_confirm.

vipul-jn commented 8 months ago

@bluecypher Even I remember, you suggested to remove those payment related blocks as we are not collecting the payment. How come it is mandatory now!

yashCrofarm commented 8 months ago

@bluecypher @CharanpreetChawla @sahil-ondc Kindly find the link to PR after suggested changes https://github.com/ONDC-Official/v1.2.0-logs/pull/498

sandeepshahi commented 8 months ago

Flow 1

/on_search

/on_confirm

Flow 5

/on_cancel (RTO-disposed)

Flow 6

/on_update (part cancel)

/on_update (Return_Initiated)

/on_update (Liquidated)

@yashCrofarm @vipul-jn

vipul-jn commented 8 months ago

New PR with the fixes : https://github.com/ONDC-Official/v1.2.0-logs/pull/537 @bluecypher

shiv0018 commented 8 months ago

@bluecypher Can you please review this PR : #537

sandeepshahi commented 8 months ago

/on_select

/on_cancel

/on_status (RTO-Disposed)

/update

@shiv0018 @vipul-jn

vipul-jn commented 8 months ago

@bluecypher can we setup a call for discussion of the comments.

vipul-jn commented 8 months ago

PR with changes : https://github.com/ONDC-Official/v1.2.0-logs/pull/585

vipul-jn commented 8 months ago

@bluecypher

BLR-0118 commented 7 months ago

Flow 2

  1. /on_select:
    • definition of item.quantity.available.count is "99" (in-stock) or "0" (out-of-stock); this is correctly followed in /on_search, but in /on_select, it becomes "3";
  2. /on_status:
    • didn't see an /on_status for "Packed", just wanted to check if this is also being sent? Buyer apps have validations in place, so states can't be skipped;

Flow 3

  1. /on_select (out of stock):
    • error.message: pls use escaped double quotes instead of single quotes as updated in contract;

Flow 5

  1. /on_cancel (rto initiated):
    • pls only include delta changes in quote_trail (e.g. RTO delivery charges are not being applied, so shouldn't be here);
    • pls also include precancel_state;
BLR-0118 commented 7 months ago

@yashCrofarm - pls fix the above & make a note here when done; logs don't need to be resubmitted;

vipul-jn commented 7 months ago

@BLR-0118, @bluecypher : We have made the suggested changes and deployed it.

BLR-0118 commented 7 months ago

log cleared for v1.2.0 (RET10)