sopinet / kj-payment-stripe-bundle
Payment Bundle providing access to the Stripe API
Installs: 215
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 5
Type:symfony-bundle
Requires
- php: >=5.3.2
- jms/payment-core-bundle: dev-master
- stripe/stripe-php: dev-master
Requires (Dev)
- symfony/browser-kit: *
- symfony/finder: ~2.0,>=2.0.5|~3.0.0
This package is not auto-updated.
Last update: 2025-01-09 07:56:47 UTC
README
Payment Bundle providing access to the Stripe API
Installation
composer
composer require sopinet/kj-payment-stripe-bundle
AppKernel
add to AppKernel:
new KJ\Payment\StripeBundle\KJPaymentStripeBundle(),
config.yml
// app/config/config.yml kj_payment_stripe: api_key: sk_test_blablabla # ApiKey from Stripe api_version: "2016-07-06" # Last version from Stripe
Configuration in JMSPaymentBundle
You need add: "stripe_card_credit" method to your JMSPaymentBundle form
Optional: configure form for credit card
You can use full form for credit card by default, with address options and others.
But you can configure another minimal form too, you can override this parameter so:
payment.form.stripe_credit_card_type.class: KJ\Payment\StripeBundle\Form\StripeCreditCardMinimumType
By last, you could to do your own form too