oxid-esales / stripe-module
Oxid 6 Stripe支付模块
v2.0.2
2024-02-09 08:58 UTC
Requires
- stripe/stripe-php: ^13
Conflicts
- oxid-esales/oxideshop-ce: <7.0
This package is auto-updated.
Last update: 2024-09-20 11:20:56 UTC
README
安装
-
打开shell并切换到商店的根目录(composer.json文件所在的位置)。
示例
cd /var/www/oxideshop/
-
执行以下命令
composer require oxid-esales/stripe-module
composer require stripe/stripe-php
激活
激活模块有两种方式
-
通过Shell
vendor/bin/oe-console oe:module:install source/modules/osc/stripe
vendor/bin/oe-console oe:module:activate stripe
-
通过管理后台
导航到 : Admin > 扩展 > 模块 > Stripe支付 > 点击 "激活"
配置
激活后使用模块
导航到 : Admin > 扩展 > 模块 > Stripe支付 > 设置
- 基本配置
- 设置操作模式
- 使用相应的OnBoarding按钮连接到Stripe并自动填写token/公钥字段。
- 填写私钥字段以允许强制创建Webhook。 在此处您需要输入连接账户的私钥,而不是onboarding主令牌。
在此点保存配置。
-
Webhooks
- 使用 "创建Webhooks" 按钮生成Webhook并在配置中注册。
-
状态映射、Cronjob和其他未提及的配置是可选的,且不言自明。
然后可以像激活其他Oxid支付方式一样激活支付方式。