Subscription Invoice PDF

Klub can redirect members to a provider-hosted invoice or transaction preview for a subscription. Use this page if you want a "download invoice" link in account views.

Request an invoice preview

<form method="post" action="<?= site()->url() ?>/klub/invoice/<?= $subscriptionId ?>">
  <input type="hidden" name="token" value="<?= csrf() ?>">
  <input type="hidden" name="redirect" value="<?= url('account') ?>">
  <button type="submit">View invoice</button>
</form>

Provider support

Invoice previews are supported by:

  • Stripe
  • Chargebee
  • PayPal (links to subscription transaction details)
  • Paddle

For other providers the endpoint falls back to the redirect URL.

Kirby Klub is not affiliated with the developers of Kirby CMS. We are merely standing on the shoulder of giants.
© 2026 Bruno Meilick All rights reserved.