This article is also available in
简体中文.
title: Icarus User Guide - Donation Buttons
date: 2017-01-31
categories:
- Plugins
- Donation
tags:
- Icarus User Guide
language: en
toc: true
donates:
-
type: afdian
url: https://afdian.net/
-
type: alipay
qrcode: /gallery/donate/alipay.png
-
type: buymeacoffee
url: https://www.buymeacoffee.com/
-
type: paypal
business: paypal@paypal.com
currency_code: USD
-
type: patreon
url: https://www.patreon.com/
-
type: wechat
qrcode: /gallery/donate/wechat.jpg
---
This article covers donation button configurations supported by Icarus 3.
If you need to display multiple donation buttons at once, add individual button configuration
to the `donates` array like the following:
{% codeblock themes/icarus/_config.yml lang:yaml %}
donates:
-
type: ... # Button 1
...
-
type: ... # Button 2
...
{% endcodeblock %}
3. Select "Use account ID" or "Use email address" as the unique identifier of your account in the "Add organization
details" page.
Then, click "Continue" to go to the next page.
{% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/paypal-organization-details.png 360 '"Add Organization Details - Paypal" "Add Organization Details - Paypal"' %}
4. Choose the "Currency you'll receive donations in" and set "Amount donors can give" to "Any amount" in the
"Set donation amounts" page.
We currently do not support the option of donating in "An exact amount".
Click "Finish and Get Code" to go to the next page.
{% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/paypal-donation-amount.png 360 '"Set Donation Amounts - Paypal" "Set Donation Amounts - Paypal"' %}
5. Copy `business` and `currency_code` from the "Button HTML" on the page.
Put them to the `business` and `currency_code` settings in your theme configurations.
{% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/paypal-get-code.png 360 '"Get Code - Paypal" "Get Code - Paypal"' %}
For example, the following Paypal donation button code:
{% codeblock Paypal HTML code lang:html %}