flux-se/payum-stripe

Payum Stripe 网关

v2.0.16 2024-06-25 10:05 UTC

README

Latest Version on Packagist Software License Build Status Quality Score codecov

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 库一起使用什么?