mediaarea/kj-payment-stripe-bundle
最新稳定版本:1.1.1
Composer 安装命令:
composer require mediaarea/kj-payment-stripe-bundle
包简介
Payment Bundle providing access to the Stripe API
关键字:
README 文档
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
统计信息
- 总下载量: 5.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-19