2017 © Pedro Peláez
 

library omnipay-webpay

webpay.jp driver for the Omnipay payment processing library

image

tshalif/omnipay-webpay

webpay.jp driver for the Omnipay payment processing library

  • Friday, August 12, 2016
  • by tshalif
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Omnipay: Webpay

webpay.jp payment processing driver for the Omnipay PHP payment processing library, (*1)

Important note: at the moment, only the '$gateway->authorize()' is implemented.., (*2)

Build Status Coverage Status Latest Stable Version Total Downloads, (*3)

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Webpay support for Omnipay. Please see the Webpay main site (Japanese) for more information., (*4)

Installation

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

{
    "require": {
        "tshalif/omnipay-webpay": "~2.0"
    }
}

And run composer to update your dependencies:, (*6)

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

Basic Usage

The following gateways are provided by this package:, (*7)

  • Webpay
    $gateway = Omnipay\Omnipay::create('Webpay');
    $gateway->setAuthToken('test_secret_xxxxxxxxxxxxxxxxxxxxxxxx');

    $card = new Omnipay\Common\CreditCard();

    $card->setNumber("4242424242424242");
    $card->setExpiryMonth("10");
    $card->setExpiryYear("2020");
    $card->setCvv("123");
    $card->setName("ZAPHOD BEEBLEBROX");

    try {
        $params = array(
            'amount'                => 4200,
            'card'                  => $card,
        );

        $response = $gateway->authorize($params)->send();

        if ($response->isSuccessful()) {
            // successful
        } else {
            throw new ApplicationException($response->getMessage());
        }
    } catch (ApplicationException $e) {
        throw new ApplicationException($e->getMessage());
    }

For general usage instructions, please see the main Omnipay repository., (*8)

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., (*9)

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., (*10)

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., (*11)

The Versions

12/08 2016

dev-master

9999999-dev https://github.com/tshalif/omnipay-webpay

webpay.jp driver for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tal Shalif

payment pay gateway merchant omnipay payments webpay webpay japan webpayjp

11/08 2016

v2.0.0

2.0.0.0 https://github.com/tshalif/omnipay-webpay

webpay.jp driver for the Omnipay payment processing library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tal Shalif

payment pay gateway merchant omnipay payments webpay webpay japan webpayjp