Confirmation page (Pro)
Creating a Custom Confirmation Page with Receipt Information After Checkout
Last updated
[cf7pa-receipt]{description}
{amount}
{currency}
{format_date}
{format_time}
{amount_currency}
{customer.email}
{customer.name}
{customer.phone}}
{customer.address.country}
{customer.address.state}
{customer.address.city}
{customer.address.line1}
{customer.address.line2}
{customer.address.postal_code}
{billing_detail.email}
{billing_detail.name}
{billing_detail.phone}
{billing_detail.address.country}
{billing_detail.address.state}
{billing_detail.address.city}
{billing_detail.address.line1}
{billing_detail.address.line2}
{billing_detail.address.postal_code}
{payment_method}
{payment_method.card.brand}
{payment_method.card.last4}
{receipt.url}<style>
.cf7pa-confirmation {
max-width: 800px;
}
.cf7pa-confirmation__thank-you {
font-size: 18px;
margin-bottom: 30px;
}
.cf7pa-confirmation__section {
background-color: #f6f9fc;
border-radius: 10px;
padding: 10px;
margin-bottom: 30px;
}
.payment-detail {
display: flex;
}
.payment-detail>div {
margin-right: 2em;
text-transform: uppercase;
font-size: .715em;
line-height: 1;
border-right: 1px dashed #d3ced2;
padding-right: 2em;
margin-left: 0;
padding-left: 0;
list-style-type: none;
}
.payment-detail>div:last-of-type {
border: none;
}
.payment-detail>div strong {
display: block;
font-size: 1.4em;
text-transform: none;
line-height: 1.5;
}
</style>
<section class="cf7pa-confirmation">
<h4 class="cf7pa-confirmation__thank-you">Thank you. Your payment has been received.</h4>
<h4>Summary</h4>
{description}
<h4>Payment details</h4>
<div class="cf7pa-confirmation__section payment-detail">
<div>DATE: <strong>{format_time}</strong></div>
<div>EMAIL: <strong>{customer.email}</strong></div>
<div>TOTAL: <strong>{amount_currency}</strong></div>
<div>PAYMENT METHOD:
<strong>
{payment_method.card.brand} - {payment_method.card.last4}
</strong>
</div>
</div>
<h4>Billing details</h4>
<div class="cf7pa-confirmation__section">
<div>{billing_detail.name}</div>
<div>
{billing_detail.address.line1} <br/>
{billing_detail.address.line2} <br/>
{billing_detail.address.city}, {billing_detail.address.state} {billing_detail.address.postal_code} <br/>
{billing_detail.address.country}
</div>
<div>{billing_detail.email}</div>
<div>{billing_detail.phone}</div>
</div>
<p></p>
<p><span>You can download the </span><a href="{receipt.url}" target="_self"><span>receipt</span></a> here.</p>
</section>