Charitable Blog

Everything you need to know about Charitable and our team.

Charitable 1.5 release post banner

What’s New in Charitable 1.5

Last updated on

  • By

Today we release Charitable 1.5, the first major release of 2017. This is a milestone update for Charitable, as it adds highly-requested features and improves many aspects of Charitable — above and under the hood.

Read below to find out what’s new.

Contributors

First of all, I would like to say thank you to the individuals who committed changes in this release. In no particular order: Jeroen Sormani, Rafe Colton, Kathy Darling, Nick Ciske, B. Scott and dsoares. Thank you all!

Of course, code is not the only way you can contribute to Charitable. To everyone who has left a comment on an issue, reported a bug, or helped out with translating Charitable, thank you!

Top 9 New Features in Charitable 1.5

69 issues were closed in this release (that’s a little over 23% of all issues ever reported for Charitable) and a good chunk of those were for new features. I’ll cover nine of the most important new features below, but for a full overview of everything that’s new, read the changelog.

Create and edit donations in the WordPress dashboard

Of all the new features in Charitable 1.5, this is the one that has been requested most often. You can now add new donations directly from your WordPress dashboard.

Existing donations can be edited with the same interface.

For more, read the detailed documentation.

Resend donation receipts (and other emails) from the dashboard

Ever had a donor lose their donation receipt?

Now you can easily resend a donor’s receipt via the WordPress dashboard. Just go to the donation, select the email in the Donation Actions you would like to resend and click on the “Resend Email” button.

Read the docs for a step by step guide to resending emails.

As an aside, the Donation Actions meta box is a new addition in 1.5. Right now it’s used exclusively for resending emails, but we expect to add more options here in the future.

Add your donation form to a page

Another popular request has been for an easy way to embed a donation form in a page. That is now possible with the [charitable_donation_form] shortcode:

[charitable_donation_form campaign_id=123]

Pretty easy, huh? If you need more details, read the docs.

New emails for offline donations

One very long-standing pain point for some Charitable users has been the lack of a good email notification system for offline donations. The receipt and admin notification for donations are only sent when a donation is marked as Paid, which happens automatically for every gateway except for Offline.

Offline donations remain Pending until they have been marked as Paid by an admin.

Rafe Colton solved this problem by introducing two new emails, the Offline Donation Receipt and Offline Donation Notification. These emails are only sent for offline donations which are pending. In the donation receipt, you can also display the offline payment instructions to help your donor know how to complete their donation.

Click here for more details about the emails.

See important campaign information at a glance

The Campaigns table in the WordPress dashboard has been redesigned to be tailored to campaigns. At a glance, you can now see how much a campaign has raised, when it ends and, if it is finished, whether it was successful.

Campaigns table in Charitable
The Campaigns table now shows the goal end date and status of a campaign as well as the campaign ID

You will also see the campaign ID in the left column, which comes in handy when you need to know a particular campaign’s ID in a shortcode like [charitable_donation_form], [charitable_donors] or [campaigns], all of which accept campaign parameters.

Show donors anywhere with a shortcode

You can now display a list of your donors anywhere on your site with the [charitable_donors] shortcode. The shortcode allows you to show donors to all campaigns or one specific campaign, and you can also control what shows for each donor. By default it will show the donor’s avatar (or Gravatar), name and the amount they gave:

Screenshot of donors grid
A grid of donors added with the charitable donors shortcode
Read the docs for more examples of how you can use this.

Enhanced donor accounts with email verification

Since version 1.4, Charitable has included a [charitable_my_donations] shortcode, which has provided an easy way for donors to view their donation history.

But there was one problem: It would only show donations you made while being logged in. If you made donations without being logged in but with the same email address as your account, those would not show.

To fix this, we set up a basic email verification process for registered users, which ensures that they have access to the email address they registered with before showing all donations associated with that email. Confirming your email address is a quick, easy process — just click a link and you’re done.

Add a logout link with a shortcode

Charitable has always included login, registration and profile forms. In version 1.4 we added a password reset process into the mix as well. But one piece that was still missing was a built-in way to add a logout link.

Thankfully, there is now a simple shortcode for that:

[charitable_logout]

Read the docs for more details about using the logout shortcode.

Take full advantage of Varnish Cache with Charitable

