marshmallow / payable
This package will make it possible to accept payments on all our laravel resources. This was orignaly build for our e-commerce package but can be used on anything.
Installs: 6 134
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 6
Requires
- php: ^8.1
- http-interop/http-factory-guzzle: ^1.2.0
- marshmallow/commands: ^1.2
- marshmallow/helpers: ^2.12
- marshmallow/nova-tinymce: ^2.1
- marshmallow/sluggable: ^1.4
- mollie/laravel-mollie: ^3.0
- multisafepay/php-sdk: ^5.4.0
- paypal/paypal-checkout-sdk: ^1.0.2
- stripe/stripe-php: ^7.87.0
Requires (Dev)
- orchestra/testbench: ^6.2
- phpunit/phpunit: ^9.5.20
- dev-main
- v2.x-dev
- v2.9.0
- v2.8.1
- v2.8.0
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.1
- v2.6.0
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.x-dev
- v1.16.1
- v1.16.0
- v1.15.2
- v1.15.1
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.1
- v1.12.0
- v1.11.0
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.1
- v1.8.0
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.0
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-hotfix/v2-cashier
- dev-hotfix/stripe
- dev-dependabot/composer/stripe/stripe-php-tw-7.87.0or-tw-13.0.0
- dev-dependabot/github_actions/actions/checkout-4
- dev-57-update-mollie-order-discounts
- dev-dependabot/github_actions/overtrue/phplint-8.2
- dev-development
- dev-dependabot/composer/orchestra/testbench-tw-6.2or-tw-6.0
This package is auto-updated.
Last update: 2024-11-15 13:06:43 UTC
README
Marshmallow Payable
This package will make it possible to accept payments on all our laravel resources. This was orignaly build for our e-commerce package but can be used on anything.
Installation
Composer
You can install the package via composer:
composer require marshmallow/payable
Publish Nova Resources
php artisan marshmallow:resource Payment Payable php artisan marshmallow:resource PaymentProvider Payable php artisan marshmallow:resource PaymentType Payable
Events
PaymentStatusOpen::class PaymentStatusPaid::class PaymentStatusFailed::class PaymentStatusCanceled::class PaymentStatusExpired::class PaymentStatusRefunded::class PaymentStatusUnknown::class
Usage
MOLLIE_KEY="test_*****" MULTI_SAFE_PAY_KEY="*****" PAYABLE_TEST_PAYMENTS=true
Prepare your models
Add the Payable
trait to your model that should support payments.
Providers
Multisafe pay
- Simple checkout
- Complex checkout
Mollie
- Simple checkout
- Complex checkout
Tests
Test mollie simple checkout
\Marshmallow\Payable\Facades\PayableTest::mollie($test = false, $api_key = 'live_xxxx');
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.