Payment expired email template

This template is sent after a customer placed an order and the payment confirmation has expired.

This will only occur when the order is placed through an asynchronous payment method (e.g., Paypal Express Checkout).

The template receives:

Variable Type Notes
context string Email, Pdf or Html.
settings object Store settings — see Settings.
order Order The order whose payment confirmation expired.

What you can access

Path Type
order Order
order.items[] Item
order.billingAddress Address
order.shippingAddress Address
order.summary Summary
order.summary.taxes[] Tax
order.taxes[] Tax
order.discounts[] Discount
order.customFields[] CustomField
order.refunds[] Refund

Minimal example

{
  "context": "Email",
  "settings": { "businessAddress": { "company": "snipcart.com" } },
  "order": {
    "invoiceNumber": "SNIP-1001",
    "email": "john.doe@example.com",
    "billingAddress": { "fullName": "John Doe" },
    "items": [{ "name": "Geek T-Shirt", "quantity": 2, "totalPrice": 100 }],
    "summary": { "total": 100 }
  }
}

Was this article helpful?