Varnish is a popular caching mechanism used by major web hosts like WP Engine and SiteGround. You may be using it without knowing it. And it may have been causing you headaches with Charitable.

The key problem we encountered with Varnish is that it could prevent user sessions from working as expected. One particularly nasty by-product of this was that donors would see a “You do not have access to this donation receipt” message immediately after donating. Hardly the impression you want to leave with donors.

Charitable 1.5 solves this issue by dynamically loading content (via AJAX) when we detect that user sessions are not working. That means that you can now take full advantage of Varnish to speed up your website, without negatively impacting your donors’ experience.

Updates for Developers

Not all changes are user-facing, and Charitable 1.5 includes a host of improvements designed to make developers’ lives easier and open new opportunities for building online fundraising experiences with Charitable.

Register new donation fields with the Donation Fields API

Before this release, if you wanted to add a new field to your donation form and show the value in emails, admin meta and donation exports, you had to use five separate hooks, with a different function for each. Besides being a pain, that left a lot of room for error, particularly for less experienced users who have added custom fields with little to no development knowledge.

In Charitable 1.5, you can register a new donation field in a single function called on the init hook:

function ed_charitable_register_new_donation_field() {
    $field = new Charitable_Donation_Field( 'national_id_number', array(
        'label'          => __( 'National ID Number', 'charitable' );
        'data_type'      => 'user',
        'donation_form'  => array(
            'show_after' => 'phone',
            'required'   => false,
        ),
        'admin_form'     => array(
            'show_after' => 'phone',
            'required'   => false,
        ),
        'show_in_meta'   => true,
        'show_in_export' => true,
        'email_tag'      => array(
            'description' => __( 'The donor\'s national ID number' , 'charitable' ),
        )
    ) );

    charitable()->donation_fields()->register_field( $field );
}

add_action( 'init', 'ed_charitable_register_new_donation_field' );

View the full, heavily commented code for a detailed outline of all the options available.

Easily get donor & donation counts with Charitable_Query classes

The Charitable_Query class is a foundation for both Charitable_Donations_Query and Charitable_Donor_Query, which allow you to get collections of donations and donors, respectively. But sometimes you don’t need to get the full collection; you just need the number of results.

We added a new option to Charitable_Query which allows you to easily get the count. Simply set output to count and form the rest of your query as per usual. For example, here’s a query that will get the number of donations made by the donor with ID 123 to the campaign with ID 4:

$query = new Charitable_Donations_Query( array( 
    'campaign' => 4, 
    'donor_id' => 123,
    'output' => 'count' 
) );
$query->count();

Click here for more examples.

Add new email fields with the Email Fields API

We discovered a huge performance issue related to how email fields were set up previously, so we took the opportunity to completely rewrite the way email fields work. That fixed the performance problem (settings pages that could take 15+ seconds loading in less than a second) and also opened up a more flexible way to add and edit email fields.

function ed_charitable_email_campaign_field_callback( $value, $args, $email ) {
    $campaign = $email->get_campaign();
    return $campaign->get( 'some_field' );
}

function ed_charitable_add_email_campaign_field( $fields ) {
    $fields['some_field'] = array(
        'description' => 'A description of this field',                    
        'preview'     => 'Placeholder value',
        'callback'    => 'ed_charitable_email_campaign_field_callback',
    );

    return $fields;
}

add_filter( 'charitable_email_campaign_fields', 'ed_charitable_add_email_campaign_field' );

Click here for the full documentation.

Set a minimum donation amount

You can now set a minimum donation amount for all campaigns with the charitable_minimum_donation_amount filter. For example, to set a minimum donation amount of $2:

function ed_charitable_set_minimum_donation_amount() {
    return 2;
 }

add_filter( 'charitable_minimum_donation_amount', 'ed_charitable_set_minimum_donation_amount' );

Detailed doc comments for hooks & filters

We’ve always been pretty hardcore about inline documentation, but with this release we really stepped that up. Many action and filter hooks now include detailed doc comments showing when the hook was introduced and the parameters that it sends. Here’s an example:

Charitable filter doc comments

Other changes:

  • An autoloader was added. Thanks to Kathy Darling for this one!
  • Set whether a campaign can receive donations with the charitable_campaign_can_receive_donations filter.
  • Use the charitable_monetary_amount filter for fine-grained control over how monetary amounts are displayed.
  • Added the Form View API. This separates how forms are rendered from how they are set up. It also improves performance.
  • Added the Endpoint API, which allows you to register new endpoints through Charitable.

