beebmx/kirby-pay

This package is abandoned and no longer maintained. No replacement package was suggested.

Kirby Pay

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 33

Watchers: 5

Forks: 2

Open Issues: 2

Type:kirby-plugin

1.3.0 2020-10-13 16:58 UTC

This package is auto-updated.

Last update: 2023-12-06 23:14:26 UTC


README

68747470733a2f2f626565626d782e6769746875622e696f2f6b697262792d7061792f696d616765732f6c6f676f2e737667

Build Status Latest Stable Version License

Kirby Pay

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

Installation

Composer

composer require beebmx/kirby-pay

Usage

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>

Disclaimer

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.

Credits

License

Licensed under the MIT license, see LICENSE.md for details.