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

Receiving the same on_receiver response for different receiver_recon statuses #9

Open
logeshthiru opened this issue Mar 15, 2024 · 0 comments

Comments

@logeshthiru
Copy link

Hi @sandeepshahi, I am receiving the same on_receiver response for different receiver_recon statuses,

the order book and bank ledger are being validated here?

Request payload-

{
"context": {
"domain": "ONDC:NTS10",
"country": "IND",
"city": "*",
"action": "receiver_recon",
"timestamp": "2024-03-15T15:54:26.375Z",
"ttl": "P3D",
"core_version": "1.1.0",
"bap_id": "buyer-app-preprod.ondc.org",
"bap_uri": "https://buyer-app-preprod.ondc.org",
"bpp_id": "rsf-mock-service.ondc.org",
"bpp_uri": "https://rsf-mock-service.ondc.org/",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963",
"message_id": "110c08d5-ca62-4d5c-b404-66b102ada1a5"
},
"message": {
"orderbook": {
"orders": [
{
"id": "2024-03-15-929210",
"state": "Delivered",
"provider": {
"name": {
"name": "ONDC Rpos7",
"code": "19609-ONDC-1-10211"
},
"address": "Karnataka"
},
"payment": {
"uri": "https://juspay.in/",
"params": {
"transaction_id": "ib210-3o5n-3kj5-35jn-3jn5",
"transaction_status": "PAID",
"amount": "517.7",
"currency": "INR"
},
"type": "ON-ORDER",
"status": "PAID",
"tl_method": "http/get",
"collected_by": "BAP",
"@ondc/org/collected_by_status": "Assert",
"@ondc/org/buyer_app_finder_fee_type": "Percentage",
"@ondc/org/buyer_app_finder_fee_amount": "3",
"@ondc/org/withholding_amount": "0",
"@ondc/org/withholding_amount_status": "Assert",
"@ondc/org/return_window": "P6D",
"@ondc/org/return_window_status": "Assert",
"@ondc/org/settlement_basis": "Collection",
"@ondc/org/settlement_basis_status": "Assert",
"@ondc/org/settlement_window": "P10D",
"@ondc/org/settlement_window_status": "Assert",
"@ondc/org/settlement_details": [
{
"settlement_counterparty": "seller-app",
"settlement_phase": "sale-amount",
"settlement_type": "neft",
"settlement_bank_account_no": "910020019889016",
"settlement_ifsc_code": "UTIB0000234",
"upi_address": "",
"settlement_status": "PAID",
"settlement_reference": "210rqe-5om5-34mio-24ib-35joni",
"settlement_amount": 500,
"settlement_timestamp": "2024-03-15T15:54:25.593Z",
"beneficiary_name": "M/s Gofrugal Technologies Private Ltd",
"bank_name": "Axis Bank",
"branch_name": "Velachery-Chennai",
"beneficiary_address": "Mumbai"
}
]
},
"invoice_no": "",
"collector_app_id": "buyer-app-preprod.ondc.org",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"withholding_tax_gst": {
"currency": "INR",
"value": "0"
},
"withholding_tax_tds": {
"currency": "INR",
"value": "0"
},
"deduction_by_collector": {
"currency": "INR",
"value": "0"
},
"payerdetails": {
"payer_name": "testondc Pvt Ltd",
"payer_address": "Mumbai",
"payer_account_no": "509424923",
"payer_bank_code": "HDFC0000000",
"payer_virtual_payment_address": "28cba@abctMh2h"
},
"settlement_reason_code": "01",
"transaction_id": "210bib4om3m",
"settlement_id": "210un2on3",
"settlement_reference_no": "210rqe-5om5-34mio-24ib-35joni",
"recon_status": "01",
"diff_amount": {
"currency": ""
},
"message": {
"name": "",
"code": ""
},
"created_at": "2024-03-15T15:54:25.593Z",
"updated_at": "2024-03-15T15:54:26.375Z"
},
{
"id": "2024-03-15-929310",
"state": "Delivered",
"provider": {
"name": {
"name": "ONDC Rpos7",
"code": "19609-ONDC-1-10211"
},
"address": "Karnataka"
},
"payment": {
"uri": "https://juspay.in/",
"params": {
"transaction_id": "ib310-3o5n-3kj5-35jn-3jn5",
"transaction_status": "PAID",
"amount": "517.7",
"currency": "INR"
},
"type": "ON-ORDER",
"status": "PAID",
"tl_method": "http/get",
"collected_by": "BAP",
"@ondc/org/collected_by_status": "Assert",
"@ondc/org/buyer_app_finder_fee_type": "Percentage",
"@ondc/org/buyer_app_finder_fee_amount": "3",
"@ondc/org/withholding_amount": "0",
"@ondc/org/withholding_amount_status": "Assert",
"@ondc/org/return_window": "P6D",
"@ondc/org/return_window_status": "Assert",
"@ondc/org/settlement_basis": "Collection",
"@ondc/org/settlement_basis_status": "Assert",
"@ondc/org/settlement_window": "P10D",
"@ondc/org/settlement_window_status": "Assert",
"@ondc/org/settlement_details": [
{
"settlement_counterparty": "seller-app",
"settlement_phase": "sale-amount",
"settlement_type": "neft",
"settlement_bank_account_no": "910020019889016",
"settlement_ifsc_code": "UTIB0000234",
"upi_address": "",
"settlement_status": "PAID",
"settlement_reference": "310rqe-5om5-34mio-24ib-35joni",
"settlement_amount": 450,
"settlement_timestamp": "2024-03-15T15:54:25.593Z",
"beneficiary_name": "M/s Gofrugal Technologies Private Ltd",
"bank_name": "Axis Bank",
"branch_name": "Velachery-Chennai",
"beneficiary_address": "Mumbai"
}
]
},
"invoice_no": "",
"collector_app_id": "buyer-app-preprod.ondc.org",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"withholding_tax_gst": {
"currency": "INR",
"value": "0"
},
"withholding_tax_tds": {
"currency": "INR",
"value": "0"
},
"deduction_by_collector": {
"currency": "INR",
"value": "0"
},
"payerdetails": {
"payer_name": "testondc Pvt Ltd",
"payer_address": "Mumbai",
"payer_account_no": "509424923",
"payer_bank_code": "HDFC0000000",
"payer_virtual_payment_address": "28cba@abctMh2h"
},
"settlement_reason_code": "02",
"transaction_id": "310bib4om3m",
"settlement_id": "310un2on3",
"settlement_reference_no": "310rqe-5om5-34mio-24ib-35joni",
"recon_status": "03",
"diff_amount": {
"currency": ""
},
"message": {
"name": "",
"code": ""
},
"created_at": "2024-03-15T15:54:25.593Z",
"updated_at": "2024-03-15T15:54:26.375Z"
},
{
"id": "2024-03-15-929410",
"state": "Delivered",
"provider": {
"name": {
"name": "ONDC Rpos7",
"code": "19609-ONDC-1-10211"
},
"address": "Karnataka"
},
"payment": {
"uri": "https://juspay.in/",
"params": {
"transaction_id": "ib410-3o5n-3kj5-35jn-3jn5",
"transaction_status": "PAID",
"amount": "517.7",
"currency": "INR"
},
"type": "ON-ORDER",
"status": "PAID",
"tl_method": "http/get",
"collected_by": "BAP",
"@ondc/org/collected_by_status": "Assert",
"@ondc/org/buyer_app_finder_fee_type": "Percentage",
"@ondc/org/buyer_app_finder_fee_amount": "3",
"@ondc/org/withholding_amount": "0",
"@ondc/org/withholding_amount_status": "Assert",
"@ondc/org/return_window": "P6D",
"@ondc/org/return_window_status": "Assert",
"@ondc/org/settlement_basis": "Collection",
"@ondc/org/settlement_basis_status": "Assert",
"@ondc/org/settlement_window": "P10D",
"@ondc/org/settlement_window_status": "Assert",
"@ondc/org/settlement_details": [
{
"settlement_counterparty": "seller-app",
"settlement_phase": "sale-amount",
"settlement_type": "neft",
"settlement_bank_account_no": "910020019889016",
"settlement_ifsc_code": "UTIB0000234",
"upi_address": "",
"settlement_status": "PAID",
"settlement_reference": "410rqe-5om5-34mio-24ib-35joni",
"settlement_amount": 700,
"settlement_timestamp": "2024-03-15T15:54:25.593Z",
"beneficiary_name": "M/s Gofrugal Technologies Private Ltd",
"bank_name": "Axis Bank",
"branch_name": "Velachery-Chennai",
"beneficiary_address": "Mumbai"
}
]
},
"invoice_no": "",
"collector_app_id": "buyer-app-preprod.ondc.org",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"withholding_tax_gst": {
"currency": "INR",
"value": "0"
},
"withholding_tax_tds": {
"currency": "INR",
"value": "0"
},
"deduction_by_collector": {
"currency": "INR",
"value": "0"
},
"payerdetails": {
"payer_name": "testondc Pvt Ltd",
"payer_address": "Mumbai",
"payer_account_no": "509424923",
"payer_bank_code": "HDFC0000000",
"payer_virtual_payment_address": "28cba@abctMh2h"
},
"settlement_reason_code": "01",
"transaction_id": "410bib4om3m",
"settlement_id": "410un2on3",
"settlement_reference_no": "410rqe-5om5-34mio-24ib-35joni",
"recon_status": "02",
"diff_amount": {
"currency": ""
},
"message": {
"name": "",
"code": ""
},
"created_at": "2024-03-15T15:54:25.593Z",
"updated_at": "2024-03-15T15:54:26.375Z"
},
{
"id": "2024-03-15-929510",
"state": "Delivered",
"provider": {
"name": {
"name": "ONDC Rpos7",
"code": "19609-ONDC-1-10211"
},
"address": "Karnataka"
},
"payment": {
"uri": "https://juspay.in/",
"params": {
"transaction_id": "ib510-3o5n-3kj5-35jn-3jn5",
"transaction_status": "PAID",
"amount": "517.7",
"currency": "INR"
},
"type": "ON-ORDER",
"status": "PAID",
"tl_method": "http/get",
"collected_by": "BAP",
"@ondc/org/collected_by_status": "Assert",
"@ondc/org/buyer_app_finder_fee_type": "Percentage",
"@ondc/org/buyer_app_finder_fee_amount": "3",
"@ondc/org/withholding_amount": "0",
"@ondc/org/withholding_amount_status": "Assert",
"@ondc/org/return_window": "P6D",
"@ondc/org/return_window_status": "Assert",
"@ondc/org/settlement_basis": "Collection",
"@ondc/org/settlement_basis_status": "Assert",
"@ondc/org/settlement_window": "P10D",
"@ondc/org/settlement_window_status": "Assert",
"@ondc/org/settlement_details": [
{
"settlement_counterparty": "seller-app",
"settlement_phase": "sale-amount",
"settlement_type": "neft",
"settlement_bank_account_no": "910020019889016",
"settlement_ifsc_code": "UTIB0000234",
"upi_address": "",
"settlement_status": "PAID",
"settlement_reference": "510rqe-5om5-34mio-24ib-35joni",
"settlement_amount": 300,
"settlement_timestamp": "2024-03-15T15:54:25.593Z",
"beneficiary_name": "M/s Gofrugal Technologies Private Ltd",
"bank_name": "Axis Bank",
"branch_name": "Velachery-Chennai",
"beneficiary_address": "Mumbai"
}
]
},
"invoice_no": "",
"collector_app_id": "buyer-app-preprod.ondc.org",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"withholding_tax_gst": {
"currency": "INR",
"value": "0"
},
"withholding_tax_tds": {
"currency": "INR",
"value": "0"
},
"deduction_by_collector": {
"currency": "INR",
"value": "0"
},
"payerdetails": {
"payer_name": "testondc Pvt Ltd",
"payer_address": "Mumbai",
"payer_account_no": "509424923",
"payer_bank_code": "HDFC0000000",
"payer_virtual_payment_address": "28cba@abctMh2h"
},
"settlement_reason_code": "02",
"transaction_id": "510bib4om3m",
"settlement_id": "510un2on3",
"settlement_reference_no": "510rqe-5om5-34mio-24ib-35joni",
"recon_status": "03",
"diff_amount": {
"currency": ""
},
"message": {
"name": "",
"code": ""
},
"created_at": "2024-03-15T15:54:25.593Z",
"updated_at": "2024-03-15T15:54:26.375Z"
},
{
"id": "2024-03-15-929610",
"state": "Delivered",
"provider": {
"name": {
"name": "ONDC Rpos7",
"code": "19609-ONDC-1-10211"
},
"address": "Karnataka"
},
"payment": {
"uri": "https://juspay.in/",
"params": {
"transaction_id": "ib610-3o5n-3kj5-35jn-3jn5",
"transaction_status": "PAID",
"amount": "517.7",
"currency": "INR"
},
"type": "ON-ORDER",
"status": "PAID",
"tl_method": "http/get",
"collected_by": "BAP",
"@ondc/org/collected_by_status": "Assert",
"@ondc/org/buyer_app_finder_fee_type": "Percentage",
"@ondc/org/buyer_app_finder_fee_amount": "3",
"@ondc/org/withholding_amount": "0",
"@ondc/org/withholding_amount_status": "Assert",
"@ondc/org/return_window": "P6D",
"@ondc/org/return_window_status": "Assert",
"@ondc/org/settlement_basis": "Collection",
"@ondc/org/settlement_basis_status": "Assert",
"@ondc/org/settlement_window": "P10D",
"@ondc/org/settlement_window_status": "Assert",
"@ondc/org/settlement_details": [
{
"settlement_counterparty": "seller-app",
"settlement_phase": "sale-amount",
"settlement_type": "neft",
"settlement_bank_account_no": "910020019889016",
"settlement_ifsc_code": "UTIB0000234",
"upi_address": "",
"settlement_status": "PAID",
"settlement_reference": "610rqe-5om5-34mio-24ib-35joni",
"settlement_amount": 517.7,
"settlement_timestamp": "2024-03-15T15:54:25.593Z",
"beneficiary_name": "M/s Gofrugal Technologies Private Ltd",
"bank_name": "Axis Bank",
"branch_name": "Velachery-Chennai",
"beneficiary_address": "Mumbai"
}
]
},
"invoice_no": "",
"collector_app_id": "buyer-app-preprod.ondc.org",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"withholding_tax_gst": {
"currency": "INR",
"value": "0"
},
"withholding_tax_tds": {
"currency": "INR",
"value": "0"
},
"deduction_by_collector": {
"currency": "INR",
"value": "0"
},
"payerdetails": {
"payer_name": "testondc Pvt Ltd",
"payer_address": "Mumbai",
"payer_account_no": "509424923",
"payer_bank_code": "HDFC0000000",
"payer_virtual_payment_address": "28cba@abctMh2h"
},
"settlement_reason_code": "01",
"transaction_id": "610bib4om3m",
"settlement_id": "610un2on3",
"settlement_reference_no": "610rqe-5om5-34mio-24ib-35joni",
"recon_status": "01",
"diff_amount": {
"currency": ""
},
"message": {
"name": "",
"code": ""
},
"created_at": "2024-03-15T15:54:25.593Z",
"updated_at": "2024-03-15T15:54:26.375Z"
}
]
}
}
}

