Read more
Requirements
Before you begin, take into account the following requirements, limitations, and preparations.How it works
To accept donations at the point of sale:- Choose a nonprofit.
-
Set up your donation campaign in your Customer Area, under Giving > Campaigns.
You need to select:- The merchant accounts and stores that you want to make the campaign available to.
- The nonprofit.
- The donation settings.
- Optionally configure a donation campaign logo to show as the standby screen on the payment terminal.
-
Start the donation campaign from the Campaigns overview in your Customer Area.
This overview shows all your donations campaigns and lets you start, edit, and end donation campaigns. -
Make a payment.
If your setup is to ask for a donation automatically after each payment, there is nothing additional that you need to do.
Otherwise, ask for a donation through the payment request by adding a tender option. -
Receive Giving webhook messages to check the outcome of donations and inform shoppers by email or mobile messaging of the outcome of donations.
If you use the two-step interaction flow, you can also retrieve the response for the donation transaction so that you can provide the shopper with a receipt for their donation on the spot.
Nonprofit organizations
You can choose one of our pre-approved nonprofits. Nonprofits that are not yet pre-approved must go through an onboarding process. You can contact us to request a new nonprofit, or for some regions you can do that from your Customer Area:- In your Customer Area, go to Giving > Campaigns.
- Select Request nonprofit and follow the prompts to provide the details of the new nonprofit.
At the step Select nonprofit country you will see the regions where you can request a new nonprofit in this way.
Donation campaigns
A donation campaign defines how and when shoppers can donate during a transaction. You set up and manage donation campaigns in the Customer Area, under Giving > Campaigns.Set up a campaign
The Campaigns user interface in the Customer Area guides you through setting up a donation campaign, and shows example screens. The main steps to create an Adyen Giving donation campaign are as follows:- Log in to your Customer Area and make sure you are on your company account.
- Go to Giving > Campaigns.
- Select Create new campaign.
-
Select the campaign details:
- The nonprofit.
- Either a specific cause, or “General fundraising”.
- The sales channel.
-
Configure your donation campaign:
- The merchant accounts and stores that are participating.
- The donation type, currency, and flow. When you choose fixed amounts and enter the amounts in your default currency, we automatically add equivalent amounts in other currencies if necessary for the selected merchant accounts and stores.
- Screen timeouts.
- Review the summary. When everything is correct, select Create campaign.
- In your Customer Area, go to Giving > Campaigns.
- Find the tile for the campaign, and select Start.
Campaign lifecycle management
When you first create a campaign, it starts out as inactive. This gives you a chance to edit or delete it. Whenever you are ready, you can start it. Once a campaign is active, you can still make edits or choose to end it. Keep in mind that a campaign that was ended cannot be re-started. When you edit the campaign details or change the state of a campaign, the terminals will not pick up the updates until they run their next maintenance call. This usually happens overnight.Donation settings
With our Giving integration, you have the flexibility to choose a combination of donation moment, interaction flow, and donation type. You configure these choices in your donation campaign. However, there are limitations to what choices are supported, depending on terminal model, region and currency, and payment method.Donation moment
You can choose when the payment terminal asks for a donation:- Automatically after every payment. This is possible with all integrations, including standalone terminals.
- Through your payment request, so that you have control over when to ask for a donation. This is possible with a Terminal API integration.
Interaction flow
Regardless of whether a donation is prompted automatically after every payment or through your payment request, you can choose to use a one-step flow or a two-step flow. Technically, there are two transactions: one for the payment and one for the donation. But in the one-step flow, the payment and the donation are shown as a single transaction, and shoppers need to present their card only once. In the two-step flow, shoppers need to present their card twice. With a Terminal API integration, this enables you to provide the shopper with a receipt for their donation, because you can retrieve the full donation transaction response. The two-step flow also supports more payment methods than the one-step flow. The effect on your payment terminals is as follows:-
After you have set up and activated your donation campaign, both flows start in the same way:
- You initiate a payment for the goods your shopper is purchasing.
- The shopper presents their card on the payment terminal.
-
From this moment, the flows are different:
- If the shopper selects the donation option Not now, the terminal shows a confirmation screen with a message that no donation was made.
- The terminal does not prompt for a donation after a gift card payment.
- Donations are currently not possible while the internet connection is down, even if you enabled offline payments. The terminal still prompts for a donation. But when the shopper chooses to donate, the terminal shows “Declined”. The offline payment itself will be processed as expected.
Donation type
You can present the following donation types on the payment terminal screen:- Fixed amounts: configure up to three fixed amounts to present to shoppers.
- Round up: allow shoppers to donate by rounding up the transaction amount of their purchase. You can enable the round-up feature on its own, or together with one fixed amount.
(Optional) Configure a logo
You can configure your terminal’s standby screen to show a logo for your donation campaign. Follow the instructions in the Customer Area under In-person payments > Terminal Settings > Customisation > Logo.
(Optional) Ask for a donation through a payment request
If Giving is configured to prompt for a donation through your payment request instead of automatically, you can use the tender optionAskGiving in your Terminal API payment request to control when the shopper is asked for a donation.
To ensure that the terminal prompts the shopper for a donation after their payment:
-
Make a payment request that contains a SaleData.SaleToAcquirerData parameter with the tender option AskGiving specified in one of the following formats:
-
Option 1: A JSON object
{"tenderOption": "AskGiving"}converted to a Base64 encoded string:
"SaleToAcquirerData": "eyJ0ZW5kZXJPcHRpb24iOiAiQXNrR2l2aW5nIn0=" -
Option 2: tenderOption=AskGiving:
"SaleToAcquirerData": "tenderOption=AskGiving"
AdditionalResponsethat you receive. If there are more tender options and other data elements that you need to pass in theSaleToAcquirerDatafield, see Add information to a payment for instructions.JSON
Java
-
Option 1: A JSON object
-
If you use the two-step flow, in the PaymentResponse note the
AdditionalResponsedata which you can use in a subsequentTransactionStatusRequestto retrieve the donation response:adyen_giving_sale_id: the donation sale ID, which is fixed to AdyenGiving.adyen_giving_service_id: the donation service ID. For example, 8ha5925831.
AdditionalResponsedata in the two-step flow, the payment response is the same as the response you receive for an approved payment without AskGiving tender option. The payment response contains no details of the donation, because the donation is a separate transaction that is initiated by the terminal instead of by your POS app. Payment response in two-step flow
(Optional) Get the two-step donation response
If you are using the two-step flow in a Terminal API integration, you can retrieve the full response for the donation transaction through a transaction status request. You can do this regardless of whether you automatically prompt for a donation after every payment, or prompt for a donation through your payment request. A reason to retrieve the donation response is that this includes aPaymentReceipt object that you can use to generate a shopper receipt for the donation.
It is only possible to retrieve the donation transaction response in the two-step flow.
-
Make a transaction status request, specifying:
-
The standard
SaleToPOIRequest.MessageHeaderobject, withMessageClassset to Service andMessageCategoryset to TransactionStatus.
adyen_giving_service_id8ha5925831.JSON
Java
-
The standard
-
In the TransactionStatusResponse, note the
RepeatedMessageResponse. This contains the response for the donation transaction. Use theRepeatedMessageResponse.PaymentReceiptobject to generate a shopper receipt for the donation. Transaction status response with the donation response
Giving webhook
You can get the outcome of each donation in a webhook message. This enables you to inform shoppers by email or mobile messaging about their donation, provided you have the shopper’s contact details. To receive these webhook messages, enable the Adyen Giving merchant webhook, which includeseventCode: DONATION.
For a successful donation, the event contains:
success: true.originalReference: use this value to associate the donation with the shopper’s original transaction.
Supported terminals and donation options
The following table shows the payment terminal models that support Giving, and the donation options that are supported on those terminals. The payment terminals must be on software version 1.109 or later, and some terminals or features require software version 1.110 or later. A combination of Round up and Fixed amounts in the one-step flow is only available for terminals on software version 1.124 or later.Supported regions and currencies
Giving is available in the following countries/regions and currencies. Supported currencies may vary between nonprofits depending on where they are registered.
1Fundraising in Singapore is only possible for local nonprofits.
Supported payment methods and flows
The following table show the payment methods that support donations at the point of sale. Note that not all of these payment methods are supported for ecommerce donations.
1 For Apple Pay and Google Pay, the one-step flow is only available when the cards in the wallet support the one-step flow.



