ONDC-Official / verification-logs

ONDC Pre-production issue & discussion board
22 stars 309 forks source link

ONDC- Ref-Seller App – compliance check #556

Open sandeepshahi opened 1 year ago

sandeepshahi commented 1 year ago

Flow 2

/search /message/intent/payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) Buyer app finder fee type should be "percent" GPS Lat/Long Precision should be same

/on_search /message/catalog/bpp/providers/0 must have required property 'time' /message/catalog/bpp/providers/0/locations/0/address must have required property 'street' /message/catalog/bpp/providers/0/locations/0/time must have required property 'schedule' /message/catalog/bpp/providers/0/items/0/quantity/maximum/count must be string /message/catalog/bpp/providers/0/items/0/quantity/available/count must be string /message/catalog/bpp/providers/0/items/0/category_id must be equal to one of the allowed values (Fruits and Vegetables,Masala & Seasoning,Oil & Ghee,Gourmet & World Foods,Foodgrains,Eggs, Meat & Fish,Cleaning & Household,Beverages,Beauty & Hygiene,Bakery, Cakes & Dairy,Kitchen Accessories,Baby Care,Snacks & Branded Foods,Pet Care,Stationery,Continental,Middle Eastern,North Indian,Pan-Asian,Regional Indian,South Indian,Tex-Mexican,World Cuisines,Healthy Food,Fast Food,Desserts,Bakes & Cakes,Beverages (MTO),Home Decor,Home Furnishings,Furniture,Garden and Outdoor Products,Home Improvement,Cookware and Dining,Storage and Organisation) /message/catalog/bpp/providers/2/items/0/descriptor/images must NOT have fewer than 1 items /message/catalog/bpp/providers/2/fulfillments/0/contact must have required property 'phone' Context timestamp for /search api cannot be greater than or equal to /on_search api quantity.available.count should be smaller than equal to quantity.maximum.count contact_details_consumer_care should be in "name,email,phone" format

/select fulfillments GPS Lat/Long Precision should be same

/on_select /fulfillments/0 must have required property '@ondc/org/category' Timestamp for /select api cannot be greater than or equal to /on_select api Item's unit price missing in quote.breakup for item id b2548044-2e10-441a-a518-0015cfe1f701

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

/on_init /quote/breakup/2 must have required property '@ondc/org/item_id' /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) /payment/@ondc/org/settlement_details/0 must have required property 'branch_name' Timestamp for init api cannot be greater than or equal to on_init api gps coordinates in fulfillments[0].end.location mismatch in /select & /on_init Quote object mismatches in /on_select and /on_init

/confirm /message/order/fulfillments/0 must have required property 'tracking' /message/order/quote/breakup/2 must have required property '@ondc/org/item_id' /message/order/payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) /message/order/payment/@ondc/org/settlement_details/0 must have required property 'branch_name' Quote Objects in /on_select and /confirm do not match

/on_confirm must have required property 'created_at' must have required property 'updated_at' /fulfillments/0 must have required property '@ondc/org/provider_name' /fulfillments/0 must have required property 'state' /fulfillments/0 must have required property 'tracking' /fulfillments/0 must have required property 'start' /fulfillments/0/end must have required property 'time' /quote/breakup/2 must have required property '@ondc/org/item_id' /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) /payment/@ondc/org/settlement_details/0 must have required property 'branch_name' /payment/@ondc/org/settlement_details/0 must match "then" schema Timestamp for /confirm api cannot be greater than or equal to /on_confirm api order.created_at timestamp mismatches in /confirm and /on_confirm order.updated_at timestamp should be updated (Default fulfillment state is added) Quote Object in /on_select and /on_confirm do not match

/on_cancel Timestamp for /on_confirm api cannot be greater than or equal to /on_cancel api

/status Transaction Id should be same from /select onwards Order ids in /confirm and /status do not match

/on_status must have required property 'created_at' must have required property 'updated_at' /provider must have required property 'locations' /fulfillments/0 must have required property '@ondc/org/provider_name' /fulfillments/0 must have required property 'tracking' /fulfillments/0 must have required property 'start' /fulfillments/0/end must have required property 'time' /quote/breakup/2 must have required property '@ondc/org/item_id' /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) /payment/@ondc/org/settlement_details/0 must have required property 'branch_name' Transaction Id should be same from /select onwards

@wemakshaychavan

sandeepshahi commented 1 year ago

Flow 2

/search /message/intent/payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) Buyer app finder fee type should be "percent"

/on_search /message/catalog/bpp/descriptor/images/0 must match pattern "^(?!\s*$).+.(jpeg|jpg|jfif|gif|png|ico)$" /message/catalog/bpp/providers/0/@ondc/org/fssai_license_no must NOT have fewer than 14 characters /message/catalog/bpp/providers/locations/0/address must have required property 'street' /message/catalog/bpp/providers/locations/0/address must have required property 'city' /message/catalog/bpp/providers/locations/0/address must have required property 'area_code' /message/catalog/bpp/providers/locations/0/address must have required property 'state' /message/catalog/bpp/providers/6/items/4/descriptor/images must NOT have fewer than 1 items /message/catalog/bpp/providers/13/fulfillments/0/contact must have required property 'phone' bpp/providers/locations/address building and country are not required items.quantity.available.count should be smaller than equal to items.quantity.maximum.count month_year_of_manufacture_packing_import should be in stringified month/year format

/on_select fulfillments[] "@ondc/org/TAT" (O2D) can't be smaller than time_to_ship in on_search (O2S)

/confirm /message/order/fulfillments/0 must have required property 'tracking' /message/order/payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount)

/on_confirm /fulfillments/0/start must have required property 'time' /fulfillments/0/end must have required property 'time' /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) order.updated_at should match the context.timestamp

/on_status /fulfillments/0/start must have required property 'time' /fulfillments/0/end must have required property 'time' /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) order.created_at should match confirm's context.timestamp order.updated_at should remain same as in on_confirm (no change in order state)

@wemakshaychavan

sandeepshahi commented 1 year ago

Flow 2

/on_search quantity.available.count should be smaller than equal to quantity.maximum.count

/on_select available count can't be greater than maximum count in quote.breakup[].item.quantity

/on_init provider.locations[] is not required

/on_confirm /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount) order.updated_at timestamp should be updated (Default fulfillment state is added) Quote Object discrepancies in /on_select and /on_confirm

/on_status /payment/@ondc/org/buyer_app_finder_fee_type must be equal to one of the allowed values (percent,amount)

@wemakshaychavan