Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update emails

Steven Tey5fa8017515fa
diff --git a/packages/email/src/templates/partner-payout-confirmed.tsx b/packages/email/src/templates/partner-payout-confirmed.tsx
index 7d57028da6..c025ba5cf0 100644
--- a/packages/email/src/templates/partner-payout-confirmed.tsx
+++ b/packages/email/src/templates/partner-payout-confirmed.tsx
@@ -102,8 +102,8 @@ export default function PartnerPayoutConfirmed({
</Text>
<Text className="text-sm leading-6 text-neutral-600">
The payout is currently being processed and is expected to be
- credited to your account within 5 business days (excluding
- weekends and public holidays).
+ credited to your Stripe Express account within 5 business days
+ (excluding weekends and public holidays).
</Text>
<Section className="mb-12 mt-8">
diff --git a/packages/email/src/templates/partner-payout-sent.tsx b/packages/email/src/templates/partner-payout-sent.tsx
index efb2d07915..8e2b08efbe 100644
--- a/packages/email/src/templates/partner-payout-sent.tsx
+++ b/packages/email/src/templates/partner-payout-sent.tsx
@@ -82,21 +82,23 @@ export default function PartnerPayoutSent({
</Heading>
<Text className="text-sm leading-6 text-neutral-600">
- <strong className="text-black">{program.name}</strong> has sent
- you <strong className="text-black">{saleAmountInDollars}</strong>
- {startDate && endDate ? (
- <>
- {" "}
- for affiliate sales made from{" "}
- <strong className="text-black">{startDate}</strong> to{" "}
- <strong className="text-black">{endDate}</strong>.
- </>
- ) : (
- "."
- )}
+ Your payouts of{" "}
+ <strong className="text-black">{saleAmountInDollars}</strong> from{" "}
+ <strong className="text-black">{program.name}</strong> have been
+ processed and are now in your Stripe Express account.
</Text>
<Text className="text-sm leading-6 text-neutral-600">
- The funds are on their way to your account.
+ If the balance in your Stripe Express account is above your
+ minimum withdrawal balance, they'll automatically be transferred
+ to your bank account. You can change your minimum withdrawal
+ balance any time in your{" "}
+ <Link
+ href="https://partners.dub.co/payouts"
+ className="font-medium text-black underline"
+ >
+ payout settings
+ </Link>
+ .
</Text>
<Section className="mb-12 mt-8">
diff --git a/packages/email/src/templates/partner-payout-withdrawal-initiated.tsx b/packages/email/src/templates/partner-payout-withdrawal-initiated.tsx
index ddd31b4078..9ffe82afaf 100644
--- a/packages/email/src/templates/partner-payout-withdrawal-initiated.tsx
+++ b/packages/email/src/templates/partner-payout-withdrawal-initiated.tsx
@@ -43,7 +43,7 @@ export default function PartnerPayoutWithdrawalInitiated({
</Heading>
<Text className="text-sm leading-6 text-neutral-600">
- Congratulations!{" "}
+ Good news!{" "}
<span className="font-semibold text-neutral-800">
{payoutAmountFormatted}
</span>{" "}
@@ -51,11 +51,18 @@ export default function PartnerPayoutWithdrawalInitiated({
</Text>
<Text className="text-sm leading-6 text-neutral-600">
- This process{" "}
+ Depending on your bank's location, this process can{" "}
<span className="font-semibold text-neutral-800">
- can take up to 4-5 business days
+ can take anywhere between 1-14 business days
</span>
- . If there are delays, please contact your program support.
+ . If there are any delays, please contact{" "}
+ <Link
+ href="https://support.stripe.com/express"
+ className="font-medium text-black underline"
+ >
+ Stripe support
+ </Link>
+ .
</Text>
<Section className="mb-12 mt-8">
diff --git a/packages/email/src/templates/partner-paypal-payout-failed.tsx b/packages/email/src/templates/partner-paypal-payout-failed.tsx
index e3ebacce01..cf1b672a6e 100644
--- a/packages/email/src/templates/partner-paypal-payout-failed.tsx
+++ b/packages/email/src/templates/partner-paypal-payout-failed.tsx
@@ -87,7 +87,10 @@ export default function PartnerPaypalPayoutFailed({
To resolve this, please verify that your PayPal account is active
and able to receive payments. Please update your account details
at your earliest convenience and retry the payout from your{" "}
- <Link href="https://partners.dub.co/payouts">
+ <Link
+ href="https://partners.dub.co/payouts"
+ className="font-medium text-black underline"
+ >
Payout settings
</Link>
.