dachcom-digital/payum-postfinance
Composer 安装命令:
composer require dachcom-digital/payum-postfinance
包简介
PostFinance Ecommerce for Payum
README 文档
README
Important Information
PostFinance fires the callback page twice if the user clicks the "abort" or "ok" button. You need to implement a custom HttpRequestVerifierBuilder like here to disable the token invalidation!
PostFinance Backend Configuration
- In the Global Security Parameters tab, choose "each parameter followed by the passphrase."
- The Hash algorithm needs to be SHA-512
- Make sure to provide an SHA-IN pass phrase in "data and origin verification" tab
- Check "I would like to receive transaction feedback parameters on the redirection URLs and supply a SHA-OUT pass phrase." in "Transaction feedback"
Server To Server
You may want to enable the server-to-server functionality:
Go to "Transaction feedback" and set "Direct HTTP server-to-server request" to "Always deferred (not immediately after the payment)." for example.
In both URL fields you need to add http://your-domain.com/payment/notify/<PARAMVAR>. Note the <PARAMVAR> var. It gets replaced by postFinance.
Important: Set "Request method" to "GET" since the notifyAction only listens to the request query.
Offline Authorisation
If you have enabled "Authorisation" in "Global transaction parameters -> Default Operation Code", you need to enable the request for status changes: Go to "Transaction feedback -> HTTP request for status changes" and set "Timing of the request" to "For each offline status change (payment, cancellation, etc.)." In the URL field add the same url as in section "HTTP server-to-server request".
Language Parameter
The LANGUAGE Parameter cannot be set in the ConvertPaymentAction since there is no general language getter available in Payum.
To add this field you need to add a custom Extension (Check this file to get the Idea).
Required Parameters
These Fields are required:
environment(default 'Test')shaInPassphraseshaOutPassphrasepspid
Optional Parameters
You can pass optional parameters to the optionalParameters config node.
You'll find all available fields here.
To-Do
- Handle deprecated tokens?
Copyright and License
Copyright: DACHCOM.DIGITAL For licensing details please visit LICENSE.md
v2.0.0
- Bump dependencies, code improvements
dachcom-digital/payum-postfinance 适用场景与选型建议
dachcom-digital/payum-postfinance 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.93k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 12 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「ecommerce」 「payment」 「postfinance」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dachcom-digital/payum-postfinance 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dachcom-digital/payum-postfinance 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dachcom-digital/payum-postfinance 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP library for handling PostFinance E-Payments
Nevogate Payment Gateway SDK
PostFinance Flex Ecommerce for Payum
Dealing with payments through the Egyptian payment gateway PayMob
CoreShop - PostFinance Bundle
统计信息
- 总下载量: 2.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 9
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2017-12-29