You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The thank you page displays a customisable heading, message, and call-to-action button. Edit the copy from the CP under **Globals > Donation Messages** (separate tabs for Single Donations and Recurring Donations).
428
+
The thank you page displays a customisable heading, message, and call-to-action button. Edit the copy from the CP under **Globals > Donation Checkout Messages** (separate tabs for Single Donations and Recurring Donations).
429
429
430
430
If you prefer to build your own thank you template, use the `{{ donation:thank_you }}` tag pair:
431
431
@@ -452,7 +452,7 @@ Gift Aid allows UK charities to claim an extra 25% on donations from UK taxpayer
452
452
453
453
### Enabling Gift Aid
454
454
455
-
1. Go to **CP > Globals > Donation Messages > Settings**
455
+
1. Go to **CP > Globals > Donation Checkout Messages > Settings**
456
456
2. Enable **Gift Aid** (toggle switch)
457
457
3. Optionally customise the label (default: "Boost your donation by 25% with Gift Aid")
458
458
4. Enable **Collect Billing Address** (Stripe Checkout will require the donor's full address)
@@ -538,7 +538,7 @@ If you prefer to build your own portal template, use the `{{ donation:portal }}`
538
538
539
539
### Configuration
540
540
541
-
The following portal settings can be changed from the CP under **Globals > Donation Messages > Settings**:
541
+
The following portal settings can be changed from the CP under **Globals > Donation Checkout Messages > Settings**:
542
542
543
543
-**Enable Donor Portal** (show/hide the magic link form)
544
544
-**Donors Can Cancel** (allow donors to cancel their own subscriptions)
@@ -662,14 +662,61 @@ Add the Donation Stats widget to your dashboard via **CP > Dashboard**. It shows
662
662
663
663
### Donor Emails
664
664
665
-
When a subscription is paused or resumed (from the CP or via Stripe webhook), the donor receives an email thanking them for their support. Email templates are publishable:
665
+
Donors receive styled HTML emails at key moments in the donation lifecycle:
666
+
667
+
| Email | Trigger |
668
+
|---|---|
669
+
|**Donation Confirmation**| Single donation completed via Stripe Checkout |
670
+
|**Recurring Confirmation**| Monthly donation set up via Stripe Checkout |
671
+
|**Subscription Paused**| Recurring donation paused from CP or Stripe Dashboard |
Configure the email appearance from **CP > Globals > Donation Checkout Emails > Branding**:
678
+
679
+
-**Logo**: upload via the asset picker (recommended: 200px wide, PNG or SVG)
680
+
-**Organisation Name**: shown in the header when no logo is set, and in the sign-off
681
+
-**Accent Colour**: used for the header band, buttons, and amount highlight boxes
682
+
-**Greeting**: the opening line of every email, with placeholder support (`{first_name}`, `{last_name}`, `{name}`, `{email}`). Defaults to "Hi {first_name},"
683
+
684
+
#### Email Content
685
+
686
+
Each email type has its own tab in the Donation Checkout Emails global with customisable **subject line**, **heading**, and **body text**:
Templates are in `resources/views/vendor/donation-checkout/emails/`:
703
+
Templates in `resources/views/vendor/donation-checkout/emails/`:
672
704
705
+
-`donation-single.blade.php`
706
+
-`donation-recurring.blade.php`
673
707
-`subscription-paused.blade.php`
674
708
-`subscription-resumed.blade.php`
675
709
-`magic-link.blade.php`
710
+
711
+
#### Developing Email Templates
712
+
713
+
Email source templates live in the `emails/` directory and use the [Maizzle](https://maizzle.com) framework with Tailwind CSS. To modify the email design:
714
+
715
+
```bash
716
+
cd emails
717
+
npm install
718
+
npm run dev # preview with hot reload
719
+
npm run build # compile to resources/views/emails/
720
+
```
721
+
722
+
The production build inlines all CSS, adds Outlook compatibility, and outputs `.blade.php` files with Blade variables preserved. Only the compiled output is used at runtime.
0 commit comments