Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions automatic-off-session-payment/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"BookingAutoDeclinedRequest.BookingCta": "Book something else instead",
"BookingAutoDeclinedRequest.Subject": "Your booking request expired",
"BookingAutoDeclinedRequest.Title": "Your booking request expired",
"OffSessionBookingAccepted.BookingBreakdown": "Your card will be charged {amount,number,::.00} {currency} on {date,date,::YYYYMMMd}. Here's the booking breakdown.",
"OffSessionBookingDeclinedRequest.Content": "Unfortunately {providerDisplayName} decided to decline your booking request for {listingTitle} from {dateStart,date,::hmmaYYYYMMMd} to {dateEnd,date,::hmmaYYYYMMMd}. You have not been billed.",
"OffSessionBookingManualPaymentWanted.ButtonCta": "Visit payment page",
"OffSessionBookingManualPaymentWanted.Content": "You recently booked {listingTitle} from {providerDisplayName}. To complete your payment, we need you to take action.",
"OffSessionBookingManualPaymentWanted.Subject": "Confirm your payment for {listingTitle}",
"OffSessionBookingManualPaymentWanted.Title": "Please confirm your payment for {listingTitle}"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{transaction.provider.display-name}} accepted your booking request!
{{set-translations (asset "content/email-texts.json")}}{{t "BookingAcceptedRequest.Subject" "Your booking request was accepted" }}
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">