What Do You Think?

As you can see, this is an enormous update for Charitable. It’s taken us far longer to get here than I had hoped, but I am immensely proud of the improvements made. Many of these issues have been long-standing pain points for users, and it feels great to finally have a solid solution to those issues.

If you haven’t already, update Charitable via your dashboard today, and tell us what you think. Most of these improvements have been borne out of user feedback, and just like always, we want to hear what you think of these updates.

Share your thoughts in the comments below!

author avatar
Eric Daams

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

6 responses to “What’s New in Charitable 1.5”

  1. Collins Agbonghama Avatar
    Collins Agbonghama

    This is awesome. I can only imagine the amount of work that went into this release.

    Congrat WPCharitable Team.

  2. I accidentally updated the plugin and things have broken on my site during the period where I’m expecting the most activity. Very frustrating.

    1. ericnicolaas Avatar
      ericnicolaas

      Hi Owen,

      I totally understand the frustration, particularly given the timing! The specific issue you mentioned in your email to us has been resolved now with an update to the Ambassadors extension; if you update to version 1.1.17 it will resolve the error you saw.

      Cheers,
      Eric

  3. David Byrd Avatar
    David Byrd

    Great job with updates. I still would like the option to remove the amount donated in a campaign from public display. This does not need to display on the website.

  4. Matthew DeFedele Avatar
    Matthew DeFedele

    Is there anything on the forefront to add a maximum donation amount for things like political campaign funding?

    1. ericnicolaas Avatar
      ericnicolaas

      Hi Matthew,

      Sorry for missing your comment. No, we don’t have any way to set a max donation amount.

      Cheers,
      Eric

Leave a Reply

Your email address will not be published. Required fields are marked *

Get free tips and resources right in your inbox, along with 60,000+ others

Join our Newsletter

We won’t spam you. We only send an email when we think it will genuinely help you. Unsubscribe at any time!

Featured Video:

Watch more videos on our YouTube channel.

What's New In Charitable

View The Latest Updates
🔔 Subscribe to get our latest updates
📧 Subscribe to Emails

Email Subscription

Join our Newsletter

We won’t spam you. We only send an email when we think it will genuinely help you. Unsubscribe at any time!

Donations New

👥 Introducing Donor Merging: Two Records, One Supporter!

Somewhere in your donor list is a supporter who appears twice, because they gave from a work address one year and a personal one the next. Every donation is still recorded and every receipt still went out, but a loyal supporter who has given for years can look like two people who gave half as much. From the Charitable Pro plugin 1.8.19.1 you can find those records and merge them from the Donors screen. Why this is important:

  • 🔍 A Find Duplicates link where you already work: Head to Charitable » Donors and it sits next to Filter and Export, then tells you how many groups of possible duplicates it found.
  • 🧩 Grouped by name, not by email: Charitable compares the first and last name together and ignores capital letters, spacing and punctuation, which is what catches the same person under two different addresses.
  • 📊 A preview before anything changes: Each group shows every record with its email address, its donation count and its lifetime total, and the preview shows you the combined totals and the email that will be added.
  • ↩️ Every merge can be undone: Nothing is merged until you choose to merge it, and you can reverse any merge afterwards, so a wrong guess costs you nothing.
  • 📥 Built for the week after an import: Moving donors over from another plugin is where most duplicates come from, and it is also when they are hardest to spot, because every record is new to you.

Check out our announcement here.

author avatar
Eric Daams
ambassadors New

🔑 Introducing Passwordless Fundraisers: Sign Up With Just an Email!

Supporters arrive wanting to help, and then the form asks them to invent a password for a website they may only visit twice. A lot of them stop right there. Passwordless Fundraiser Accounts, new in Charitable Ambassadors 3.5.0, let a supporter start a peer to peer fundraiser with nothing but an email address. Why this is important:

  • 🔑 No password step to lose them at: Switch it on in Charitable » Ambassadors » Templates » Submit Form and the create-fundraiser form asks only for a name, an email address and a page title.
  • 👤 Still a real WordPress account: One click in one email confirms the address, signs them in and creates the account, so they can come back later to edit their story, change their photo and see who has donated.
  • 🎚️ Your call on every campaign: Each peer to peer campaign can follow the site default or override it, which matters when a campaign pays fundraisers through Stripe Connect and those people do need a password.
  • 📋 See who has not clicked yet: The Charitable » Ambassadors » Directory » Awaiting Sign-In tab lists everyone still waiting, with the campaign they joined and a Resend button, so a typo or a spam folder is something you can spot and fix.
  • 🛡️ Links a scanner cannot use up: Opening the link only shows a page, and your fundraiser is signed in when they press the button on it, so corporate email scanners never burn the link. Each one works once, expires on its own and is stored only as a hash.

