Download the PHP package iulyanp/stripe-bundle without Composer
On this page you can find all versions of the php package iulyanp/stripe-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package stripe-bundle
IPStripeBundle
This is a symfony bundle that implements payment with Stripe library.
Requirements
The version
0.1.0
requires that you'll have already installed AsseticBundle.
Why to use it?
The most important thing you need to know when you choose to use this bundle is that your customer card information are safe. This means that the sensible information about the client credit card will never touch your servers.
Installation
Require the bundle
Update AppKernel.php
Add bundle routes to app/config/routing.yml file
Configure the bundle
Configure where to redirect after success payment
By default after success the bundle will redirect you to ip_stripe_success
route.
If you want to change this you just need to override the route_success
parameter and set the correct route for you.
Configure the success payment template
By default the success template is set to 'IPStripeBundle:Stripe:success.html.twig'
twig template.
To override it you just need to add success_template
in your parameters.yml
file.
Change the stripe payment form template
By default the stripe payment form template is set to 'IPStripeBundle:Stripe:charge.html.twig'
twig template.
To override it you just need to add view_template
in your parameters.yml
file.
Example: Overriding The Default layout.html.twig¶
It is highly recommended that you override the Resources/views/layout.html.twig template so that the pages provided by the IPStripeBundle have a similar look and feel to the rest of your application. The following Twig template file is an example of a layout file that might be used to override the one provided by the bundle.
All versions of stripe-bundle with dependencies
symfony/monolog-bundle Version ^2.8
symfony/assetic-bundle Version ^2.8
stripe/stripe-php Version ^3.14