Open Jagannath-wits opened 6 months ago
@Jagannath-wits Can you direct me to resource, which states , which code to use for different categories?
@Jagannath-wits Can you direct me to resource, which states , which code to use for different categories?
@Jagannath-wits Thanks , for this, bpp/providers[0]/items[0]/descriptor**: Code should be provided in /message/catalog/bpp/providers[0]/items[0]/descriptor
. I tried HSN number for furnitures in log validation utility , It says you should use GTIN. How can we identify which code type to use for which categories ?
Hi @Jagannath-wits,
While consolidating flow 6 we are facing errors from the utility, can you help us in identifying as to why they are happening?
Errors :- "message/order.fulfillments/1": "Mismatch occured while comparing 'Delivery' fulfillment object(without state, tags, instructions) with on_status_pending"
https://jsonblob.com/1218845999383830528
Payload ^
@Jagannath-wits
Any heads up on the same? We're facing same errors from the utility as well as buyer app and it's supposed to be a utility issue (as confirmed through mail via ONDC tech support).
Can we raise a PR meanwhile for all the changes from Flow 1 till Flow 5? We're lagging behind already on the same. Expecting a reply.
Thank you
https://jsonblob.com/1218845999383830528
Payload ^
This payload is for flow 6 and not 5 Don't see any errors in utility as of now in on_status calls except "missingRouting/Tag": "RoutingTag object is mandatory in Tags of Delivery Object for on_status_picked" @Ikshan-Tango
This payload is for flow 6 and not 5
That's because we're facing errors in flow 6, hence shared the same payload with you like I've specified in the above message as well. And please refer to POINT 2 for the utility response.
Kindly go through the above points and let us know our course of action as soon as possible.
Thank you @Jagannath-wits
This payload is for flow 6 and not 5
That's because we're facing errors in flow 6, hence shared the same payload with you like I've specified in the above message as well. And please refer to POINT 2 for the utility response.
- Flow 6 erroneous payload - https://jsonblob.com/1218845999383830528
- Flow 6 utility response - https://jsonblob.com/1242890024197677056
- It's supposed to be a utility issue (as confirmed through mail via ONDC tech support).
- Hence may we continue by raising a PR for flows 1 - 5 with the necessary changes implemented?
Kindly go through the above points and let us know our course of action as soon as possible.
Thank you @Jagannath-wits
Like I said
Don't see any errors in utility as of now in on_status calls except "missingRouting/Tag": "RoutingTag object is mandatory in Tags of Delivery Object for on_status_picked"
- I ran the payload you sent above only
- So please fix that and raise an PR for all flows, make sure the settlement_details and trailing quote_trail is present while submitting flow 6
@Ikshan-Tango
@Jagannath-wits pls check the PR #1747
@Jagannath-wits PR is ready for review #1747
"[{\"item_id\":\"I1\",\"error\":\"40002\"},{\"item_id\":\"I2\",\"error\":\"40002\"},{\"item_id\":\"I3\",\"error\":\"40002\"}]"
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "799.00",
"settlement_timestamp": "2024-05-30T18:58:26.687Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "799.00",
"settlement_timestamp": "2024-05-30T18:58:26.687Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "799.00",
"settlement_timestamp": "2024-05-30T18:58:26.687Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "799.00",
"settlement_timestamp": "2024-05-30T18:58:26.687Z"
}
message/order.payment/@ondc/org/settlement_details/1: Missing payment/@ondc/org/settlement_details as compared to update_settlement_reverse_qc i.e.
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type":
"upi",
"upi_address": "xyz@abc",
"settlement_amount": "399.00",
"settlement_timestamp": "2024-05-30T19:20:35.155Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "799.00",
"settlement_timestamp": "2024-05-30T18:58:26.687Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "399.00",
"settlement_timestamp": "2024-05-30T19:20:35.155Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "799.00",
"settlement_timestamp": "2024-05-30T18:58:26.687Z"
}
{
"bank_name": "ABC BANK",
"beneficiary_name": "SellerSetu Pvt. Ltd",
"branch_name": "XYZ",
"settlement_bank_account_no": "123654789",
"settlement_counterparty": "seller-app",
"settlement_ifsc_code": "123654789",
"settlement_phase": "sale-amount",
"settlement_type": "upi",
"upi_address": "xyz@abc",
"settlement_amount": "399.00",
"settlement_timestamp": "2024-05-30T19:20:35.155Z"
}
@sellersetu-hub
@Jagannath-wits in Flow 3 on_select out of stock error is already in the correct form, can you check it once again?
For flow 5, can you send the list for the valid reason codes of RTO? LSP side cancellation reason ID is provided which shouldn't be wrong for this case.
@Jagannath-wits expecting a reply here.
Kindly answer the following :-
@Jagannath-wits expecting a reply here.
Kindly answer the following :-
- 3 on_select out of stock error is already in the correct form, can you point what exactly is wrong in it?
- valid reason code was provided in flow 5, 018 is of LSP side cancellation.
- what exactly is wrong with all the payment_detail errors? Can you elaborate on it?
"
in the on_select_oos
:"[\"{\"item_id\": \"0fae5c4e-407b-428e-b2e1-0edd665e74a9\", \"error\": \"40002\"}\"]"
@Jagannath-wits raised PR for compliance check #1801, please review and provide feedback. Thank you!
@Jagannath-wits Please review and provide feedback.
-Only @ondc/org/buyer_app_finder_fee_type, @ondc/org/buyer_app_finder_fee_amount, @ondc/org/settlement_details are required in payment object as only buyer is collecting payment currently. In case seller wants to collect the payment then you can send it the way you sent but then it won't change in confirm call; right now payment is only accepted by buyer on network so the payment object in confirm is correct
@sellersetu-hub
@Jagannath-wits In Flow 4, since there is no delivery fee, this is what will be sent for quote in on_cancel:
"quote": {
"breakup": [],
"ttl": "P1D",
"price": {
"currency": "INR",
"value": "0"
}
}
Is this correct?
@Jagannath-wits In Flow 4, since there is no delivery fee, this is what will be sent for quote in on_cancel:
"quote": { "breakup": [], "ttl": "P1D", "price": { "currency": "INR", "value": "0" } }
Is this correct?
Please refer to contract example page no.- 434 and 435, As your quote is also not properly captured in both flow 4 and 5
@Chaitanya-Keyal
“Invoice”: Why is invoice still not publically accessible? Make sure it also updates after part-cancel.
The url is publically accessible, kindly check on_status_delivered, attaching payload for you reference.
"documents": [
{
"url": "https://development-ironcore.s3.amazonaws.com/invoice_path/2024-06-08-555818-Kiraana_Dukaan_SellerSetu.pdf",
"label": "Invoice"
}
],
@Jagannath-wits
Flow 4
on_cancel delivery fee cant be charged as cancellation occurs preshipment
Can you please tell us what should we do in this case? If we remove this delivery fee then we get the error as :-
"invldQuoteTrailPrices": "quote_trail price and item quote price sum for on_cancel should be equal to the price as in on_confirm",
This delivery fee is sent by us during on_confirm, since we can't decrease the quote price based on fulfillment delivery charges then this should be included. Please correct me if I'm wrong.
@Jagannath-wits
@Jagannath-wits Can you please help us resolve this, its a blocker in generating logs. Should we ignore this ?
@Jagannath-wits Can you please help us resolve this, its a blocker in generating logs. Should we ignore this ?
will need to see your logs to confirm, but have you added any new extra costs in quote? if you have then it should also be added in the quote trail as a +ve value if it's added after on_confirm
No haven't added any extra cost in quote. Can we connect over a meet to show you logs.
No haven't added any extra cost in quote. Can we connect over a meet to show you logs.
No haven't added any extra cost in quote. Can we connect over a meet to show you logs.
@Jagannath-wits pls review PR #1875
@Jagannath-wits Please review and provide feedback.
descriptor.code
of items change from EAN to HSN?fulfillment_delay
is only required when there is a delay in delivery. (for every flow)onConfirm Order State
is 'Accepted', the on_status_pending
is not required! (Repeated issue)delivery_fulfillment.start.address
, Gurgaon comes in Haryana state and not in Delhi.start
and end
in interim calls. (Repeated issue)start.time.duration
. Why is it there? (Repeated issue)start
and end
in interim calls. (Repeated issue)start.time.duration
. Why is it there? (Repeated issue)@sellersetu-hub multiple repeated issues in the logs; please fix all the errors
@Jagannath-wits
item with id 01b398e8-1382-439f-bf6a-eba2db6297dc: Sells for 96 units of table for 1500rs? Please provide realistic values.
I believe that's not necessary for us in pre-prod as we're using testing DB, in production there will be all realistic values. This error is not a log validation error hence ignoring this.
@Jagannath-wits Since there are no issues with flows 4 and 5, is it still necessary to provide new logs for them?
@Jagannath-wits Since there are no issues with flows 4 and 5, is it still necessary to provide new logs for them?
Yes it's required for a final check also so please provide the flow 4 and 5 as well
@Jagannath-wits PR #1914 raised, please review and provide feedback. Thank you!
@Jagannath-wits Please review .
@Jagannath-wits Please review .
Will update today
@Jagannath-wits waiting on this
@Jagannath-wits Please review and provide feedback
/on_search
/on_search (inc)
/on_init
/on_confirm
/on_status
/on_cancel
/on_status
/on_update (part cancel)
/on_update (interim)
/on_update (approval)
/on_update (picked)
/on_update (liquidated)
@Ikshan-Tango @Chaitanya-Keyal @aagman945
@sandeepshahi @Jagannath-Padhy when will order/updated_at get updated, which all cases ?
@sandeepshahi @Jagannath-Padhy when will order/updated_at get updated, which all cases ?
@aagman945, whenever there is any change in the order object.
order flow must be provided with a feasible customer location.
audit trail must be correctly maintained
@sandeepshahi @Jagannath-Padhy It would really mean a lot if you can tell us if these issues that you pointed out in this iteration are the last ones.
We have solved those issues and will be generating the logs again. It would be great if you can tell us any other issues that are left or that these are the last ones so that we can solve them all at once and can convey it to our clients as well. Every iteration takes about a week and this has been delaying a lot of big companies that are wanting to onboard ONDC with us.
Again, it would really mean a lot if you can update us on this.
@sandeepshahi we have raise the PR https://github.com/ONDC-Official/v1.2.0-logs/pull/1994 , Please review
@sandeepshahi @Jagannath-Padhy Please review.
item.attributes such as colour_name and material value should be in lowercase as defined in the contract (repeated issue).
Invalid attribute 'extradetail' and do not provide an empty object as the value of attributes. If attribute value is not available, please refrain from providing it.
Instructions object not captured correctly. Please refer to the contract, and ensure code and short_desc values are mapped correctly (repeated issue).
Invalid payload.
/items, quote, and quote_trail should not be updated in interim state (repeated issue).
@sellersetu-hub @aagmanbhatt
@Jagannath-wits Please review.
/on_search
/on_init
/on_confirm
/on_cancel
/on_cancel
/on_status (RTO)
/on_update (part cancel)
/on_status
@sellersetu-hub @aagmanbhatt
timestamp in estimated pickup/delivery ranges can't be earlier than context/timestamp; check start/time/range/start
This start/time/range object is being sent by logistics provider we are directly using that.
fulfillment id for part cancel (seller side) and full cancellation (buyer side) should not be same; what happens in case buyer cancels the full order after receiving the part cancellation request?
Then second cancellation will have incremental suffice. i.e C1 , C2 and so on
@sandeepshahi
Sellersetu : RET:16
Flow 1
On Search Full Catalog Refresh
/message/catalog/bpp~1providers/0/items/0/@ondc~1org~1return_window
must match format"duration"
bpp/providers[0]/items[0]/descriptor**: Code should be provided in
/message/catalog/bpp/providers[0]/items[0]/descriptor`On Search Inc Refresh
/message/catalog/bpp~1providers/0/items/0/quantity/available/count
available count must be either 99 or 0 only/message/catalog/bpp~1providers/0/items/0/@ondc~1org~1return_window
must match format"duration"
/message/catalog/bpp~1providers/0/items/0/@ondc~1org~1time_to_ship
must match format"duration"
Flow 2
On Status Pending
/start/range/start_time
"2024-05-07T15:47:49.504Z"
ofon_confirm
mismatched with/start/range/start_time
"2024-05-06T15:47:48.940Z"
ofon_status
for Delivery Fulfillment/start/range/end_time
"2024-05-07T15:47:49.504Z"
ofon_confirm
mismatched with/start/range/end_time
"2024-05-06T16:07:48.940Z"
ofon_status
for Delivery Fulfillment/end/range/start_time
"2024-05-09T15:47:49.504Z"
ofon_confirm
mismatched with/end/range/start_time
"2024-05-06T16:07:48.940Z"
ofon_status
for Delivery Fulfillment/end/range/end_time
"2024-05-09T15:47:49.504Z"
ofon_confirm
mismatched with/end/range/end_time
"2024-05-06T16:42:48.940Z"
ofon_status
for Delivery FulfillmentOn Status Packed
On Status Picked
On Status Out for Delivery
On Status Delivered
Flow 3
Flow 4
On Cancel
precancel_state.updated_at
ofon_cancel
is not equal with theon_confirm
order.updated_at
Flow 5
On Cancel
on_cancel
precancel_state.updated_at
ofon_cancel
is not equal with theon_status_out_for_delivery
order.updated_at
Flow 6
flow 6 should be provided in a single order. For reference, refer the README.md of ONDC-Official/log-validation-utility.
@sellersetu-hub