Response payload-

{
"context": {
"ttl": "P3D",
"city": "*",
"action": "on_receiver_recon",
"bap_id": "buyer-app-preprod.ondc.org",
"bpp_id": "rsf-mock-service.ondc.org",
"domain": "ONDC:NTS10",
"bap_uri": "https://buyer-app-preprod.ondc.org",
"bpp_uri": "https://rsf-mock-service.ondc.org/",
"country": "IND",
"timestamp": "2024-03-15T06:39:50.085Z",
"message_id": "110c08d5-ca62-4d5c-b404-66b102ada1a5",
"core_version": "1.0.0",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963"
},
"message": {
"orderbook": {
"orders": [
{
"id": "2024-03-15-929210",
"message": {
"code": "",
"name": ""
},
"invoice_no": "2023/XYZ/12346-3",
"settlement_id": "210un2on3",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"collector_app_id": "buyer-app-preprod.ondc.org",
"order_recon_status": "02",
"settlement_reference_no": "210rqe-5om5-34mio-24ib-35joni",
"counterparty_diff_amount": {
"value": "10",
"currency": "INR"
},
"counterparty_recon_status": "03"
},
{
"id": "2024-03-15-929310",
"message": {
"code": "",
"name": ""
},
"invoice_no": "2023/XYZ/12345-21",
"settlement_id": "310un2on3",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"collector_app_id": "buyer-app-preprod.ondc.org",
"order_recon_status": "02",
"settlement_reference_no": "310rqe-5om5-34mio-24ib-35joni",
"counterparty_diff_amount": {
"value": "10",
"currency": "INR"
},
"counterparty_recon_status": "03"
},
{
"id": "2024-03-15-929410",
"message": {
"code": "",
"name": ""
},
"invoice_no": "2023/XYZ/12345-2",
"settlement_id": "410un2on3",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"collector_app_id": "buyer-app-preprod.ondc.org",
"order_recon_status": "02",
"settlement_reference_no": "410rqe-5om5-34mio-24ib-35joni",
"counterparty_diff_amount": {
"value": "10",
"currency": "INR"
},
"counterparty_recon_status": "03"
},
{
"id": "2024-03-15-929510",
"message": {
"code": "",
"name": ""
},
"invoice_no": "2023/XYZ/12346-20",
"settlement_id": "510un2on3",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"collector_app_id": "buyer-app-preprod.ondc.org",
"order_recon_status": "02",
"settlement_reference_no": "510rqe-5om5-34mio-24ib-35joni",
"counterparty_diff_amount": {
"value": "10",
"currency": "INR"
},
"counterparty_recon_status": "03"
},
{
"id": "2024-03-15-929610",
"message": {
"code": "",
"name": ""
},
"invoice_no": "2023/XYZ/12346-20",
"settlement_id": "610un2on3",
"transaction_id": "210aabdb-d0a6-4a3d-99c7-84c5bb4f5963",
"receiver_app_id": "ondc-qa.gofrugalretail.com",
"collector_app_id": "buyer-app-preprod.ondc.org",
"order_recon_status": "02",
"settlement_reference_no": "610rqe-5om5-34mio-24ib-35joni",
"counterparty_diff_amount": {
"value": "10",
"currency": "INR"
},
"counterparty_recon_status": "03"
}
]
}
}
}

mofahsan added a commit that referenced this issue Apr 11, 2024
on-demand -> both on_cancels by rider
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