Kirby Pay offers a painless and easy way to create payments for Kirby, with many things to customize if you want.
See the docs for everything: https://beebmx.github.io/kirby-pay
composer require beebmx/kirby-pay
After you install the package just include the snippets and set the items (products or services) to sell:
<header>
<meta name="csrf-token" content="<?= csrf() ?>">
<?php snippet('kirby-pay.styles') ?>
</header>
<body>
<?php
snippet('kirby-pay.payment', [
'items' => [
['name' => 'Product 001', 'amount' => 20.00, 'quantity' => 1],
['name' => 'Product 002', 'amount' => 10.00, 'quantity' => 2],
],
]);
?>
</body>
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment.
- Fernando Gutierrez @beebmx
- jonatanjonas (logo)
- All Contributors
Licensed under the MIT license, see LICENSE.md for details.