Skip to content

[ECP-8667] Enable Adyen Giving donations on headless integration#3254

Merged
candemiralp merged 5 commits intomainfrom
ECP-8667
Feb 23, 2026
Merged

[ECP-8667] Enable Adyen Giving donations on headless integration#3254
candemiralp merged 5 commits intomainfrom
ECP-8667

Conversation

@candemiralp
Copy link
Contributor

@candemiralp candemiralp commented Feb 16, 2026

Description

Adyen Giving enables Adyen merchants to accept donations after successful payments.

This PR unlocks Adyen Giving donations on headless integration. The flow can be can be completed with the following REST endpoints and GraphQl mutations.

REST

  • adyen/orders/carts/mine/donation-campaigns
  • adyen/orders/guest-carts/:cartId/donation-campaigns
  • adyen/orders/carts/mine/donations
  • adyen/orders/guest-carts/:cartId/donations

GraphQl

  • adyenDonationCampaigns
  • adyenDonate

Availability of the donation based on the /payments or /payments/details API responses having donationToken key. If donationToken key exists and store in the payment object, payment-status REST endpoint or adyenPaymentStatus GraphQl mutation returns a new boolean key indicating the availability canDonate.

If this flag is true, the headless frontend can make the corresponding call to obtain the donations. Then, this response can be passed to the donation component to mount Adyen Giving. To finalize the donation, newly implemented donations endpoints can be called on onDonate callback. Please visit Adyen Documentation for detailed explanation of Adyen Giving configuration.

@gemini-code-assist
Copy link
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@candemiralp candemiralp added the Feature Indicates a new feature addition label Feb 17, 2026
@candemiralp candemiralp marked this pull request as ready for review February 17, 2026 12:48
@candemiralp candemiralp requested a review from a team as a code owner February 17, 2026 12:48
@sonarqubecloud
Copy link

@candemiralp candemiralp merged commit fa939e9 into main Feb 23, 2026
9 of 10 checks passed
@candemiralp candemiralp deleted the ECP-8667 branch February 23, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Indicates a new feature addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants