Repository navigation
Open-source local debugger for ONDC transactions; looking for a preprod registry test #96
bitanb1999
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I've built ondc-debugger (https://github.com/bitanb1999/ondc-debugger), an MIT-licensed local proxy for debugging ONDC integrations. It records traffic between BAPs, BPPs and the gateway, pairs each request with its on_ callbacks by message_id, and flags:
Signing follows developer-docs/registry/signing-verification.md, and the tests reproduce its worked example byte for byte.
One gap I can't close myself: key lookup uses /v2.0/lookup (signed request; records matched on ukId, reading signing_public_key, as biap-client-node-js does), but I've only tested it against a mock registry because I'm not a registered participant.
Could someone with preprod credentials run this and share the output (with keys redacted if you prefer)?
It runs locally; the private key is only used to sign that one lookup (debugger/registry.py).
Corrections on anything I've got wrong about the lookup API are very welcome.
Thanks!
All reactions