> Send order confirmations, invoices and shipping updates for Indian e-commerce, with data stored in India and plans in rupees. Good practice and how to send them with Vaartix.

Source: https://vaartix.com/use-cases/order-confirmations

Use cases: [OTP emails](https://vaartix.com/use-cases/otp-emails) · [Password reset](https://vaartix.com/use-cases/password-reset) · [Order confirmations](https://vaartix.com/use-cases/order-confirmations)

# Order confirmations and receipts

Transactional email with Vaartix

An order confirmation reassures a customer that their payment went through, and it's the email they search for when something goes wrong. Vaartix sends it once, quickly, and tells you if it didn't arrive.

## Why it matters

-   Customers who don't get a confirmation worry about the payment, and contact support or order again.
-   Confirmations, invoices and shipping updates are records your customers keep: they must be accurate and arrive once.
-   They often carry personal data (names, addresses, phone numbers), which is better kept in India under the DPDP Act.

## Good practice

-   Send it as soon as the payment is confirmed, with the order number in the subject.
-   Include what was bought, the amount with GST, the delivery address and how to get help.
-   Use the order ID in an [idempotency key](https://vaartix.com/docs/sending/idempotency/), so retries and repeated payment webhooks never send it twice.
-   Attach the invoice PDF, or link to it in their account. Attachments can total up to 30 MB.
-   Send shipping and delivery updates as separate transactional emails; keep offers and newsletters out of them.
-   Use [scheduling](https://vaartix.com/docs/sending/scheduling/) for follow-ups such as "How was your order?", and cancel them if the order is returned.

## Send it with Vaartix

```
await vaartix.emails.send(
  {
    from: 'Acme Store <orders@acme.in>',
    to: order.customerEmail,
    subject: `Order #${order.number} confirmed`,
    html: renderOrderEmail(order),
    attachments: [{ filename: `invoice-${order.number}.pdf`, content: invoicePdfBase64 }],
    tags: [{ name: 'type', value: 'order-confirmation' }],
  },
  { idempotencyKey: `order-${order.id}-confirmation` },
);
```

On WooCommerce or another platform that sends through SMTP? Use the [SMTP relay](https://vaartix.com/docs/sending/smtp/). Sending from Laravel or Django? See the [Laravel](https://vaartix.com/docs/guides/laravel/) and [Django](https://vaartix.com/docs/guides/django/) guides.

**Vaartix is in private beta, and invite-only.** Every feature is free during the beta. Tell us what you send and we'll invite you as places open up.

[Request early access](https://vaartix.com/#early-access)
