cedricblondeau/php-moneris-eselectplus 问题修复 & 功能扩展

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

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

cedricblondeau/php-moneris-eselectplus

Composer 安装命令:

composer require cedricblondeau/php-moneris-eselectplus

包简介

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+.

README 文档

README

An alternative and modern way to access the Moneris eSELECTplus API with PHP 5.3+.

This library was initially a fork of ironkeith/moneris-eselectplus-api.

Motivation

I needed to integrate Moneris with a nice and modern PHP project and did not want to include the source code they provide.

Keith Silgard did an awesome job by writing an alternative library but I wanted something with namespaces, PSR-4 support, unit testing and Vault API functions, so I decided to fork it and finally, to fully redesign and rewrite it for PHP 5.3+.

Usage example

use CedricBlondeau\Moneris;

// Config
$config = new Config('test_api_key', 'store1');
$config->setEnvironment(Config::ENV_TESTING);

// Purchase transaction
$transaction = new Moneris\Transaction\Basic\Purchase($config, array(
    'cc_number' => '4242424242424242',
    'expiry_month' => 10,
    'expiry_year' => 18,
    'order_id' => 'test' . date("dmy-G:i:s"),
    'amount' => 100
));

// CURL
$httpClient = new Moneris\Http\Client\Curl($transaction);
$result = $httpClient->execute();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固