Shop donation items, step by step
This page is for the website creator or partner who builds route B: donations as fixed-amount products in the built-in shop. Read Donation options at a glance first; this route has limits a fundraiser must accept.
Note
The limits: donors choose from fixed amounts (or options you define), not any amount; recurring payments are not documented for the shop or its gateways; the shop's receipt is an order receipt, not a tax receipt; and donors go through a basket and checkout, which reads like a purchase.
Contents
- Step 1: the donation products
- Step 2: VAT
- Step 3: the payment gateway
- Step 4: receipts and mail
- Step 5: test
- The weekly routine
- Checklist
Step 1: the donation products
- Create a folder Donate for the items.
- Create one object of the shipped
productclass per amount, for example "Gift of 10", "Gift of 25", "Gift of 50", each with its price (ezprice, orezmultipricefor several currencies) (Products, prices and VAT, Adding a product). - In the description, say what each amount does.
- Options such as
ezoptionorezrangeoptioncan change the price, but only to values you define; there is no free amount (Donations and fundraising pages). - Link the folder from your giving page.
Step 2: VAT
Donations are usually treated differently from sales for tax purposes, but the rules are your country's. Set the VAT type of the donation items as your accountant advises (VAT types and rules, VAT checklist).
Step 3: the payment gateway
With ezpaypal (redirect to PayPal):
- Activate the extension.
- Create
settings/override/paypal.ini.append.phpand set at least[PaypalSettings] Business, your PayPal business account. - Point
[ServerSettings] ServerNameat PayPal's sandbox while you test. - Add the PayPal workflow event to the checkout workflow, connected to the
shop_checkouttrigger (Workflows). - The notify URL (
/paypal/notify_url) "must be reachable from the internet and must not require a login". [OrderSettings] PaymentMadeOrderStatusID(1000) is the status set when payment is made.
Source: Payment gateways for website creators, ezpaypal.
With ezauthorize (card form to Authorize.Net): the extension's own documentation is in
extension/ezauthorize/. Card details are typed on your site; read
Card payments and PCI basics first.
The active gateways are listed in settings/paymentgateways.ini [GatewaysSettings] AvailableGateways[].
Step 4: receipts and mail
- Switch on order receipts so donors can reach their receipt at any time (Order receipts).
- Check the order confirmation mail reads well for a gift, not a purchase (Order confirmation mail).
- If your country requires a donation or tax receipt, issue it outside Exponential as your accountant advises.
Step 5: test
From Payment gateways, Testing:
- To do: A payment in the provider's test mode completes and the order becomes paid.
- To do: A canceled payment leaves the order unpaid and the donor can try again.
- To do: The callback works over HTTPS and through any proxy.
- To do: The Store dashboard no longer says there is no payment step on checkout (Store dashboard).
Then switch to the live server, make one small real gift and refund it.
The weekly routine
| Task | Read |
|---|---|
| Compare paid orders with the provider's statement | Orders day to day |
| Look at orders in "payment failed" | Payment gateways for owners |
| Answer donors' receipt questions | Invoices and receipts |
| Handle a refund request | Returns and refunds |
After each Exponential or extension update, repeat the test of step 5.
Checklist
- To do: Donation products created with clear descriptions.
- To do: VAT set as advised.
- To do: Gateway set up, sandbox tested, then live tested with a small gift.
- To do: Order receipts on; confirmation mail reviewed.
- To do: Tax receipts handled outside the site, if required.
- To do: Weekly routine has a name next to it.
Related pages
- Donations
- Shop overview
- PayPal payments
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.