> For the complete documentation index, see [llms.txt](https://limechatai.gitbook.io/limechat-product-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://limechatai.gitbook.io/limechat-product-guide/whatsapp-marketing/flows/action-nodes/wa-purchase-flow-place-order.md).

# WA Purchase Flow Place Order

**Node Name:**\
WA Purchase Flow: Place Order

***

**What it does:**\
Creates a purchase/payment flow on WhatsApp and generates a payment link (UPI or native payment) for the user to complete the order. It also tracks the payment status and returns order details.

***

**When to Use:**

* When you want users to complete a purchase directly within a WhatsApp conversation<br>
* In checkout flows after product selection<br>
* For prepaid order conversion (e.g., COD → prepaid)<br>
* When sending payment links (UPI or native WhatsApp payments)<br>

***

**UI Inputs:**

* **Variants**
  * Type: Text input (list)<br>
  * Required: Yes<br>
  * Description: Product variant IDs for which the order/payment link is being generated<br>
  * Special Behavior: Can accept multiple variants<br>
* **Is UPI Link**
  * Type: Boolean (True/False toggle)<br>
  * Required: Yes<br>
  * Description: Determines whether the generated payment link is a UPI link<br>
  * Special Behavior:
    * True → Generates UPI payment link<br>
    * False → Uses native WhatsApp payment flow<br>
* **Message Body**
  * Type: Text<br>
  * Required: Yes<br>
  * Description: Message sent to the user along with the payment link<br>
* **Expiry in Days**
  * Type: Number<br>
  * Required: No (default present)<br>
  * Description: Number of days before the payment link expires<br>
* **Expiry Message**
  * Type: Text<br>
  * Required: No<br>
  * Description: Message shown/sent if the payment link expires<br>
* **Discount Percent**
  * Type: Number<br>
  * Required: No<br>
  * Description: Discount applied to the order in percentage<br>
* **Flat Shipping Amount**
  * Type: Number<br>
  * Required: No<br>
  * Description: Fixed shipping charge applied to the order<br>
* **Shipping Rate Handles**
  * Type: Text (list)<br>
  * Required: No<br>
  * Description: Specific shipping methods/rates to apply<br>
* **Event Variant ID List Field**
  * Type: Text<br>
  * Required: Yes (pre-filled)<br>
  * Description: Field name from event data containing variant IDs<br>

***

**Outputs:**

* **successful**
  * Type: Boolean<br>
  * Meaning:
    * true → Payment link/order created successfully<br>
    * false → Failed to create<br>
* **order\_name**
  * Type: Text<br>
  * Meaning: Identifier/name of the created order<br>
* **order\_status\_url**
  * Type: Text<br>
  * Meaning: URL where the user can check order/payment status<br>

***

**Requirements:**

* **Supported Events:**
  * whatsapp\_payment\_status<br>
* **Required Integrations:**
  * Shopify (implicit, since order/payment link is tied to store checkout)<br>

***

**Notes:**

* This node is a core step in WhatsApp checkout flows<br>
* Works closely with payment status tracking via events<br>
* Can support both UPI-based and native WhatsApp payments<br>
* Output URL can be reused in later steps for status tracking or user updates<br>
* Discount and shipping inputs allow light checkout customization without external logic
