beebmx / kirby-pay
Kirby Pay
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 33
Watchers: 5
Forks: 2
Open Issues: 2
Type:kirby-plugin
Requires
- php: ^7.3
- brick/money: ^0.4.4
- conekta/conekta-php: ^4.2
- fzaninotto/faker: ^1.9
- getkirby/composer-installer: ^1.1
- illuminate/support: ^7.7
- ramsey/uuid: ^4.0
- stripe/stripe-php: ^7.28
Requires (Dev)
- getkirby/cms: ^3.4
- phpunit/phpunit: ^8.5
README
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
- Fernando Gutierrez @beebmx
- jonatanjonas (logo)
- All Contributors
License
Licensed under the MIT license, see LICENSE.md for details.