> 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-native-payments.md).

# WA Purchase Flow Native Payments

**Node Name:**\
WA Purchase Flow: Native Payments

***

**What it does:**\
Creates a WhatsApp-based purchase flow using native payment links, allowing users to complete payments directly within the chat. It generates a payment link (UPI or other supported modes) and applies configurations like discounts, shipping, and expiry.

***

**When to Use:**

* When you want users to complete purchases directly on WhatsApp<br>
* For quick checkout experiences without redirecting to a website<br>
* When offering UPI-based payments or Razorpay-supported payment links<br>
* In conversational commerce flows (e.g., after product selection)<br>

***

**UI Inputs:**

* **Variants**
  * Type: List (text array)<br>
  * Required: Yes<br>
  * Description: Product variant IDs for which the purchase flow is created<br>
  * Special Behavior: Accepts multiple entries<br>
* **Is UPI Link**
  * Type: Boolean (radio)<br>
  * Required: Yes<br>
  * Description: Determines if the generated payment link is UPI-based<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: Yes<br>
  * Description: Number of days after which the payment link expires<br>
  * Special Behavior: Minimum value is 1 (default is 5)<br>
* **Expiry Message**
  * Type: Text<br>
  * Required: No<br>
  * Description: Message shown if the payment link expires<br>
* **Discount Percent**
  * Type: Number<br>
  * Required: No<br>
  * Description: Discount applied to the order (in %)<br>
* **Flat Shipping Amount**
  * Type: Number<br>
  * Required: No<br>
  * Description: Fixed shipping charge added to the order<br>
* **Shipping Rate Handles**
  * Type: List (text array)<br>
  * Required: No<br>
  * Description: Specific shipping methods to be applied<br>
* **Event Variant ID List Field**
  * Type: Text<br>
  * Required: Yes<br>
  * Description: Field name from which variant IDs are picked dynamically in the flow<br>
  * Special Behavior: Defaults to a predefined variable but can be customized<br>

***

**Outputs:**

* **successful**
  * Type: Boolean<br>
  * Meaning:
    * true → Payment flow created successfully<br>
    * false → Failed to create payment flow<br>
* **\_wapflw**
  * Type: Object<br>
  * Meaning: Contains details of the generated WhatsApp purchase/payment flow (used internally in subsequent steps if needed)<br>

***

**Requirements:**

* **Supported Events:** All events<br>
* **Required Integrations:**
  * Shopify<br>
  * Razorpay<br>

***

**Notes:**

* This node enables end-to-end checkout inside WhatsApp using Razorpay payment links<br>
* Ensure product variants and pricing are correctly configured in Shopify<br>
* Works best when used after product selection or cart-building steps<br>
* Expiry settings are important to avoid stale payment links in conversations
