first commit
This commit is contained in:
4
templates/purchase-refund/metadata.json
Normal file
4
templates/purchase-refund/metadata.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"subject": "Receipt for your Apple Store purchase - $1,299.00",
|
||||
"sender_name": "Apple"
|
||||
}
|
||||
241
templates/purchase-refund/template.html
Normal file
241
templates/purchase-refund/template.html
Normal file
@@ -0,0 +1,241 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #1d1d1f;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
background-color: #f5f5f7;
|
||||
}
|
||||
.container {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.header {
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
border-bottom: 1px solid #d2d2d7;
|
||||
}
|
||||
.apple-logo {
|
||||
font-size: 40px;
|
||||
color: #1d1d1f;
|
||||
}
|
||||
.content {
|
||||
padding: 30px;
|
||||
}
|
||||
.receipt-title {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.order-info {
|
||||
text-align: center;
|
||||
color: #86868b;
|
||||
font-size: 14px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.product-card {
|
||||
display: flex;
|
||||
border: 1px solid #d2d2d7;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
align-items: center;
|
||||
}
|
||||
.product-image {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
border-radius: 12px;
|
||||
margin-right: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.product-details h3 {
|
||||
margin: 0 0 5px 0;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.product-details .specs {
|
||||
color: #86868b;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
.product-details .price {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.billing-info {
|
||||
background-color: #f5f5f7;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
margin: 25px 0;
|
||||
}
|
||||
.billing-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 8px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
.billing-row.total {
|
||||
border-top: 1px solid #d2d2d7;
|
||||
margin-top: 10px;
|
||||
padding-top: 15px;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.alert-box {
|
||||
background-color: #fff2f2;
|
||||
border: 1px solid #ff3b30;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
margin: 25px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.alert-box h3 {
|
||||
color: #ff3b30;
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 17px;
|
||||
}
|
||||
.alert-box p {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
color: #1d1d1f;
|
||||
}
|
||||
.button-container {
|
||||
text-align: center;
|
||||
margin: 30px 0;
|
||||
}
|
||||
.button {
|
||||
display: inline-block;
|
||||
background-color: #0071e3;
|
||||
color: white !important;
|
||||
padding: 12px 30px;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.button.cancel {
|
||||
background-color: #ff3b30;
|
||||
}
|
||||
.help-text {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #86868b;
|
||||
margin: 20px 0;
|
||||
}
|
||||
.help-text a {
|
||||
color: #0071e3;
|
||||
text-decoration: none;
|
||||
}
|
||||
.footer {
|
||||
background-color: #f5f5f7;
|
||||
padding: 25px 30px;
|
||||
font-size: 12px;
|
||||
color: #86868b;
|
||||
text-align: center;
|
||||
}
|
||||
.footer a {
|
||||
color: #0071e3;
|
||||
text-decoration: none;
|
||||
}
|
||||
.footer-links {
|
||||
margin: 15px 0;
|
||||
}
|
||||
.footer-links a {
|
||||
margin: 0 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="apple-logo"></div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="receipt-title">Your receipt from Apple</div>
|
||||
<div class="order-info">
|
||||
Order #W847293651<br>
|
||||
{{ date }}
|
||||
</div>
|
||||
|
||||
<div class="product-card">
|
||||
<div class="product-image">iPhone</div>
|
||||
<div class="product-details">
|
||||
<h3>iPhone 15 Pro Max</h3>
|
||||
<p class="specs">256GB - Natural Titanium<br>AppleCare+ included</p>
|
||||
<p class="price">$1,299.00</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="billing-info">
|
||||
<div class="billing-row">
|
||||
<span>Subtotal</span>
|
||||
<span>$1,199.00</span>
|
||||
</div>
|
||||
<div class="billing-row">
|
||||
<span>AppleCare+</span>
|
||||
<span>$99.00</span>
|
||||
</div>
|
||||
<div class="billing-row">
|
||||
<span>Tax</span>
|
||||
<span>$0.00</span>
|
||||
</div>
|
||||
<div class="billing-row total">
|
||||
<span>Total</span>
|
||||
<span>$1,299.00</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="billing-info">
|
||||
<div class="billing-row">
|
||||
<span>Billed to</span>
|
||||
<span>Visa •••• 8429</span>
|
||||
</div>
|
||||
<div class="billing-row">
|
||||
<span>Shipping to</span>
|
||||
<span>{{ recipient_name }}<br>{{ recipient_email }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="alert-box">
|
||||
<h3>Didn't make this purchase?</h3>
|
||||
<p>If you did not authorize this transaction, click below immediately to cancel and request a refund.</p>
|
||||
</div>
|
||||
|
||||
<div class="button-container">
|
||||
<a href="https://rewirespace.com/apple-refund?email={{ recipient_email }}" class="button cancel">Cancel Order & Get Refund</a>
|
||||
</div>
|
||||
|
||||
<div class="help-text">
|
||||
<p>If you made this purchase, no action is needed.</p>
|
||||
<p>Need help? <a href="#">Contact Apple Support</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p><a href="#">Apple ID Summary</a> • <a href="#">Terms of Sale</a> • <a href="#">Privacy Policy</a></p>
|
||||
<p style="margin-top: 15px;">
|
||||
Apple Inc., One Apple Park Way, Cupertino, CA 95014, United States<br>
|
||||
All Rights Reserved. <a href="#">Copyright © 2024 Apple Inc.</a>
|
||||
</p>
|
||||
<p style="margin-top: 15px;">
|
||||
Get help with subscriptions and purchases. <a href="#">Visit Apple Support.</a>
|
||||
</p>
|
||||
<p style="margin-top: 10px; font-size: 11px;">
|
||||
Ref: {{ recipient_email | replace("@", "-") | replace(".", "-") }}-W847293651
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
42
templates/purchase-refund/template.txt
Normal file
42
templates/purchase-refund/template.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
Apple
|
||||
|
||||
Your receipt from Apple
|
||||
=======================
|
||||
|
||||
Order #W847293651
|
||||
{{ date }}
|
||||
|
||||
ITEM:
|
||||
iPhone 15 Pro Max
|
||||
256GB - Natural Titanium
|
||||
AppleCare+ included
|
||||
$1,299.00
|
||||
|
||||
BILLING SUMMARY:
|
||||
----------------
|
||||
Subtotal: $1,199.00
|
||||
AppleCare+: $99.00
|
||||
Tax: $0.00
|
||||
----------------
|
||||
TOTAL: $1,299.00
|
||||
|
||||
Billed to: Visa •••• 8429
|
||||
Shipping to: {{ recipient_name }} ({{ recipient_email }})
|
||||
|
||||
-------------------------------------------
|
||||
DIDN'T MAKE THIS PURCHASE?
|
||||
|
||||
If you did not authorize this transaction, click the link below immediately to cancel and request a refund:
|
||||
|
||||
https://rewirespace.com/apple-refund?email={{ recipient_email }}
|
||||
|
||||
-------------------------------------------
|
||||
|
||||
If you made this purchase, no action is needed.
|
||||
|
||||
Need help? Contact Apple Support
|
||||
|
||||
---
|
||||
Apple Inc.
|
||||
One Apple Park Way, Cupertino, CA 95014, United States
|
||||
Copyright © 2024 Apple Inc. All Rights Reserved.
|
||||
Reference in New Issue
Block a user