Check out our announcement here.

author avatar
Eric Daams
ambassadors New

🏃 Introducing Activity: Show Progress on More Than Money!

Most peer-to-peer fundraisers are about more than the money. A read-a-thon is about minutes read, a walkathon is about miles walked, and a food drive is about meals packed. Activity for Charitable Ambassadors lets your fundraisers show that effort right beside the dollars they raise. Why this is important:

  • 🎯 Progress on what you actually count: A progress bar shows each thing you count against its own target, sitting right beside the money raised.
  • 🏅 Milestones for the yes or no things: A milestone badge marks the efforts that are simply done or not done, with no number to chase.
  • ✍️ Fundraisers log their own numbers: Your supporters enter their totals from their own pages, so the effort stops living in a spreadsheet, a comment, or nowhere at all.
  • 🤖 Some numbers count themselves: An AUTOMATIC tag appears wherever the site worked the figure out from completed donations, so you can see at a glance what nobody typed in.
  • 🧩 Set it up once, use it anywhere: You decide what gets counted one time, then choose which campaigns count it. Available now in Charitable Ambassadors 3.4.7, with no new plugin and no developer.

Check out our announcement here.

author avatar
Eric Daams
ambassadors New

🖨️ Introducing Fliers and Posters: Raise Money Away From the Screen!

A lot of peer-to-peer fundraising happens away from a screen: at the finish line of a 5K, on a school noticeboard, in an office kitchen. Charitable Ambassadors 3.4.7 adds 2 printables, a fundraiser flier carrying each fundraiser’s own story and QR code, and a recruitment poster that signs new fundraisers up. Both open as a normal web page and print straight from the browser. Why this is important:

  • 🏁 A flier for every fundraiser: Each one carries that fundraiser’s own photo, story and goal, with a QR code that opens their page rather than your main campaign.
  • 📌 A poster that recruits: It shows “Now Recruiting” above your campaign name with a large QR code that opens your sign-up form, so someone can start fundraising without waiting on a link from you.
  • 🪄 No design tool needed: Both printables render as a normal web page and print from the browser, with no PDF plugin and no designer.
  • 📄 2 flier layouts: Hand out carries the full story for giving to friends and family, and Post up carries a short hook with 5 tear-off tabs for a noticeboard.
  • 🛡️ Off until you switch it on: Fliers stay off after the update until you enable them under Charitable » Ambassadors » Other » Fliers, and only the owner or an administrator can open one.

Check out our announcement here.

author avatar
Eric Daams
Improvement Payments

💸 Introducing Tiered Rates for Fee Relief: Match the Ask to the Gift!

Fee Relief asks your donors one short question at checkout: would you like to cover the processing fee on this gift? Until now that question used a single rate for every donation on a gateway, so a $10 gift and a $500 gift were asked for the same percentage. Fee Relief 1.3.0 lets you set as many donation bands as you like, each carrying its own rate. Why this is important:

  • 🪙 Gentler on small gifts: A fixed transaction cost is a far bigger share of a $10 donation than a $500 one, so bands let you ask for less at the bottom.
  • 🎚️ As many bands as you need: Each band carries its own percentage and its own fixed amount, and the top band runs on with no upper limit.
  • 🛑 An optional ceiling: A Maximum fee field stops any donor being asked for more than a number you choose, however large the gift.
  • 🔌 Set per payment gateway: Stripe can run on four bands while Windcave and Payfast stay on a single rate, because bands belong to a gateway and not to your whole site.
  • 🛡️ Nothing changes until you say so: Your current rates stay exactly as they are until you switch Use Tiered Rates on under Charitable » Settings » Advanced » Fee Relief.

Check out our announcement here.

author avatar
Eric Daams