Install

Works with Drupal: ^11.1 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 36.7 KB
MD5: 8fabd047e07ec58d3894dc549100629f
SHA-1: 41a4b8bb4a8879ebecb6453c2c5920cc0396dbbc
SHA-256: d70f83c46273199b77ee8fd93a34e0bc13c2f15127a89d76eee68262896c2240
Download zip 51.42 KB
MD5: 0ef54d3d81f355c16e8336c475679b1c
SHA-1: 7650e92d26f63320d100798e64a8d13d1f0720c3
SHA-256: 8da932acfd5976846481d8ae28c29fc5227a77c9931082761c5cf531f019b2f2

Release notes

First alpha release of PayPal Coffee, a "buy me a coffee" tip jar block for PayPal Checkout. Requires Drupal 11.1 or later and is Drupal 12 compatible.

Features

  • Tip jar block for Block layout, Layout Builder and Canvas, with a coffee quantity picker (quick choices or any number) and a live total.
  • Full PayPal button, or a compact coffee icon (optionally with the PayPal logo) that loads PayPal only when clicked.
  • Small, medium and large sizes, 24 PayPal currencies, and optional card payments.
  • Verified mode (optional, client secret in settings.php):
    • Server-side PayPal Orders v2 checkout with signed prices. Only orders created by your site are captured.
    • Donations recorded as entities, with an admin list, moderation and Views integration.
    • Goal progress bar (monthly or all time) and an opt-in supporter wall.
    • Named tip jars that share goals across blocks.
  • Accessible, themeable with CSS custom properties and Twig, and no external PHP library.

Getting started

  1. Enter your PayPal client ID at Configuration » Web services » PayPal Coffee. Use test to try the sandbox.
  2. Optionally add $settings['paypal_coffee.client_secret'] to settings.php for verified mode.
  3. Place the PayPal Coffee Button block.

Alpha notes

  • Verified mode has automated test coverage against a mocked PayPal API. Please report any issues found with real PayPal sandbox or live credentials.
  • Configuration and the donation entity may still change before 1.0.0, and upgrade paths between alpha releases are not guaranteed.
  • Recurring donations are not supported.

Report bugs and request features in the issue queue.

Created by: jamestarleton
Created on: 16 Nov 2026 at 00:50 UTC
Last updated: 16 Nov 2026 at 00:50 UTC
New features

Other releases