Donation checkout process

I was checking out new donation process with CC since we’re now in Q4 and thats when I make donations to open source projects.

The process follows typical checkout process, but that adds an unnecessary step (unless I’m missing something), adding to cart.

It’s possible to skip this step, which would also allow us to change the button from Add to Cart to something more meaningful like Make a Donation.

Here’s how it’s done in Woo:

Thoughts?

5 Likes

Sounds like a good idea to me, removing one step in the process is always good :+1:

cc @james, thoughts?

3 Likes

Yep, this looks good, thanks for the link to a simple code-based solution Viktor. We should be able to implement that soon.

We’re also looking into a “variable amount” field. I think this would be a bit trickier because it will need to create a new product variation and then add it to the card.

3 Likes

Yea, custom price is a bit trickier. Last time I checked, no free plugins. If you do it, it might be nice to package it into a plugin for CC (or CC core?)

And if you want to publish it in WP repo, could be a way to introduce people to CP/CC. Just a thought.

Edit: If you plan to do it, let me know when it’s done and I’ll submit donation to test it.

2 Likes

Probably a plugin. The donation amounts box is also custom, here’s what we’ve got so far: https://github.com/ClassicPress/site-www/pull/18

I guess you mean the simpler thing, skipping the cart? Sounds good, I’ll reply here when that’s done - should be sometime within the next couple of days.

2 Likes

This is supported now via their Pricing API for both recurring and one-off charges: https://stripe.com/docs/billing/prices-guide#ad-hoc

Yes, that’s right.

1 Like

I’ll tweak the donations plugin doodah thingy and submit a PR.

3 Likes

I always love technical terms :wink:

3 Likes

I try and avoid too much technical jargon but just occasionally I forget and then I’m all “if you switch the doodah on and set it to wotsit, then the thingamajig should start the gubbins and then bob’s your uncle”. :grin:

4 Likes

@viktor this is done (there is no more cart step). Thanks to @1stepforward for the code!

2 Likes

Thanks, looks good so far. I will make a donation within the next few days. Waiting on my bank to fix an issue with my business card, otherwise it’ll be declined in Stripe.

Two suggestions, the last button in the process “Place Your Order” should be more relevant to donations. Maybe “Make a Donation”.

Also, I would recommend adding a reminder notice on the checkout page about tax-deduction for US businesses/individuals. Maybe in the same area as privacy policy text.

3 Likes