Alitrip provides a real-time car reservation order synchronization scheme: during a user’s ordering process, the Alitrip transaction system duly triggers to invoke interfaces related to transaction reservation provided by an external merchant so as to synchronize Alitrip platform orders to the merchant system in real time, and also provides a series of callback interfaces related to transaction orders to promote order procedures. The transaction order direct-connection matchmaking scheme is illustrated as the following flow diagram. The dashed line box in the diagram refers to an optional procedure:
When a new order is created and paid on the Alitrip system, the Alitrip system will actively invoke the ordering (reservation) interface provided by an external merchant to create a corresponding order on the merchant system. In the case that an order is successfully submitted, depending on whether the merchant ordering (reservation) interface directly returns a merchant system order number, the Alitrip platform will make the following processing:
In the case that an order is successfully created, the car reservation service provider needs to confirm whether to accept the order. The Alitrip platform provides a callback interface (taobao.alitrip.car.order.accept) for confirming whether to accept an order; the service provider informs the Alitrip platform whether to accept the order via the interface.
In the case that the merchant confirms to accept an order, the car reservation service provider needs to feed back information on a driver who accepts the order. The Alitrip platform provides a driver response callback interface (taobao.alitrip.car.order.confirm); the service provider informs the Alitrip platform of information on a driver who accepts an order via the interface.
In the case that a driver has completed car reservation service for a customer, the car reservation provider needs to feed back car reservation completion information. The Alitrip platform provides a driver service completion callback interface (taobao.alitrip.car.order.complete); the service provider informs, via the interface, the Alitrip platform that the order is completed and money should be paid to a service provider account.
If a buyer initiates refund of a paid order on the Alitrip platform, the Alitrip platform will actively invoke the order cancellation interface provided by an external merchant to initiate an order cancellation procedure on the merchant system.