tomaj/omnipay-tatra
Composer 安装命令:
composer require tomaj/omnipay-tatra
包简介
Tatrabank driver for the Omnipay payment processing library
README 文档
README
ComfortPay
ChargeRequest
Method to create transaction with registered card.
Parameters:
transactionId(required) - Unique ID of transactionparentTransactionId(optional) - Unique ID of parent transaction. Mandatory for transactionType PREAUTH-CONFIRM, PREAUTH-CANCEL and CHARGEBACKtransactionType(required) - transaction type, allowed options: PURCHASE, PREAUTHORIZATION, PREAUTH-CONFIRM, PREAUTH-CANCEL, CHARGEBACKreferedCardId(required) - The registration ID of cardws(required) - Merchant IDterminalId(required) - Terminal IDamount(required) - Amount of transactioncurrency(required) - Currency of transaction (ISO 4217 currency codes)vs(required if e2eReference is empty) - Variable symbolss(required if e2eReference is empty) - Specific symbole2eReference(required if vs and ss are empty) - E2E referencesubmerchantId(required only if sending IPSPS Data)- IPSP Data - Submerchant IDlocation(required only if sending IPSPS Data) - IPSP Data - Location, string max length 25 symbolscity(required only if sending IPSPS Data) - IPSP Data - city, string max length 13 symbolsalpha2CountryCode(required only if sending IPSPS Data) - IPSP Data - ISO 3166-1 alpha-2 code
Return:
CardTransactionResponse
transactionId- Unique ID of transactiontransactionStatus- Status code of transaction (see transaction's status codes)transactionApprova- Autorization code
CheckCardRequest
Method to check the status of registered card.
Parameters:
idOfCard- The registration ID of card
Return:
CheckCardResponse
status- (OK, FAIL, UNKNOWN)
TransactionStatusRequest
Method to check the status of transaction.
Parameters:
transactionId- Unique ID of transaction
Return:
CardTransactionResponse
transactionId- Unique ID of transactiontransactionStatus- Status code of transaction (see transaction's status codes)transactionApproval- Autorization code
ListOfExpiredRequest
Method to get the list of expired cards with expiration date after requested one.
Parameters:
expDate(required) - Expiration date (format: YYYYMMDD)
Return:
ListOfExpiredResponse
list- array of card ids
ListOfExpiredPerIdRequest
Method to get the expiration date of cards specified in request.
Parameters:
listOfIdCards- array of card registration IDs (max 1000)
Return:
ListOfExpiredPerIdResponse
listOfIdCards- array of pairs idOfCard and expiration date
UnRegisterCardRequest
Method to unregister comfortpay card
Parameters:
cardId- card identifier
Return:
UnRegisterCardResopnse n/a
Transaction's status codes
| Transaction status code | Description | Result |
|---|---|---|
| <0 | Not finished yet | InProgress |
| 00 | Approved | Approve |
| 04 | Pick up card | Pickup |
| 05 | Do not honour | Decline |
| 14 | Invalid card number | Decline |
| 51 | Not sufficient funds | Decline |
| 54 | Expired card | Decline |
| 57 | Transaction not allowed for cardholder | Decline |
| 61 | Exceeds withdrawal amount limit | Decline |
tomaj/omnipay-tatra 适用场景与选型建议
tomaj/omnipay-tatra 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 109.42k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2016 年 11 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「payment」 「pay」 「gateway」 「merchant」 「omnipay」 「tatrapay」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tomaj/omnipay-tatra 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tomaj/omnipay-tatra 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tomaj/omnipay-tatra 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
repository php library
Payyo Gateway for the Omnipay payment processing library
Библиотека для приема платежей через Альфабанк.
Some pre-defined rules for validation in Omnipay payment processing library.
BluePay gateway for the Omnipay payment processing library
支付宝接口扩展包
统计信息
- 总下载量: 109.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 14
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-24