Loading…

Enable cash on delivery

By default, "apifm" settles according to the normal shopping process. The user places an order, completes the payment, and the seller delivers the goods; But in some cases, there are specific business needs that require cash on delivery. That is, after the user completes the order, the goods can be shipped to the user without paying any fees, and the user pays for the goods after receiving the goods and confirming that they are correct. In just 2 simple steps, you can realize the "cash on delivery" function: Configure system parameters: ["System Parameter Settings"](https://www.yuque.com/apifm/doc/kcncad) **Parameter type:** Switch parameter **Parameter name: **pay_on_delivery_open_status Create an order interface ["api interface document"](#) and pass the value 1 to the following parameters: > payOnDelivery > Of course, you can also allow users to choose whether to pay immediately or pay on delivery in the front-end interface (webpage, applet, android, ios). Through the user's choice, you can then flexibly assign a value to the **payOnDelivery** parameter when creating an order.