Payment failed email template
A declined charge, with the retry date and the consequence.
- Subject
- We could not charge your card for {{productName}}
- Line beside the subject
- We could not charge your card for {{productName}}
- Kind
- Orders and billing
- Looks
- Minimal, Modern, Bold, Classic, Dark, Soft
Use this template.
One call makes a template of your own from it, in the look you pick. Every block can be changed afterwards, in the editor or through the API.
import { OpenSend } from '@open-send/opensend' const opensend = new OpenSend() const template = await opensend.templates.create({ name: "Payment failed", starter: "payment-failed", style: "minimal",})Its variables.
A variable stands in the message as its name in double braces, and is filled when you send.
- Variable
- {{productName}}
- What it holds
- Product name
- Takes
- text
- Default
- None
- Variable
- {{amount}}
- What it holds
- Amount
- Takes
- text
- Default
- None
- Variable
- {{cardLast4}}
- What it holds
- Card last 4
- Takes
- text
- Default
- ••••
- Variable
- {{retryDate}}
- What it holds
- Retry date
- Takes
- text
- Default
- None
- Variable
- {{consequence}}
- What it holds
- What happens if it fails again
- Takes
- text
- Default
- If it fails again your plan pauses, and nothing is deleted.
- Variable
- {{actionUrl}}
- What it holds
- Update payment link
- Takes
- url
- Default
- None
- Variable
- {{footerNote}}
- What it holds
- Footer note
- Takes
- text
- Default
- You are receiving this because you have an active subscription.
Built from blocks.
Every block of this email is a React Email component, so what is sent is markup that mail apps accept.
- Button
- Column
- Container
- Heading
- Row
- Text
The words.
The plain text version, which goes out beside the HTML for mail apps that show none.
Your payment did not go through
We tried to charge {{amount}} for {{productName}} and the card ending •••• was declined. This is usually an expired card or a bank blocking an unfamiliar charge rather than anything to do with your account.
We will try again on {{retryDate}}. If it fails again your plan pauses, and nothing is deleted.
Update payment method {{actionUrl}}
You are receiving this because you have an active subscription.More orders and billing templates.
- Order shipped
A shipping notification with the order number, carrier and estimated delivery in a bordered details table, plus a tracking button.
Orders and billing - Receipt
A payment receipt with the amount charged, the line details, and a link to the full invoice.
Orders and billing - Order receipt
An order confirmation with up to three line items and a total.
Orders and billing
Built with React Email.
The blocks of every template are React Email components. Send components of your own, or change these.
Send your first email in a few minutes.
Create a key and send, or clone the repository and run it yourself.