2017 © Pedro Peláez
 

library omnipay-qpay

A QPay driver for the Omnipay PHP payment processing library.

image

zqhong/omnipay-qpay

A QPay driver for the Omnipay PHP payment processing library.

  • Thursday, April 12, 2018
  • by zqhong
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 53 % Grown

The README.md

Omnipay:QPay

安装

$ composer require -vvv zqhong/omnipay-qpay

使用

<?php

include __DIR__ . '/vendor/autoload.php';

use Omnipay\Omnipay;

$gateway = Omnipay::getFactory()->create("QPay")
    ->setMchId('')
    ->setMchKey('')
    ->setCertFilePath('')
    ->setKeyFilePath('')
    ->setNotifyUrl('')
    ->setOpUserPasswd('');

// 订单查询
// 参数请参考:https://qpay.qq.com/qpaywiki/showdocument.php?pid=1&docid=5
$queryOrderRequest = $gateway->queryOrder([
    'transaction_id' => '',
]);
$queryOrderResponse = $queryOrderRequest->send();
if ($queryOrderResponse->isSuccessful()) {
    // 订单查询成功操作
}

The Versions

12/04 2018

dev-master

9999999-dev

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong

12/04 2018

v1.0.5

1.0.5.0

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong

11/04 2018

v1.0.4

1.0.4.0

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong

11/04 2018

v1.0.3

1.0.3.0

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong

11/04 2018

v1.0.2

1.0.2.0

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong

11/04 2018

v1.0.1

1.0.1.0

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong

11/04 2018

v1.0.0

1.0.0.0

A QPay driver for the Omnipay PHP payment processing library.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar zqhong