ONDC-Official / v1.2.0-logs

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

Craver (Buyer App) - Compliance check #484

Open sahil-ondc opened 8 months ago

sahil-ondc commented 8 months ago

Flow 1

Search Inc Refresh

Other Flows

Select

The city code in /search_full_catalog_refresh and /select doesn't match

Init

Confirm

Status

@sadrohan

sandeepshahi commented 8 months ago

Please share the order flow for customizable items

Flow 1

/search

/search_inc

Flow 2

/select

/init

/confirm

Flow 3

/select

Flow 4

/cancel

/on_cancel

Flow 5

Flow 6

@sanidhya-locus

rudra-cruv commented 7 months ago

@bluecypher The above issues has been resolved in the latest Commit.

rudra-cruv commented 7 months ago

@bluecypher Please merge this #964, before reviewing the logs.

sandeepshahi commented 7 months ago

Flow 1

/on_search

Flow 2

/confirm

Flow 3

/on_select (OOS)

/select_2

Flow 4

/cancel

Flow 5

Flow 6

@rudra-cruv @sanidhyaagrawal

rudra-cruv commented 6 months ago

@sandeepshahi, Can you elaborate or give reference on how to achieve this, refund must be initiated once the order is cancelled (part/full) or returned; BNP must provide FYI refund info to SNP in /update call in Flow 6.

sandeepshahi commented 6 months ago

You have to call the /update API as mentioned in the contract here

@rudra-cruv

rudra-cruv commented 6 months ago

@Jagannath-wits

I think you have reviewed some other PR.

Flow - 2

Provider.locations[0].id matches in /select and /init

Flow - 3

No Item id in our Flows matches with food_item-170383210588937185,

Flow - 6(c)

We haven't submitted Flow-6(c) as it is inapplicable in F&B category.

Jagannath-wits commented 6 months ago

Flow 2

Select

Confirm

Flow 3,4,5

same as above

Flow 6-a

Update

@rudra-cruv Please refer to this

rudra-cruv commented 5 months ago

@sandeepshahi @Jagannath-wits Please review the new Commit.

sandeepshahi commented 5 months ago

Flow 1

/on_search

/search (inc)

Flow 2

/select

/on_select

/init

/on_init

/confirm

Flow 4

/cancel

/on_cancel

Flow 5

Flow 6

@rudra-cruv

rudra-cruv commented 5 months ago

Flow 1

  1. We take the 0th index customization as the default one if config.min = 1 and no default customization is provided.
  2. We calculate the default selection price dynamically during runtime based on the selection.

Flow 2

  1. Yes the mapping is correct, the area has overlapping area codes. Hence, can be different on different systems.
  2. The item price, taxes and charges are calculated separately at item level as well as at the cart level and displayed to the user. And are according the contract.
  3. Yes, the validation of name + building + locality < 190 chars is in place.
  4. The flows are simulated using a mock store on the ondc ref seller app, the tax number is only for testing purposes, and will be nacked if incorrect.
  5. ondc ref seller app is does not have the functionality to add provider tax number.
  6. Yes, Retry mechanism is enabled.

Flow 4

  1. Cancelled items have been mapped to a new fulfillment id "9b2bc588-7bc1-4d0e-bb76-1c8f5640e484", the original fulfillment id was "76305f82-bb81-48f0-899b-3b3ef70dfe68"

@sandeepshahi

rudra-cruv commented 5 months ago

@sandeepshahi

Are these all the errors that needs to be fixed?, if there are more please inform us, So that we can fix them in the next PR. We want to close this as soon as possible.

sanidhyaagrawal commented 5 months ago

@sandeepshahi @Jagannath-wits bumping this.

sandeepshahi commented 5 months ago

@rudra-cruv, those were the comprehensive list of all the errors. Please refrain from manipulating the logs during resubmission and get the issues fixed at your end.

Please answer the following queries:

Also, please share a demo of the app with the complete order flow.

Jagannath-wits commented 4 months ago

@rudra-cruv, those were the comprehensive list of all the errors. Please refrain from manipulating the logs during resubmission and get the issues fixed at your end.

