flux-se / payum-stripe
Payum Stripe 网关
v2.0.16
2024-06-25 10:05 UTC
Requires
- payum/core: ^1.6
- stripe/stripe-php: ^12
Requires (Dev)
- ext-curl: *
- ext-json: *
- php-http/guzzle7-adapter: ^1.0
- php-http/message-factory: ^1.1
- phpstan/phpstan: ^1
- phpunit/phpunit: ^8|^9
- symplify/easy-coding-standard: ^11
- dev-master / 2.0.x-dev
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-RC.2
- v2.0.0-RC.1
- 1.2.x-dev
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.0.1
- dev-consume-capture-token
This package is auto-updated.
Last update: 2024-08-27 15:02:54 UTC
README
Payum Stripe 网关
这个库旨在为 Payum 添加网关以支持 Stripe 结账会话(带 SCA 支持)和 Stripe JS 使用 Stripe JS Elements。
除了网关,您还可以使用此库通过 Request
类直接调用 Stripe API:(All|Create|Delete|Retrieve|Update)*.php,它们使用相关的动作:(All|Create|Delete|Retrieve|Update)*Action.php。您还可以构建自己的 Request/Action
类以满足您的需求。
如果您使用的是 Symfony,请使用此包:flux-se/payum-stripe-bundle
如果您使用的是 Sylius,请使用此插件:flux-se/sylius-payum-stripe-plugin
安装
使用 Composer 安装
composer require flux-se/payum-stripe
选择以下之一 php-http/client-implementation,最常用的是 php-http/guzzle7-adapter
composer require php-http/guzzle6-adapter
网关配置
-
支持
您还可以使用
Payum\Core\Request\Cancel
来取消PaymentIntent
。
您还可以使用Payum\Core\Request\Refund
来退款PaymentIntent
。 -
支持
您还可以使用
Payum\Core\Request\Cancel
来取消PaymentIntent
。
您还可以使用Payum\Core\Request\Refund
来退款PaymentIntent
。
更多
与这个 payum 库一起使用什么?
- Symfony 包:flux-se/payum-stripe-bundle
- Sylius 插件:flux-se/sylius-payum-stripe-plugin