{{set-translations (asset "content/email-texts.json")}}
{{set-locale (asset "general/localization.json" "locale" "en_US")}}
{{set-timezone transaction.listing.availability-plan.timezone}}
<head>
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
</head>
{{~#*inline "format-date"~}}
{{#with transaction.listing.availability-plan}}
{{date date format="h:mm a" tz=timezone}} on
{{date date format="MMM d, YYYY" tz=timezone}}
{{/with}}
{{~/inline~}}
{{#with transaction}}
<table
style="background-color:#FFF;margin:0 auto;padding:24px 12px 0;font-family:-apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif"
Expand All @@ -22,43 +18,29 @@
style="max-width:600px;margin:0 auto">
<tr style="width:100%">
<td>
<h1 style="color:#484848;font-size:26px;line-height:1.3;font-weight:700">Your booking request has expired.
<h1 style="color:#484848;font-size:26px;line-height:1.3;font-weight:700">{{t "BookingAutoDeclinedRequest.Title" "Your booking request expired" }}
</h1>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848">Unfortunately
{{ provider.display-name }} didn't respond to your booking request for
{{ listing.title }} from
{{> format-date date=booking.start}} to
{{> format-date date=booking.end}} on time, so the request has expired. You have not been billed.</p>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848">{{t "BookingAutoDeclinedRequest.Content" "{providerDisplayName} didn't respond to your booking request for {listingTitle} from {dateStart,date,::hmmaYYYYMMMd} to {dateEnd,date,::hmmaYYYYMMMd} on time, so your request expired. Your card has not been charged." dateStart=booking.start dateEnd=booking.end listingTitle=listing.title providerDisplayName=provider.display-name}}</p>
<table style="padding:16px 0 0" align="center" border="0" cellPadding="0" cellSpacing="0"
role="presentation" width="100%">
<tbody>
<tr>
<td><a href="{{marketplace.url}}/order/{{url-encode id}}/" target="_blank"
style="color:#FFF;background-color:#007DF2;border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:0px 0px;line-height:100%;max-width:100%"><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%;mso-text-raise:0" hidden>&nbsp;</i><![endif]--></span><span
style="color:#FFF;background-color:#007DF2;border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:16px 32px;max-width:100%;line-height:120%;text-transform:none;mso-padding-alt:0px;mso-text-raise:0">View
order
details</span><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%" hidden>&nbsp;</i><![endif]--></span></a>
<td><a href="{{marketplace.url}}/order/{{url-encode id}}/" target="_blank" style="color:#FFF;background-color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:0px 0px;line-height:100%;max-width:100%"><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%;mso-text-raise:0" hidden>&nbsp;</i><![endif]--></span><span style="color:#FFF;background-color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:16px 32px;max-width:100%;line-height:120%;text-transform:none;mso-padding-alt:0px;mso-text-raise:0">{{t "BookingExpiredRequest.Cta" "View order details" }}</span><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%" hidden>&nbsp;</i><![endif]--></span></a>
<div>
<p style="font-size:14px;line-height:1.5;margin:16px 0;color:#484848">Can’t click the button?
Here’s the link for your convenience: <a target="_blank"
style="color:#007DF2;text-decoration:none" href="{{marketplace.url}}/order/{{url-encode id}}/">
{{marketplace.url}}/order/{{url-encode id}}/</a></p>
<p style="font-size:14px;line-height:1.5;margin:16px 0;color:#484848">{{t "TransactionEmails.AccessibleLinkText" "Can't click the button? Here's a link for your convenience:"}} <a target="_blank" style="color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};text-decoration:none" href="{{marketplace.url}}/order/{{url-encode id}}/">{{marketplace.url}}/order/{{url-encode id}}/</a></p>
</div>
</td>
</tr>
</tbody>
</table>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848"><a target="_blank"
style="color:#007DF2;text-decoration:none" href="{{marketplace.url}}">Book something else instead</a></p>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848"><a target="_blank" style="color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};text-decoration:none" href="{{marketplace.url}}">{{t "BookingAutoDeclinedRequest.BookingCta" "Book something else instead"}}</a></p>

{{/with}}
<div>
<hr style="width:100%;border:none;border-top:1px solid #eaeaea;border-color:#E1E1E1;margin:20px 0" />
<p
style="font-size:12px;line-height:15px;margin:0 auto;color:#b7b7b7;text-align:left;margin-bottom:50px">
You have received this email notification because you are a member of
{{marketplace.name}}. If you no longer wish to receive these emails, please contact
{{marketplace.name}} team.</p>
{{t "TransactionEmails.MembershipParagraph" "You have received this email notification because you are a member of {marketplaceName}. If you no longer wish to receive these emails, please contact {marketplaceName} team." marketplaceName=marketplace.name }}</p>
</div>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Your booking request has expired
{{set-translations (asset "content/email-texts.json")}}{{t "BookingAutoDeclinedRequest.Subject" "Your booking request expired" }}
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">

{{set-translations (asset "content/email-texts.json")}}
{{set-locale (asset "general/localization.json" "locale" "en_US")}}
{{set-timezone transaction.listing.availability-plan.timezone}}
<head>
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
</head>
{{~#*inline "format-date"~}}
<!-- {{~#*inline "format-date"~}}
{{#with transaction.listing.availability-plan}}
{{date date format="h:mm a" tz=timezone}} on
{{date date format="MMM d, YYYY" tz=timezone}}
{{/with}}
{{~/inline~}}
{{~/inline~}} -->
{{#with transaction}}
<table
style="background-color:#FFF;margin:0 auto;padding:24px 12px 0;font-family:-apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, &#x27;Roboto&#x27;, &#x27;Oxygen&#x27;, &#x27;Ubuntu&#x27;, &#x27;Cantarell&#x27;, &#x27;Fira Sans&#x27;, &#x27;Droid Sans&#x27;, &#x27;Helvetica Neue&#x27;, sans-serif"
Expand All @@ -22,43 +24,27 @@
style="max-width:600px;margin:0 auto">
<tr style="width:100%">
<td>
<h1 style="color:#484848;font-size:26px;line-height:1.3;font-weight:700">Your booking request was declined
<h1 style="color:#484848;font-size:26px;line-height:1.3;font-weight:700">{{t "BookingDeclinedRequest.Title" "Your booking request was declined" }}
</h1>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848">Unfortunately
{{ provider.display-name }} decided to decline your booking request for
{{ listing.title }} from
{{> format-date date=booking.start}} to
{{> format-date date=booking.end}}. You have not been billed.</p>
{{t "OffSessionBookingDeclinedRequest.Content" "Unfortunately {providerDisplayName} decided to decline your booking request for {listingTitle} from {dateStart,date,::hmmaYYYYMMMd} to {dateEnd,date,::hmmaYYYYMMMd}. You have not been billed." dateStart=booking.start dateEnd=booking.end listingTitle=listing.title providerDisplayName=provider.display-name}}
<table style="padding:16px 0 0" align="center" border="0" cellPadding="0" cellSpacing="0"
role="presentation" width="100%">
<tbody>
<tr>
<td><a href="{{marketplace.url}}/order/{{url-encode id}}/" target="_blank"
style="color:#FFF;background-color:#007DF2;border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:0px 0px;line-height:100%;max-width:100%"><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%;mso-text-raise:0" hidden>&nbsp;</i><![endif]--></span><span
style="color:#FFF;background-color:#007DF2;border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:16px 32px;max-width:100%;line-height:120%;text-transform:none;mso-padding-alt:0px;mso-text-raise:0">View
order
details</span><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%" hidden>&nbsp;</i><![endif]--></span></a>
<td><a href="{{marketplace.url}}/order/{{url-encode id}}/" target="_blank" style="color:#FFF;background-color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:0px 0px;line-height:100%;max-width:100%"><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%;mso-text-raise:0" hidden>&nbsp;</i><![endif]--></span><span style="color:#FFF;background-color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};border-radius:4px;font-size:15px;text-decoration:none;text-align:center;display:inline-block;min-width:210px;padding:16px 32px;max-width:100%;line-height:120%;text-transform:none;mso-padding-alt:0px;mso-text-raise:0">{{t "BookingDeclinedRequest.ButtonCta" "View order details"}}</span><span><!--[if mso]><i style="letter-spacing: undefinedpx;mso-font-width:-100%" hidden>&nbsp;</i><![endif]--></span></a>
<div>
<p style="font-size:14px;line-height:1.5;margin:16px 0;color:#484848">Can’t click the button?
Here’s the link for your convenience: <a target="_blank"
style="color:#007DF2;text-decoration:none" href="{{marketplace.url}}/order/{{url-encode id}}/">
{{marketplace.url}}/order/{{url-encode id}}/</a></p>
<p style="font-size:14px;line-height:1.5;margin:16px 0;color:#484848">{{t "TransactionEmails.AccessibleLinkText" "Can't click the button? Here's a link for your convenience:"}} <a target="_blank" style="color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};text-decoration:none" href="{{marketplace.url}}/order/{{url-encode id}}/">{{marketplace.url}}/order/{{url-encode id}}/</a></p>
</div>
</td>
</tr>
</tbody>
</table>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848"><a target="_blank"
style="color:#007DF2;text-decoration:none" href="{{marketplace.url}}">Book something else instead</a></p>
<p style="font-size:16px;line-height:1.4;margin:16px 0;color:#484848"><a target="_blank" style="color:{{asset "design/branding.json" "marketplaceColors.notificationPrimaryButton" "#007DF2"}};text-decoration:none" href="{{marketplace.url}}">{{t "BookingDeclinedRequest.MarketplaceLinkText" "Book something else instead"}}</a></p>

{{/with}}
<div>
<hr style="width:100%;border:none;border-top:1px solid #eaeaea;border-color:#E1E1E1;margin:20px 0" />
<p
style="font-size:12px;line-height:15px;margin:0 auto;color:#b7b7b7;text-align:left;margin-bottom:50px">
You have received this email notification because you are a member of
{{marketplace.name}}. If you no longer wish to receive these emails, please contact
{{marketplace.name}} team.</p>
<p style="font-size:12px;line-height:15px;margin:0 auto;color:#b7b7b7;text-align:left;margin-bottom:50px">{{t "TransactionEmails.MembershipParagraph" "You have received this email notification because you are a member of {marketplaceName}. If you no longer wish to receive these emails, please contact {marketplaceName} team." marketplaceName=marketplace.name }}</p>
</div>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{transaction.provider.display-name}} declined your booking request
{{set-translations (asset "content/email-texts.json")}}{{t "BookingDeclinedRequest.Subject" "Your booking request was declined" }}
Loading