KJPaymentStripeBundle
Payment Bundle providing access to the Stripe API, (*1)
Installation
composer
composer require sopinet/kj-payment-stripe-bundle, (*2)
AppKernel
add to AppKernel:, (*3)
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, (*4)
You can use full form for credit card by default, with address options and others., (*5)
But you can configure another minimal form too, you can override this parameter so:, (*6)
payment.form.stripe_credit_card_type.class: KJ\Payment\StripeBundle\Form\StripeCreditCardMinimumType
By last, you could to do your own form too, (*7)