manofield / cnpay
the uniform payment
dev-master
2016-04-01 08:04 UTC
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-09-20 18:59:17 UTC
README
###TODO:项目未完成!!!,完善中
<?php
require("vendor/autoload.php");
use manofield\cnpay\PaymentFacade;
$config=Array(
'driver'=>'alipay',
'alipay'=>Array(
'appid'=>'111',
'key'=>'222',
'secret'=>'333'
),
'wechat'=>Array(
),
);
echo PaymentFacade::payWith($config)
->orderid('ssssssssssss')
->money(10.0)
->subject('cccc')
->display();