i-lateral/silverstripe-checkout-stripe
Composer 安装命令:
composer require i-lateral/silverstripe-checkout-stripe
包简介
Silverstripe module that add's Stripe payment integration to the checkout module
README 文档
README
Adds Stripe payment option to the checkout module.
Dependancies
Installation
Either install via composer:
i-lateral/silverstripe-checkout-stripe: *
Or download and install to the "checkout-stripe" directory in your project root.
Setup
Once installed you will need to add your API Keys (found in Stripe under "Account Settings").
Add all four these via Silverstripe config:
YML
StripePayment:
test_secret_key: test_xyz
test_publish_key: test_xyz
live_secret_key: live_xyz
live_publish_key: live_xyz
PHP
StripePayment::config()->test_secret_key = "test_xyz";
StripePayment::config()->test_publish_key = "test_xyz";
StripePayment::config()->live_secret_key = "live_xyz";
StripePayment::config()->live_publish_key = "live_xyz";
Now enable the stripe payment by logging into the CMS then visiting global site settings.
Now click the "Checkout" tab and under payment methods click "Add".
Now then select "Stripe" from the dropdown.
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-03-17