ONDC-Official / developer-docs

Developer documentation
38 stars 47 forks source link

call back url is appended to subscriber id? #4

Open mahoriR opened 2 years ago

mahoriR commented 2 years ago

The postman has callback_urls depicted as following - "callback_url": "/test",

Does this mean callback URLs will be subsciber_id/callback_url?

This will create trouble for TSPs as they will need same callback URLs for multiple subscribers,. @BLR-0118

ONDC-Tech commented 2 years ago

callback url will be subscriber_id + subscriber_url + callback_url. We wanted to link the callback_url with the domain. How do you propose we do it?

ONDC-Tech commented 2 years ago

@mahoriR

mahoriR commented 2 years ago

I'm not sure why this url be coupled with subsciber_id at all.

Can you please specify - How's this callback_url intended to be used?

BLR-0118 commented 1 year ago

callback_url is only for on_subscribe (for verifying keys using a challenge statement). A TSP will assign an unique subscriber_id to each participant, so you can use the same callback_url with different subscriber_id. Won't this work?

BLR-0118 commented 1 year ago

@mahoriR

Agam1997 commented 1 year ago

@BLR-0118

According to the payload for /subscribe for ops no 1 The payload has a subscriber_url under the network_participant block and a callback_url under the context block.

Swagger hub

According to the subscription docs the ONDC will check https:///ondc-site-verification.html for the html file, now will this be https:///callback_url/ondc-site-verification.html or https:///subsciber_url/ondc-site-verification.html?

For a TSP onboarding, multiple sellers say brand1, brand2, brand3, does each brand must have a separate record on the registry with unique subscriber ids? If so, how can the on_search be implemented to handle all the requests from a single domain?

Let's say the subscriber id for brand1 is "brand1.ondcstore.com" similarly for brand2 "brand2.ondcstore.com" and the TSP implements a "/api/v1/", what would be the BPP_URI on the context object while sending the on_search? Does the TSP send separate on_search requests for each subscribed entity? or it can send a single request with the TSP's subscribed id "TSP.ondcstore.com".

Kindly guide or link documentation. Please let me know if further clarification is needed on my questions.

Thank you!

DivyakantSwarnkar01 commented 2 months ago

Can You Please Tell me What is the URL for Changing that mistaken details submitted on staging subscription registry ?

send me answer to ==> myekkhoj@gmail.com or +917408765402