定制 incube8/omnipay-multicards 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

incube8/omnipay-multicards

Composer 安装命令:

composer require incube8/omnipay-multicards

包简介

MultiCards driver for the Omnipay payment processing library

README 文档

README

MultiCards driver for the Omnipay PHP payment processing library

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements PaymentWall support for Omnipay.

MultiCards Internet Billing is a provider of online credit card and debit card processing and payment solutions to many retailers worldwide.

Installation

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

{
    "require": {
        "incube8/omnipay-multicards": "dev-master"
    }
}

And run composer to update your dependencies:

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

Basic Usage

The following transactions are provided by this package via the REST API:

  • Create a purchase
  • Refunding a purchase
  • Voiding a purchase

For general usage instructions, please see the main Omnipay repository. There are also examples in the class API documentation.

Quirks

There is no createCard message in this gateway. Tokens are supported by calling getCardReference() on a purchase result.

Required fields when making a purchase include:

  • amount
  • currency
  • description
  • merId
  • merUrlIdx
  • password

An Omnipay CreditCard object can be provided containing the card data, or you can pass a cardReference parameter to make a token purchase after making a previously successful card purchase and getting the token as a response to that.

Unit Testing

Tests are in the tests folder. Basic unit tests are in place for most of the code including mock message responses.

API Documentation

You can build the API documentation after running composer update, by using this command (on Linux/Unix systems):

./makedoc.sh

The API documentation will be built in documents/main in HTML format.

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 want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a mailing list which you can subscribe to.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-01