SerendipityHQ Stripe Bundle integrates your Symfony 2 app with the Stripe payment service.
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 one too!
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.
- PHP ^7.1
Status: ACTIVE DEVELOPMENT
This bundle is currently in development mode. We use it in our live projects and so we try to maintain it in good health.
Currently not all Stripe's API features are implemented, only the ones we currently need and can test on the wild.
It is as stable as possible. If you, using it, find bugs or scenarios not covered, please, open an issue describing the problem.
All issues are reviewd and fixed.
If you have a feature request, equally, please, open an issue and we will review it and evaluate if it may be implemented.
Thank you for your collaboration.
You can read how to install, configure, test and use the SerendipityHQ Stripe Bundle in the documentation.