autumndev/omnipay-verifone-web-service 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

autumndev/omnipay-verifone-web-service

Composer 安装命令:

composer require autumndev/omnipay-verifone-web-service

包简介

Verifone (Ocius) Web Service driver for the Omnipay payment processing library

README 文档

README

Forked from digitickets/omnipay-verifone-web-service in order to add extra functionality

Verifone Web Service driver for the Omnipay PHP payment processing library

Omnipay implementation of the Verifone (Commidea) Web Service payment gateway.

Build Status Latest Stable Version Total Downloads

This driver supports the remote Verifone Payment Gateway (Web Service). Payment information is sent and received via XML messages.

Installation

Important: Driver requires PHP's Intl extension to be installed.

The Verifone Omnipay driver is installed via Composer. To install, simply add it to your composer.json file:

{
    "require": {
        "autumndev/omnipay-verifone-web-service": "~1.0"
    }
}

And run composer to update your dependencies:

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

What's Included

This driver was originally written to support Session-Based transactions (except for refunds, which are non session-based and were implemented). We then realised that Session-based didn't work for us, so Non Session-Based was implemented.

The driver registers a token when any purchase is made. This means repeat payments will be available on any payments, although actually making repeat payments is not yet implemented.

What's Not Included

It does not currently support PAYERAUTH.

The Session-based code wasn't completely finished, although it does work as it is. Ideally the token registration and confirm/reject messages need to be handled inside the purchase/refund request classes.

Basic Usage

This driver supports the following processes to handle transactions and refunds:

Non Session-based

Purchase Request (Transaction Request) -> Purchase Response (plus confirm/reject request)

Refund Request (Transaction Request) -> Refund Response (plus confirm/reject request)

Session-based

Generate Session Request -> Generate Session Response
-> <card form submission to Verifone>
-> Get Card Details Request -> Get Card Details Response
-> Token Registration Request -> Token Registration Response [optional step]
-> Purchase Request -> Purchase Response
Then one of:
-> Confirm Request -> Confirm Response
or
-> Reject Request -> Reject Response

For general Omnipay usage instructions, please see the main Omnipay repository.

Example Send Request

//build and config gateway
$gateway = Omnipay::create(
    '\Autumndev\VerifoneWebService\SessionBasedGateway'
);
$gateway->setTestMode(true);
$gateway->setPasscode($passcode);
$gateway->setSystemGuid($guid);
$gateway->setSystemId($systemId);
//build and configure request
$session = $gateway->generateSession([
    'returnurl' => 'SOME URL',
    'fullcapture' => true
]);
//send request, recieve response.
$response = $session->send();

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.

autumndev/omnipay-verifone-web-service 适用场景与选型建议

autumndev/omnipay-verifone-web-service 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 139 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 10 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「payment」 「web」 「pay」 「service」 「gateway」 「merchant」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 autumndev/omnipay-verifone-web-service 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 autumndev/omnipay-verifone-web-service 我们能提供哪些服务?
定制开发 / 二次开发

基于 autumndev/omnipay-verifone-web-service 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 139
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-06