Overlabels

Reference

143 entries
Integration Controls

Ko-fi controls

Ko-fi controls

Ko-fi provisions 6 controls when you connect it. They are filled in automatically and stay up to date; you read them, Overlabels writes them.

Reference them anywhere a tag works, using the c:kofi: prefix.

Controls

Tag Type Default Holds
[[[c:kofi:donations_received]]] counter 0 Ko-fi Donations Received
[[[c:kofi:latest_donor_name]]] text empty Latest Donor Name
[[[c:kofi:latest_donation_amount]]] number 0 Latest Donation Amount
[[[c:kofi:latest_donation_message]]] text empty Latest Donation Message
[[[c:kofi:latest_donation_currency]]] text empty Latest Currency
[[[c:kofi:total_received]]] number 0 Total Ko-fi Amount (session)

Events that update them

donation, subscription, shop_order, commission

Notes

  • These are service-managed controls. Setting one by hand through the dashboard or the API returns a 403 - the integration owns the value.
  • Referencing one in a template declares that dependency. Someone who copies the template without Ko-fi connected is warned, not blocked, and it starts working the moment they connect.
  • The shared keys above are identical across every donation integration, so swapping the prefix ports a template between services. See all-integration-controls.

Generated from the Ko-fi driver by php artisan help:build-integration-controls. Do not edit by hand - your changes will be overwritten.