定制 burnbright/omnipay-paystation 二次开发

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

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

burnbright/omnipay-paystation

Composer 安装命令:

composer require burnbright/omnipay-paystation

包简介

Paystation driver for the Omnipay payment processing library

README 文档

README

Paystation driver for the Omnipay PHP payment processing library

http://www.paystation.co.nz

API Docs: https://docs.paystation.co.nz/

Build Status Coverage Status Code Quality Software License Latest Stable Version Total Downloads

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

Installation

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

{
    "require": {
        "burnbright/omnipay-paystation": "~3.0"
    }
}

And run composer to update your dependencies:

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

Basic Usage

The following gateways are provided by this package:

  • Paystation_Hosted

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

NOTE: Paystation's back-end system supports both IP whitelisting and HMAC key usage. Be aware of which features are enabled on the account you're using.

Testing card details, and error cent values, are detailed here: http://www.paystation.co.nz/Paystation-Test-Site

If you want to use dynamic return urls, you must set a HMAC key. This can be obtained from paystation.

	$gateway->setHmacKey('1a2b3b3g3g3k3k23k23hj235h235');

Merchant Session Uniqueness

The required merchant session identifier is generated using php's uniqid function. This may not be enough uniqueness if your system architecture has multiple hosts. You can override this by setting the merchantSession omnipay parameter:

	$response = $gateway->purchase(array(
		'amount' => '123.00',
		'currency' => 'NZD',
		'card' => array(...),
		'merchantSession' => uniqueid($hostidentifier) //here
	))->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 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.

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固