---
title: Cash on Delivery to Prepaid Conversion
slug: cash-on-delivery-to-prepaid-conversion
docTags: 
createdAt: 2024-06-12T07:01:16.182Z
---

These messages encourage customers who choose Cash on Delivery (COD) to switch to a prepaid payment method. This helps reduce risks like cancellations and uncollected orders and streamlines the payment process.

**How the COD to Prepaid Feature Works:**

- **COD Confirmation Message**: Users receive a COD confirmation message with their order details when they place an order with cash-on-delivery as their payment method. This message prompts them to **‘Confirm’** or ‘**Cancel’** their order.
- **COD to Prepaid**: After confirming their COD order, users are sent a message to prepay for their purchase. An additional benefit in the form of a discount is offered to incentivise prepayment.
- **Payment Process**: If the user chooses to prepay, they can proceed by clicking on the '**Pay Now**' option. They will be provided with a payment link, which is sent to the user for secure online payment.
- **Prepaid Confirmation**: Following successful payment, users receive a prepaid confirmation message, confirming the completion of their prepaid order.

# <font color="#ae1536">**Availability**</font> 

It will be available for users having Shopify/Woocommerce integrated into their Engati portal.

# <font color="#ae1536">**How To Enable COD to Prepaid**</font>

- Go to the **Quick Navigator tab** on the left menu ->**&#x20;Basic Setup** -> **Enable Automated Messages**. 
- Under **COD to Prepaid Conversion,&#x20;**&#x63;lick on the ‘Enable’ button. If already enabled, it will show the ‘Edit Settings’ button where you can configure the notification settings.

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/8lCr49PxE8wPi4B8OPmk1_image5.png)

**You can also enable this feature by following these steps:&#xA0;**

- Go to the ‘**Store’&#x20;**&#x74;ab on the left menu ->**&#x20;‘Feature Configurator**’
- Enable the **COD to Prepaid Notifications&#x20;**&#x74;oggle.
- If the feature is already enabled, select **‘Edit Settings’** to modify the notification settings as needed.

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/y_78QrjO5Zt4jzru3QGpw_image4.png)

# <font color="#ae1536">**COD to Prepaid Notification Settings**</font>

- Here you can configure the following - 
  - **Change the template message** for **Order Confirmation (COD)**, **Convert COD to Prepaid** and **Prepaid Order Confirmation&#x20;**&#x6D;essages. 
  - **Add the discount code&#x20;**&#x74;o auto-apply upon checkout.&#x20;

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/MNhG5s2DwrKhDc_KWVN6Z_image2.jpg)

# <font color="#ae1536">**How To Add A Discount Code For COD to Prepaid Conversion Messages?**</font>

- **Checkbox to enable auto-apply discount code**: A discount code field will be made available if selected. 
- **Add Discount Code**: The discount code added in this field will be auto-applied when you checkout from the “**Convert COD to Prepaid**” message.

# <font color="#ae1536">**COD/Prepaid Message Templates**</font>

- **Order Confirmation (COD) Message:&#x20;**&#x54;his message is sent to a customer after they place an order using Cash on Delivery (COD) as their payment method. The message includes all the order details and prompts users to either **‘Confirm’** or ‘**Cancel’** their order.

**Path**: WA Notification COD To Prepaid Order Update

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/VuUsBT-th4b6FvRDE-S7J_image6.png)

- **Convert COD to Prepaid Message:&#x20;**&#x54;his message is sent to customers who have selected COD as their payment option. After confirming their COD order, this message encourages them to switch their payment method to a prepaid option and provides them with a discount and payment link to pay online.

**Path**: WA Notification COD To Prepaid Conversion

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/hSlKjNhtzRL8NKk8IMp0s_image1.png)

- **Prepaid Order Confirmation Message:&#x20;**&#x53;imilar to the COD order confirmation, this message confirms the order placed using a prepaid payment method.

**Path**: WA Notification COD To Prepaid Conversion

![](https://api.archbee.com/api/optimize/FEqjvWZnyymr_PEhXLLlG/LWXhQUp2uaC-iToypOAwA_image3.png)

**How To Change The Template Message For COD to Prepaid Notifications?**

- **“View Template”**: These buttons will redirect you to their respective paths in the path builder.
- Click on the **Template Message node** which has the default message. 
- If the template message *is already created* and approved by Meta then you can simply select the template you wish to add. If the template message *is not created* then you create a new template and add. [Click here to learn how to create a new message template](https://help.engati.ai/template-message).
- If any *variables are present* in the template message then add the relevant attribute or a fixed value in the field. *Please note* -  Attributes should be added in curly brackets. 
- If *Media is present* (Image/Video/Document) in the template then add the media link in the image field. 
- Save the node.
- **List of Attributes** for some of the details are as follows:
  - **Customer Name** -> *\{\{shopifyWebhook.customer\_name}}*
  - **Order Number&#x20;**-> \{\{shopifyWebhook.order\_number}}
  - **COD to Prepaid Conversion discount code** - *\{\{bot.codToPrepaidCode}}*
  - **Order Details Link&#x20;**- \{\{shopifyWebhook.shortened\_status\_url\_alias}}
  - **Order Status Link -&#x20;**\{\{shopifyWebhook.order\_status\_url}}
  - **Shopify Order Tracking URL** - \{\{shopifyWebhook.tracking\_number}}

