Skip to content

Dankon

Dankon adds an optional tip or donation control to the WooCommerce checkout. The customer picks a preset amount, a percentage of their order or a fixed figure, and the tip is added to the order totals as a native WooCommerce fee, recalculated live through the checkout’s own AJAX. “No tip” is preselected, so the control is fully opt-in.

Cafés, service businesses, charities and creators want a clean way to accept a little extra at checkout without bolting on a heavy donation plugin. Dankon uses a standard WooCommerce fee, no custom totals logic, so the tip flows through order totals, emails and reports the same way shipping or a discount does. The free edition is the full GPL product, not a trial with hidden limits.

  • Preset tip amounts, either percentages of the cart subtotal (5, 10, 15 > 5%, 10%, 15%) or fixed currency values (2, 5, 10).
  • Native WooCommerce cart fee, the tip shows in totals, on the order, in emails and in reports.
  • Live totals, choosing an amount recalculates the checkout through WooCommerce’s update_checkout AJAX; percentage tips track the live subtotal.
  • Editable label and description, the heading and supporting line shown above the buttons.
  • Opt-in by default, “No tip” is preselected and the tip is added as a non-taxable fee.
  • Renders nothing when unusable, disabled, or enabled with no presets, means no markup and no assets on the storefront.
  • Accessible buttons, native <button> controls with aria-pressed, a visible focus ring, an aria-live status line and prefers-reduced-motion handling.
  • Order audit meta, the applied amount is saved as _tipping_amount on the order.

Dankon registers a fee on woocommerce_cart_calculate_fees. The customer’s choice is stored in the WooCommerce session over a nonce-protected AJAX call, then the checkout recalculates and the fee appears in the totals. A percentage preset is computed from the pre-tip, tax-exclusive items subtotal each time totals are calculated, so it never goes stale if the cart changes. At checkout the resolved amount is written to the order as _tipping_amount meta for auditing, the tip itself is already part of the totals as a fee.

The control is added to the classic (shortcode) checkout at woocommerce_review_order_before_payment, just above the payment methods. Dankon declares compatibility with WooCommerce HPOS and the Cart/Checkout Blocks feature, but the control’s render hook is a classic-checkout hook: on a block-based checkout the fee logic still runs if a selection exists, but the buttons are not rendered.

  • Free and GPL, in preparation for the WordPress.org directory, percentage or fixed presets, live totals, editable copy, order meta.
  • Pro, round-up tipping, tip goals, recipient splitting, tip reports and post-purchase tipping. See Configuration for the hooks Pro builds on.

Dankon Pro is the premium edition for Dankon. It is an add-on that requires the free Dankon plugin installed and active; it is distributed through Freemius (licensing, activation and automatic updates), not the WordPress.org directory.

Dankon Pro extends the free checkout tip control. It does not work on its own. If the free plugin is missing, deactivated, or older than the required version, Dankon Pro stays dormant and shows an admin notice instead of booting.

  • Round-up tip, offer a one-click option to round the order total up to the nearest whole amount (or any currency multiple) as a tip via RoundUp and the tipping/fee_amount filter.
  • Tip goal progress bar, show a fundraising thermometer on checkout with a configurable target, message tokens ({raised}, {goal}, {remaining}, {percent}) and totals from processing and completed tipped orders via TipGoalBar and TipGoalProgress.
  • Recipient splitting, let shoppers choose which cause or recipient their tip supports via RecipientSplitting and free hooks tipping/recipients and tipping/control_before_options.
  • Tip reports, break down tips by period, preset and recipient with CSV export via TipReports under WooCommerce > Tip Reports.
  • Post-purchase tipping, invite a tip on the order thank-you page via PostPurchaseTipping. Tips are collected through a separate pending order linked to the original purchase.
Screen Purpose
WooCommerce > Dankon Tips Free tip presets, label and description; PRO Round-up tipping (Pro), Tip goal progress (Pro), Recipient splitting (Pro) and Post-purchase tipping (Pro) sections.
WooCommerce > Tip Reports PRO totals by period, preset and recipient with CSV export.
  • WordPress 6.5 or later
  • PHP 8.1 or later
  • WooCommerce 8.0 or later
  • The free Dankon plugin, version 0.1.2 or later, installed and active
  • Getting started, install, enable, set your presets, verify on the checkout.

Free and PRO

Dankon Pro is a separate paid plugin that extends Dankon. The free edition is not a trial and its features stay available without a time limit.

FeatureFreePRO
Preset amountsYesYes
No tip by defaultYesYes
Native feeYesYes
Live totalsYesYes
Accessible controlYesYes
Round-up tip-Yes
Tip goals and progress bars-Yes
Recipient / cause splitting-Yes
Tip reports-Yes
Post-purchase tipping-Yes