ONDC-Official / ONDC-FIS-Specifications

2 stars 15 forks source link

MF - Cart functionality #400

Open char-star opened 1 day ago

char-star commented 1 day ago

For supporting cart functionality:

Multiple items

One customer, one agent, fulfillments are independent

Lumpsum + Lumpsum

SIP + SIP

Lumpsum + SIP

Redemption + Redemption

Lumpsum + Redemption

ShubhangaAcharya commented 6 hours ago

Things to consider

char-star commented 5 hours ago

Things to consider

* If multiple fresh purchases across different AMCs are being attempted, should seller app communicate multiple AOFs? If yes, how?

If the investor is KYC compliant and folios have to be created in two AMCs - seller app can send one folio opening form which will capture all the details needed and internally open folios in two AMCs. I don't think there is a need to send multiple folio opening forms. In case, there is a variation on data fields that need to be captured (future) for each AMC, a superset of that can be sent in the folio opening form.

* Currently, if a purchase order is attempted but no folio number is provided, seller app shares the list of folio numbers to select from. At present (Folio number,Email,Mobile, Holding Pattern, Primary Investor name ) are shared. In case of multiple purchases, if folio number is not shared, should we share folio number list across AMCs. If yes, we have to include AMC code also so that BuyerApps can figure out what folios belong to what AMCs and allow selection of folios accordingly.

Currently folio numbers are shared as part of the fulfillment object which is tied to a particular item. So amc code is not needed explicitly, it can be derived from the item (that is scheme)

char-star commented 5 hours ago
  1. As per the current order states, order will move to COMPLETED state when the fulfillment becomes successful. In case of cart, if one item fulfillment is successful and the other is pending or failed - then the order remains in ACCEPTED state. Is it a good idea to introduce a PARTIALLY_COMPLETED state to be explicit.

  2. Current cancel api supports cancelling of an order. In case of SIP cart (two schemes, two fulfillments), if the user wants to cancel only one SIP, cancel api can't support it as it doesn't have cancel on fulfillment. Should we move the cancellation to update call to have granularity or not support SIP cart and let the buyer app place multiple orders?