-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magicpin - LSP - compliance check #2705
Comments
@abhinavv245 can you please verify the logs again. Have added all the flows and made corrections in the preexisting flows |
Order Flow{ RTO Flow{ Cancel Flow
{ |
@abhinavv245 have submitted the logs again PR : #2721. |
Submitted the logs again. |
@abhinavv245 can you please verify the latest logs shared |
Order Flow/on_search
/confirm
/on_confirm
/on_status
RTO Flow
/on_cancel
Deferred RTS Flow
/on_update
TAT Breach (buyer cancellation)
/on_cancel
|
@abhinavv245 Submitted the logs with the required changes |
Logs cleared for v1.2. |
Multiple issues identified, please run the [log verification tool]https://github.com/ONDC-Official/reference-implementations/tree/main/utilities/logistics-b2b/log-verification-utility() to self test and rectify the issues.
Order Flow
{
"Flow Error": {
"0": "Incorrect Flow as per context/timestamps - (on_status,search,on_search,init,on_init,confirm,on_confirm,track,on_track)"
},
"Schema": {
"schemaErr0": "/search/0/message/intent/fulfillment/end/location/gps cannot be equal to start/location/gps '"28.6046734,77.2928949"'",
"schemaErr1": "/on_search/0/message/catalog/bpp
1providers/0/descriptor must have required property 'short_desc'",1providers/0/items/0 must have required property 'parent_item_id'","schemaErr2": "/on_search/0/message/catalog/bpp
"schemaErr3": "/on_search/0/message/catalog/bpp
1providers/0/items/0/descriptor must have required property 'long_desc'",1providers/0/items/1/descriptor must have required property 'long_desc'","schemaErr4": "/on_search/0/message/catalog/bpp
"schemaErr5": "/on_init/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr6": "/on_init/0/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr7": "/on_init/0/message/order/payment/collected_by must be equal to constant (BAP)",
"schemaErr8": "/on_init/0/message/order/payment must match "then" schema",
"schemaErr9": "/confirm/0/context/ttl must be equal to constant (PT30S)",
"schemaErr10": "/confirm/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr11": "/on_confirm/0/message/order must have required property 'created_at'",
"schemaErr12": "/on_confirm/0/message/order must have required property 'updated_at'",
"schemaErr13": "/on_confirm/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr14": "/on_status/0/context/transaction_id Transaction ID should be same across the transaction: "21342363_1729751897334_txn"",
"schemaErr15": "/on_status/0/message/order must have required property 'payment'",
"schemaErr16": "/on_status/0/message/order must have required property 'billing'",
"schemaErr17": "/on_status/0/message/order must match "else" schema",
"schemaErr18": "/on_status/0/message/order/id must be equal to constant (21342363_1729152206000)",
"schemaErr19": "/on_status/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr20": "/on_status/0/message/order/fulfillments/0 must have required property 'tracking'",
"schemaErr21": "/on_status/0/message/order/fulfillments/0 must match "then" schema",
"schemaErr22": "/on_status/0/message/order/fulfillments/0/start/location/address/building cannot be equal to locality",
"schemaErr23": "/on_status/0/message/order/fulfillments/0/start/contact must have required property 'phone'",
"schemaErr24": "/on_status/0/message/order/fulfillments/0/start/contact must have required property 'email'",
"schemaErr25": "/on_status/0/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr26": "/on_status/0/message/order/created_at mismatches in /confirm and /on_status",
"schemaErr27": "/on_status/1/context/transaction_id Transaction ID should be same across the transaction: "21342363_1729751897334_txn"",
"schemaErr28": "/on_status/1/message/order must have required property 'payment'",
"schemaErr29": "/on_status/1/message/order must have required property 'billing'",
"schemaErr30": "/on_status/1/message/order must match "else" schema",
"schemaErr31": "/on_status/1/message/order/id must be equal to constant (21342363_1729152206000)",
"schemaErr32": "/on_status/1/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr33": "/on_status/1/message/order/fulfillments/0 must have required property 'tracking'",
"schemaErr34": "/on_status/1/message/order/fulfillments/0 must match "then" schema",
"schemaErr35": "/on_status/1/message/order/fulfillments/0/start/contact must have required property 'email'",
"schemaErr36": "/on_status/1/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr37": "/on_status/1/message/order/created_at mismatches in /confirm and /on_status",
"schemaErr38": "/on_status/2/message/order must have required property 'payment'",
"schemaErr39": "/on_status/2/message/order must have required property 'billing'",
"schemaErr40": "/on_status/2/message/order must match "else" schema",
"schemaErr41": "/on_status/2/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr42": "/on_status/2/message/order/fulfillments/0 must have required property 'tracking'",
"schemaErr43": "/on_status/2/message/order/fulfillments/0 must match "then" schema",
"schemaErr44": "/on_status/2/message/order/fulfillments/0/start/contact must have required property 'email'",
"schemaErr45": "/on_status/2/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr46": "/on_status/3/message/order must have required property 'payment'",
"schemaErr47": "/on_status/3/message/order must have required property 'billing'",
"schemaErr48": "/on_status/3/message/order must match "else" schema",
"schemaErr49": "/on_status/3/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr50": "/on_status/3/message/order/fulfillments/0 must have required property 'tracking'",
"schemaErr51": "/on_status/3/message/order/fulfillments/0 must match "then" schema",
"schemaErr52": "/on_status/3/message/order/fulfillments/0/start/contact must have required property 'email'",
"schemaErr53": "/on_status/3/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr54": "/track/0/context/ttl must be equal to constant (PT30S)"
},
"Message": {
"on_status_0": {
"trckErr": "tracking should be enabled (true) for hyperlocal (Immediate Delivery)"
},
"on_status_1": {
"trckErr": "tracking should be enabled (true) for hyperlocal (Immediate Delivery)"
},
"on_status_2": {
"trckErr": "tracking should be enabled (true) for hyperlocal (Immediate Delivery)",
"pickupTimeErr": "Pickup timestamp (fulfillments/start/time/timestamp) is required for fulfillment state - Order-picked-up"
},
"on_status_3": {
"trckErr": "tracking should be enabled (true) for hyperlocal (Immediate Delivery)",
"pickupTimeErr": "Pickup timestamp (fulfillments/start/time/timestamp) is missing for fulfillment state - Order-delivered",
"deliveryTimeErr": "Delivery timestamp (fulfillments/end/time/timestamp) is required for fulfillment state - Order-delivered"
},
"on_init_0": {
"taxErr": "fulfillment charges will have separate quote line item for taxes"
}
}
}
Cancel Flow
{
"Schema": {
"schemaErr0": "/search/0/message/intent/fulfillment/end/location/gps cannot be equal to start/location/gps '"28.6046734,77.2928949"'",
"schemaErr1": "/on_search/0/message/catalog/bpp
1providers/0/descriptor must have required property 'short_desc'",1providers/0/items/0 must have required property 'parent_item_id'","schemaErr2": "/on_search/0/message/catalog/bpp
"schemaErr3": "/on_search/0/message/catalog/bpp
1providers/0/items/0/descriptor must have required property 'long_desc'",1providers/0/items/1/descriptor must have required property 'long_desc'","schemaErr4": "/on_search/0/message/catalog/bpp
"schemaErr5": "/on_init/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr6": "/on_init/0/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr7": "/on_init/0/message/order/payment/collected_by must be equal to constant (BAP)",
"schemaErr8": "/on_init/0/message/order/payment must match "then" schema",
"schemaErr9": "/confirm/0/context/ttl must be equal to constant (PT30S)",
"schemaErr10": "/confirm/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr11": "/on_confirm/0/message/order must have required property 'created_at'",
"schemaErr12": "/on_confirm/0/message/order must have required property 'updated_at'",
"schemaErr13": "/on_confirm/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr14": "/cancel/0/context/ttl must be equal to constant (PT30S)",
"schemaErr15": "/cancel/0/message/cancellation_reason_id must be equal to one of the allowed values (007,996)",
"schemaErr16": "/on_cancel/0/context/message_id Message ID should be same as /cancel: "a9ac5d01-ffb6-4c0b-ade5-46a876884a32_solicited"",
"schemaErr17": "/on_cancel/0/message/order/cancellation/reason/id does not match the cancellation reason id in /cancel",
"schemaErr18": "/on_cancel/0/message/order/quote/breakup/0 must have required property '@ondc/org/item_id'",
"schemaErr19": "/on_cancel/0/message/order/fulfillments/0/start/contact must have required property 'email'",
"schemaErr20": "/on_cancel/0/message/order/fulfillments/0/end/contact must have required property 'email'",
"schemaErr21": "/on_cancel/0/message/order/created_at mismatches in /confirm and /on_cancel"
},
"Message": {
"on_init_0": {
"taxErr": "fulfillment charges will have separate quote line item for taxes"
}
}
Note: Also provide logs for RTO Flow, Deferred RTS (/in update call)
@harshmohta1611
The text was updated successfully, but these errors were encountered: