digitickets/omnipay-tesco-clubcard
Composer 安装命令:
composer require digitickets/omnipay-tesco-clubcard
包简介
Tesco Clubcard driver for the Omnipay payment processing library
README 文档
README
UK- and Ireland Tesco Clubcard voucher redemptions driver for the Omnipay PHP payment processing library
Omnipay implementation Tesco Clubcard voucher redemption. Obviously it's not a payment gateway, but it behaves in a similar way.
Installation
Important: Driver requires PHP's Intl extension to be installed.
The Tesco Clubcard Omnipay driver is installed via Composer. To install, simply add it
to your composer.json file:
{
"require": {
"digitickets/omnipay-tesco-clubcard": "^2.1"
}
}
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
What's Included
There are drivers for UK (Rewards) vouchers and for the Ireland (Boost) vouchers.
What's Not Included
Basic Usage
For both drivers ("UK" and "Ireland") in this repo, there are voucher-type requests, namely validate, redeem and unredeem, and there is a subset of the normal "Omnipay" requests, namely authorize, purchase and refund.
Use the voucher-type requests when you're treating the vouchers as vouchers; use the "Omnipay" requests when you are treating them as payments.
For general Omnipay usage instructions, please see the main Omnipay repository.
UK SSL Verification
The CA bundle that comes with the HTTP Client in this driver is very old, and is not aware of the certificate that Tesco's UK API uses.
You therefore have to supply an alternative CA bundle, via the sslVerification parameter.
You can pass in false, which basically switches off verification but this is obviously insecure, so do not do it, except maybe while testing.
Support
If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.
If you believe you have found a bug in this driver, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
digitickets/omnipay-tesco-clubcard 适用场景与选型建议
digitickets/omnipay-tesco-clubcard 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 57.16k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2018 年 01 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「web」 「service」 「gateway」 「merchant」 「omnipay」 「voucher」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 digitickets/omnipay-tesco-clubcard 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 digitickets/omnipay-tesco-clubcard 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 digitickets/omnipay-tesco-clubcard 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
repository php library
Model of a web-based resource
Payyo Gateway for the Omnipay payment processing library
A fast and intuitive dependency injection container.
Registry service.
Retrieve a WebResourceInterface instance over HTTP
统计信息
- 总下载量: 57.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-25