Please answer the following queries:

  • is push based incremental refresh supported?
  • are you using the timestamp at provider / item level for correct versioning while processing the catalogs (full/incremental) concurrently
  • is /select being called for every change in cart, with the same transaction_id?
  • while processing unsolicited callbacks, are you ensuring that each such callback response has a unique message_id for a specific transaction_id?
  • is retry mechanism enabled for confirm/on_confirm flow as mentioned in the doc?
  • are the cancellation reason codes received from SNP being validated?

Also, please share a demo of the app with the complete order flow.

Flow 1

search_inc_refresh

Flow 2

select

confirm

Note :

"contextCityError": context/city should be "*" while sending search_inc_catalog request.

  • This error was raiser earlier as well why is it still there ?
  • Buyer app should send Nack when incorrect values are sent in on_action
  • Also please respond to the previosuly asked questions

@rudra-cruv

rudra-cruv commented 4 months ago

@sandeepshahi @Jagannath-wits

@rudra-cruv, those were the comprehensive list of all the errors. Please refrain from manipulating the logs during resubmission and get the issues fixed at your end.

Please answer the following queries:

  • is push based incremental refresh supported?
  • are you using the timestamp at provider / item level for correct versioning while processing the catalogs (full/incremental) concurrently
  • is /select being called for every change in cart, with the same transaction_id?
  • while processing unsolicited callbacks, are you ensuring that each such callback response has a unique message_id for a specific transaction_id?
  • is retry mechanism enabled for confirm/on_confirm flow as mentioned in the doc?
  • are the cancellation reason codes received from SNP being validated?

Also, please share a demo of the app with the complete order flow.

rudra-cruv commented 4 months ago

@Jagannath-wits

@rudra-cruv, those were the comprehensive list of all the errors. Please refrain from manipulating the logs during resubmission and get the issues fixed at your end. Please answer the following queries:

  • is push based incremental refresh supported?
  • are you using the timestamp at provider / item level for correct versioning while processing the catalogs (full/incremental) concurrently
  • is /select being called for every change in cart, with the same transaction_id?
  • while processing unsolicited callbacks, are you ensuring that each such callback response has a unique message_id for a specific transaction_id?
  • is retry mechanism enabled for confirm/on_confirm flow as mentioned in the doc?
  • are the cancellation reason codes received from SNP being validated?

Also, please share a demo of the app with the complete order flow.

Flow 1

search_inc_refresh

  • "contextCityError": context/city should be "*" while sending search_inc_catalog request.

Flow 2

select

  • "location_id[0]": location_id should be the same for the item AQM_Item_Tea_1 as in on_search.
  • "location_id[1]": location_id should be the same for the item AQM_Item_Bread_1 as in on_search.
  • "prvdLoc": provider.locations[0].id AQM-BPP-PROVIDER-1-LOCATION-1 mismatches in /on_search and /select.

confirm

  • "message.order.tags[0].list": Number of digits in tax number in message.order.tags[0].list should be 15 and not a placeholder.

Note :

"contextCityError": context/city should be "*" while sending search_inc_catalog request.

  • This error was raiser earlier as well why is it still there ?
  • Buyer app should send Nack when incorrect values are sent in on_action
  • Also please respond to the previosuly asked questions

@rudra-cruv

sandeepshahi commented 4 months ago

Download link to the app - https://play.google.com/store/apps/details?id=dev.cruv.craver

@rudra-cruv, Please share the demo video instead of the app link. Also, why has the app been deployed without ONDC production keys?

sanidhyaagrawal commented 4 months ago

We had to placed the app in public beta mode for payment gateway verification. Currently, it is only being used internally by our testers, and we are not promoting it publicly, we can move it back to internal beta if needed.

Please find the demo video in the link below, in the video I have placed an order with customisations and cancelled it. Let me know if you want us to share videos for any other flows.

https://drive.google.com/file/d/1q278M5UGa3n4BvQOUHysEHwFUGTuC3or/view?usp=sharing

rudra-cruv commented 4 months ago

@sandeepshahi @Jagannath-wits What is the tax_number in message.order.tags[0]? We have tried our 15 digits GST number, 10 digits PAN and 10 digits TAN on the log validation utility but none is fixing the issue.