performant_labs / stripe
Stripe
dev-master
2020-08-20 00:31 UTC
Requires
- stripe/stripe-php: ^6.0
This package is auto-updated.
Last update: 2024-09-20 09:43:42 UTC
README
描述
这是一个开发模块,提供了集成 Stripe 与 Drupal 8 所需的基本元素和需求。它包含必要的库依赖和资源。
查看 stripe_examples 模块以获取此模块暴露的功能的简单实现。
需求
- Drupal 8.x
安装
composer require drupal/stripe
测试
配置
登录到您的 Stripe.com 账户并访问“账户设置”区域。点击“API 密钥”图标,然后复制测试密钥(Test Secret Key)、测试发布密钥(Test Publishable Key)、生产密钥(Live Secret Key)和生产发布密钥(Live Publishable Key),并将这些值粘贴到模块配置下 admin/config/stripe。