Business logic of takeout order

now ask a restaurant to write a WeChat Mini Programs who supports takeout and Dada for three-party express delivery.
1. When the user pays the order, should the Dada "New order" interface be called to inform the courier to pick up? Or in the background, let merchants call Dada"s "New order" interface by clicking "pickup"?
2. If the user invokes the "New order" interface immediately after payment is confirmed, will there be a voice prompt on the merchant"s side (Meituan"s voice prompt for placing an order is often heard in small restaurants)

the newcomer is really not clear about the business logic of this kind of order. I would like to give you a detailed explanation. Thank you very much.

Php
Mar.15,2021

depends on business requirements:
if merchants have their own delivery staff, they do not want each order to be delivered by a third party or when they want to pick it up. It needs to be confirmed by the merchant.
the only difference is when to call the interface of a third-party courier.


use (chao) to check several faucets under (xi). After payment, the merchant needs to confirm (take the order) before notifying the express delivery. If the merchant still fails to receive the order after x minutes, the refund will be made automatically.

Menu