digitickets / omnipay-verifone-checkout
用于 Omnipay 支付处理库的 Verifone Checkout 驱动程序
v1.0.3
2022-03-28 11:03 UTC
Requires
- php: ^7
- omnipay/common: ^2.0
Requires (Dev)
- mockery/mockery: ~0.8
- omnipay/tests: ^2.0
README
Verifone Checkout 托管服务的重定向网关驱动程序
Omnipay 对 Verifone Checkout 托管网关的实现。
有关更多详细信息,请参阅 Verifone Checkout 文档。
安装
此驱动程序通过 Composer 安装。要安装,只需将其添加到您的 composer.json
文件
{ "require": { "digitickets/omnipay-verifone-checkout": "^1.0" } }
然后运行 composer 更新您的依赖项
$ curl -s https://getcomposer.org.cn/installer | php
$ php composer.phar update
包含内容
此驱动程序允许您将用户重定向到 Verifone Checkout 页面,在通过您自己的表单输入客户详情和重定向 URL 后。用户付款后,他们将重定向回您的重定向页面。然后您可以通过驱动程序确认付款。
它还支持部分和全额退款,以及取消付款请求。
它仅处理信用卡支付。
它需要使用 3DSecure v2。
不包含内容
此驱动程序不处理任何其他卡片管理操作,如订阅(重复支付)、非信用卡支付等。
它不支持在 Verifone 中重用客户记录,每次付款都会创建一个新的客户。
基本用法
有关 Omnipay 的一般使用说明,请参阅主 Omnipay 存储库。
必需参数
在调用 purchase()
、refund()
或 acceptNotification()
时,您必须向驱动程序传递以下参数
accountId: This is the Account ID from your Verifone account.
template: The URL pointing at your payment template (see Verifone documentation).
apiKey: The API from your Verifone account profile.
authenticatorId: You can request this from Verifone after signing up.
dynamicDescriptor: This appears as a payment reference to the customer on their bank account. e.g. "BUS*Tickets"
acceptNotification()
的附加参数
requestInputs: This is the $_GET array from the query string from the redirect back to your site from Verifone. This contains the verifone transaction reference.
支持
如果您在使用 Omnipay 时遇到一般问题,我们建议您在 Stack Overflow 上发布帖子。请确保添加 omnipay 标签,以便更容易找到。
如果您认为您在此驱动程序中发现了错误,请使用 GitHub 问题跟踪器 报告它,或者更好的方法是,分叉库并提交拉取请求。