serendipity_hq / stripe-bundle
A set of utilities to integrate Stripe into Symfony.
Installs: 1 389
Dependents: 0
Suggesters: 0
Security: 0
Stars: 17
Watchers: 2
Forks: 6
Open Issues: 25
Type:symfony-bundle
Requires
- php: ^8.1
- ext-json: *
- doctrine/orm: ^2.5
- serendipity_hq/component-value-objects: ^7.1.1
- stripe/stripe-php: ^7.52 || ^8.0 || ^9.0 || ^10.0
- symfony/event-dispatcher: ^4.4|^5.4|^6.0
- symfony/framework-bundle: ^4.4|^5.4|^6.0
- symfony/translation: ^4.4|^5.4|^6.0
- thecodingmachine/safe: ^1.0|^2.0
Requires (Dev)
- ext-ast: *
- bamarni/composer-bin-plugin: ^1.4
- doctrine/common: ^2.8 || ^3.0
- doctrine/doctrine-bundle: ^1.7 || ^2.0
- monolog/monolog: ^1.23 || ^2.0
- phpdocumentor/reflection-docblock: ^5.2
- phpstan/phpstan: 1.10.15
- phpstan/phpstan-doctrine: 1.3.40
- phpstan/phpstan-phpunit: 1.3.4
- phpstan/phpstan-symfony: 1.3.1
- rector/rector: 0.15.16
- roave/security-advisories: dev-master
- serendipity_hq/component-var-dumper-f: ^2.1.1
- serendipity_hq/rector-config: ^1.0
- symfony/console: ^4.4|^5.4|^6.0
- symfony/css-selector: ^4.4|^5.4|^6.0
- symfony/dom-crawler: ^4.4|^5.4|^6.0
- symfony/form: ^4.4|^5.4|^6.0
- symfony/http-client: ^4.4|^5.4|^6.0
- symfony/var-dumper: ^4.4|^5.4|^6.0
- symfony/yaml: ^4.4|^5.4|^6.0
- thecodingmachine/phpstan-safe-rule: 1.2.0
- dev-dev
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.0
- 0.0.13
- 0.0.12
- 0.0.11
- 0.0.10
- dev-dependabot/composer/vendor-bin/phpunit/dev/vimeo/psalm-5.14.1
- dev-dependabot/composer/vendor-bin/phpunit/dev/symfony/phpunit-bridge-6.3.2
- dev-dependabot/github_actions/dev/shivammathur/setup-php-2.25.5
- dev-dependabot/composer/dev/phpstan/phpstan-1.10.26
- dev-dependabot/composer/vendor-bin/phpcs/dev/friendsofphp/php-cs-fixer-3.22.0
- dev-dependabot/composer/vendor-bin/phpunit/dev/weirdan/doctrine-psalm-plugin-2.9.0
- dev-dependabot/composer/vendor-bin/phpunit/dev/phpunit/phpunit-9.6.10
- dev-dependabot/composer/dev/rector/rector-0.17.1
- dev-dependabot/composer/dev/phpstan/phpstan-phpunit-1.3.13
- dev-dependabot/composer/dev/phpstan/phpstan-symfony-1.3.2
- dev-master
This package is auto-updated.
Last update: 2023-08-04 08:45:24 UTC
README
Warning
This bundle is deprecated and will not be maintained anymore.
Stripe has become a very complex App and is not useful anymore to maintain a bundle for it.
The best alternative is to implement the desired features directly in your app.
You can anyway use the code in this repository as a starting point for your own custom implementation.
Please, refer to the official Stripe PHP SDK for further info.
Serendipity HQ Stripe Bundle
Integrates your Symfony app with the Stripe payment service.
Current Status
Features
SerendipityHQ Stripe Bundle gives you the ability to perform common tasks calling the Stripe's API and exposes an endpoint to which you can receive the notifications sent by Stripe via Webhooks.
Do you like this bundle?
LEAVE A ★
or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!
How to use the Serendipity HQ Stripe Bundle
SerendipityHQ Stripe Bundle persists all the communications between your app and the Stripe's API so you ever have a local copy of them, without needing to communicate with the API to retrieve relevant information. This makes your app able to perform a lot of tasks also if there are issues with the Stripe's API (very rare, but anyway possible). Maintain these information as a local copy is considered a best practice, so you should do it.
SerendipityHQ Stripe Bundle fires events for each possible action, so you can hook them to make you app able to react to them. For example, if the endpoint receives a Refund Event from the Stripe's API, your app can update the subscription of the Customer's refunded card.
SerendipityHQ Stripe Bundle contains the code to incorporate a form on your pages from which you can get the credit cards details, send them in a Stripe's secured SSL channel (also if your app hasn't SSL encryption enabled!) and save its representation on the database for later charge.
See the documentation for the full list of features.
DOCUMENTATION
You can read how to install, configure, test and use the SerendipityHQ Stripe Bundle in the documentation.
Do you like this bundle?
LEAVE A ★
or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!