Skip to content
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

SequelString - LBNP - compliance check #2601

Open
abhinavv245 opened this issue Oct 7, 2024 · 0 comments
Open

SequelString - LBNP - compliance check #2601

abhinavv245 opened this issue Oct 7, 2024 · 0 comments

Comments

@abhinavv245
Copy link
Collaborator

Happy Flow

  • invalid attribute '_id' in all APIs
  • currently POST-FULFILLMENT is enabled on the network, please use that payment/type
  • authorization object to be used in /search API in case LBNP wants OTP based authorization, only LSPs who support may respond back (it is optional)
  • reverseqc_input tag in fulfillments/tags is to be provided in case of return orders (fulfillment/type = Return), not needed here (Also, additional_desc is not required in fulfillments/start/instructions) (/confirm API)
  • for
  • when is LBNP marking the order as ready_to_ship = yes (not marked in confirm or in update call)
  • invalid time range for OTP in authorization object
  • end instructions are for DCC, not PCC
    {
    "Flow Error": {
    "0": "Incorrect Flow as per context/timestamps - (on_track,on_update,search,on_search,init,on_init,confirm,on_confirm,update,track,status,on_status)"
    },
    "Schema": {
    "schemaErr0": "/search/0/context/ttl must be equal to constant (PT30S)",
    "schemaErr1": "/search/0/message/intent/fulfillment/end/location/gps cannot be equal to start/location/gps '"12.453544,77.928379"'",
    "schemaErr2": "/search/0/message/intent/payment @ondc/org/collection_amount is required only for payment/type 'ON-FULFILLMENT'",
    "schemaErr4": "/init/0/message/order/items/1/fulfillment_id should be mapped to the id - "zypp_immediate_f1" in /fulfillments",
    "schemaErr5": "/init/0/message/order/billing/tax_number should be valid",
    "schemaErr6": "/init/0/message/order/payment must NOT have additional properties (@ondc/org/collection_amount)",
    "schemaErr7": "/init/0/message/order/payment must NOT have additional properties (@ondc/org/settlement_details)",
    "schemaErr8": "/confirm/0/message/order/items/1/id must be equal to constant (zypp_immediate)",
    "schemaErr9": "/confirm/0/message/order/items/1/fulfillment_id must be equal to constant (zypp_immediate_f1)",
    "schemaErr10": "/confirm/0/message/order/fulfillments/0/start/instructions/short_desc should not be an empty string or have more than 6 alphanumeric",
    "schemaErr12": "/confirm/0/message/order/fulfillments/0/end/instructions/short_desc should not be an empty string or have more than 6 alphanumeric",
    "schemaErr14": "/confirm/0/message/order/fulfillments/0/end/instructions/short_desc PCC should not be same as DCC "value of PCC"",
    "schemaErr15": "/confirm/0/message/order/fulfillments/0/tags/2/code must be equal to one of the allowed values (state,rto_action,weather_check)",
    "schemaErr16": "/confirm/0/message/order/fulfillments/0/tags/2/list/0/code must be equal to one of the allowed values (ready_to_ship,return_to_origin,raining)",
    "schemaErr17": "/confirm/0/message/order/fulfillments/0/tags/2/list/0/value must be equal to one of the allowed values (yes,no)",
    "schemaErr18": "/confirm/0/message/order/fulfillments/0/tags/2/list/1/code must be equal to one of the allowed values (ready_to_ship,return_to_origin,raining)",
    "schemaErr19": "/confirm/0/message/order/fulfillments/0/tags/2/list/1/value must be equal to one of the allowed values (yes,no)",
    "schemaErr20": "/confirm/0/message/order/fulfillments/0/tags/2/list/2/code must be equal to one of the allowed values (ready_to_ship,return_to_origin,raining)",
    "schemaErr21": "/confirm/0/message/order/fulfillments/0/tags/2/list/2/value must be equal to one of the allowed values (yes,no)",
    "schemaErr22": "/confirm/0/message/order/payment @ondc/org/collection_amount is required only for payment/type 'ON-FULFILLMENT'",
    "schemaErr24": "/confirm/0/message/order/payment/collected_by mismatches in /payment in /on_init and /confirm",
    "schemaErr25": "/on_confirm/0/message/order/items/0/time/duration must be equal to constant (PT45M)",
    "schemaErr26": "/on_confirm/0/message/order/items/0/time/timestamp must be equal to constant (2023-06-06)",
    "schemaErr41": "/update/0/message/order/items/0/id must be equal to constant (zypp_immediate)",
    "schemaErr42": "/update/0/message/order/items/0/category_id must be equal to constant (Immediate Delivery)",
    "schemaErr43": "/update/0/message/order/fulfillments/0/id must be equal to constant (zypp_immediate_f1)",
    "schemaErr44": "/update/0/message/order/fulfillments/0/start must NOT have additional properties (authorization)",
    "schemaErr45": "/update/0/message/order/fulfillments/0/start/instructions/short_desc should not be an empty string or have more than 6 digits",
    "schemaErr46": "/update/0/message/order/fulfillments/0/start/instructions must match "then" schema",
    "schemaErr47": "/update/0/message/order/fulfillments/0/end/instructions/short_desc should not be an empty string or have more than 6 digits",
    "schemaErr48": "/update/0/message/order/fulfillments/0/end/instructions must match "then" schema",
    "schemaErr49": "/update/0/message/order/fulfillments/0/end/instructions/short_desc cannot be same as PCC - "value of PCC"",
    "schemaErr50": "/update/0/message/order/fulfillments/0/tags/0/code must be equal to one of the allowed values (state)",
    "schemaErr51": "/update/0/message/order/fulfillments/0/tags/0/list/0/code must be equal to one of the allowed values (ready_to_ship)",
    "schemaErr52": "/update/0/message/order/fulfillments/0/tags/2/code must be equal to one of the allowed values (state)",
    "schemaErr53": "/update/0/message/order/fulfillments/0/tags/2/list/0/code must be equal to one of the allowed values (ready_to_ship)",
    "schemaErr54": "/update/0/message/order/fulfillments/0/tags/3/code must be equal to one of the allowed values (state)",
    "schemaErr55": "/update/0/message/order/fulfillments/0/tags/3/list/0/code must be equal to one of the allowed values (ready_to_ship)",
    "schemaErr56": "/update/0/message/order/fulfillments/0/tags/3/list/0/value must be equal to one of the allowed values (yes,no)",
    "schemaErr57": "/update/0/message/order/fulfillments/0/tags/3/list/1/code must be equal to one of the allowed values (ready_to_ship)",
    "schemaErr58": "/update/0/message/order/fulfillments/0/tags/3/list/1/value must be equal to one of the allowed values (yes,no)",
    "schemaErr59": "/update/0/message/order/fulfillments/0/tags/3/list/2/code must be equal to one of the allowed values (ready_to_ship)",
    "schemaErr60": "/update/0/message/order/fulfillments/0/tags/3/list/2/value must be equal to one of the allowed values (yes,no)",
    "schemaErr61": "/on_update/0/context/transaction_id Transaction ID should be same across the transaction: "b32ddad4-cfb4-475b-9974-c8783719d625"",
    "schemaErr62": "/on_update/0/message/order must NOT have additional properties (tags)",
    "schemaErr63": "/on_update/0/message/order/items/0/id must be equal to constant (zypp_immediate)",
    "schemaErr64": "/on_update/0/message/order/items/0/fulfillment_id must be equal to constant (zypp_immediate_f1)",
    "schemaErr65": "/on_update/0/message/order/items/1/id must be equal to constant (zypp_immediate)",
    "schemaErr66": "/on_update/0/message/order/items/1/fulfillment_id must be equal to constant (zypp_immediate_f1)",
    "schemaErr67": "/on_update/0/message/order/fulfillments/0/end/instructions/code must be equal to one of the allowed values (1,2,3)",
    "schemaErr68": "/on_update/0/message/order/billing/updated_at mismatches in /billing from /init",
    "schemaErr69": "/on_update/0/message/order/payment @ondc/org/collection_amount is required only for payment/type 'ON-FULFILLMENT'",
    "schemaErr70": "/on_update/0/message/order/payment must match "then" schema",
    "schemaErr71": "/on_update/0/message/order/payment/collected_by mismatches in /payment in /on_init and /confirm",
    "schemaErr72": "/on_status/0/message/order/fulfillments/0/start/time must have required property 'range'",
    "schemaErr73": "/on_status/0/message/order/fulfillments/0/end must have required property 'time'",
    "schemaErr74": "/on_status/0/message/order/fulfillments/0 must match "then" schema",
    "schemaErr75": "/on_status/0/message/order/payment/collected_by must be equal to constant (BAP)",
    "schemaErr76": "/on_status/0/message/order/payment must match "then" schema",
    "schemaErr77": "/on_track/0/context/transaction_id Transaction ID should be same across the transaction: "b32ddad4-cfb4-475b-9974-c8783719d625"",
    "schemaErr78": "/on_track/0/context/message_id Message ID should be same as /track: "36415116-72d2-40fe-bb12-3ec919ad7c3a"",
    "schemaErr79": "/on_track/0/message/tracking/id must be equal to constant (zypp_immediate_f1)"
    },
    "Context": {
    "on_update_0": {
    "tmpstmpErr": "context/timestamp difference between on_update and update should be within 1 seconds"
    }
    },
    "Message": {
    "on_track_0": {
    "orderIdErr": "Order Id in /track and /on_track does not match"
    },
    "on_update_0": {
    "tmpstmpErr": "start/time/timestamp or end/time/timestamp cannot be provided in /fulfillments when fulfillment state is Order-picked-up"
    },
    "search_0": {
    "holidayErr0": "Holiday date '2023-06-29' should not be past dated",
    "holidayErr1": "Holiday date '2023-08-15' should not be past dated",
    "RGC-start-Err": "Reverse Geocoding for start failed. Area Code 560041 not matching with 12.453544,77.928379 Lat-Long pair.",
    "CityCode-Err": "CityCode 011 should match the city for the fulfillment start location 560041, 080",
    "RGC-end-Err": "Reverse Geocoding for end failed. Area Code 560001 not matching with 12.453544,77.928379 Lat-Long pair."
    },
    "init_0": {
    "prvdrErr": "Provider with id 'Zypp' does not exist in the catalog provided in /on_search",
    "itemErr0": "Item Id 'zypp_immediate' does not exist in /on_search",
    "itemErr1": "Item Id 'zypp_immediate-RTO' does not exist in /on_search"
    }
    }
    }

Cancellation Flow

    "schemaErr80": "/cancel/0/message/cancellation_reason_id must be equal to one of the allowed values (007,996)",
    "schemaErr81": "/on_cancel/0/message/order/cancellation/reason/id does not match the cancellation reason id in /cancel",
    "schemaErr82": "/on_cancel/0/message/order/fulfillments/0/start/time must have required property 'range'",

Note: Please run the log verification tool and rectify all the errors before resubmitting the logs. Also submit RTO Flow logs.

@Nirdosh3312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant