DOCS

Donation Thank You

FREE block. The post-payment confirmation screen shown to donors after completing a donation.

Donation thank you example

Why use this

A thank-you page confirms to the donor that their payment was received, shows a summary of what they gave, and provides a way to return to the campaign.

What it does

The block reads the ?donation_id= and ?token= URL parameters set after a successful payment redirect. It verifies access using one of four methods: a valid token, a cookie set during the donation session, the logged-in user’s email matching the donor’s email, or administrator capability.

The block adapts its title and message based on the payment status:

StatusDisplay
paid or completedSuccess title and message
cancelled or canceledCancellation message
failed or expiredFailure message
pending or openPending message

For paid donations, the block shows an itemised breakdown including the donation amount, optional platform tip, and any WooCommerce products added (PRO feature). A back button returns the donor to the originating action.

How to use it

  1. The Thank You page is created automatically during plugin setup. It contains this block.
  2. Customise the title and message for each payment state in the block inspector.
  3. Toggle the donor name, amount, and payment method display on or off.
  4. Set the back button text and color.
Donation thank you inspector

Settings and options

OptionTypeDefaultDescription
Success titlestringTitle for paid/completed status
Success messagestringBody text for paid/completed status
Cancelled titlestringTitle for cancelled status
Cancelled messagestringBody text for cancelled status
Failed titlestringTitle for failed/expired status
Failed messagestringBody text for failed/expired status
Pending titlestringTitle for pending/open status
Pending messagestringBody text for pending/open status
Show amountbooleantrueDisplay the donation total
Show donorbooleantrueDisplay the donor’s name
Show payment methodbooleantrueDisplay the payment method used
Amount labelstringCustom label for the total line
Donation labelstringCustom label for the donation-only line
Platform tip labelstringCustom label for the tip line
Donor labelstringCustom label for the donor name line
Payment method labelstringCustom label for the payment method line
Products labelstringCustom label for the products section
Button textstringReturn to CampaignBack button label
Button colorstring#4a9d44Back button background
Button text colorstring#ffffffBack button text color
Button hover colorstring#c62d43Back button hover color
Button font sizenumber16Back button font size
Button line heightnumber1.5Back button line height
Border radiusnumber6Back button corner rounding

What you can and cannot do

  • You cannot access this page directly without a valid donation ID and token (or matching session/login). Attempting to view it without these parameters shows no donation data.
  • The WooCommerce product breakdown is only shown when Fundations Pro and WooCommerce are both active.
  • The back button target is always the originating action’s permalink; it cannot be customised to an arbitrary URL.

Troubleshooting

Page shows no donation data: The ?donation_id= and ?token= parameters are missing. This page should only be reached via the payment provider redirect, not navigated to directly.

Wrong status message is shown: The payment provider webhook may not have updated the donation status before the donor was redirected. Wait a few seconds and refresh. If the problem persists, check the webhook configuration in your payment provider dashboard.