beebmx/kirby-pay

Kirby Pay

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 31

Watchers: 5

Forks: 3

Open Issues: 2

Type:kirby-plugin

1.3.0 2020-10-13 16:58 UTC

This package is auto-updated.

Last update: 2022-01-06 07:45:40 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.