<?php
/*
* 项目: iOrange(橘子)
* 作者: 离家出走(yzxh24)
* Email: yzxh24@gmail.com
* 主页: www.iorange.cc
*/
/* vim: set ts=4 sw=4: */
class PayController extends BaseController
{
    // 易宝支付得相应属性
    private $yeepayConfig = array(
        //'merchantId' => '10001126856', // 测试用
        //'merchantKey' => '69cl522AV6q613Ii4W6u8K6XuW8vM1N6bFgyv769220IuYe9u37N4y7rI4Pl', // 测试用
        'merchantId' => '10011433882',
        'merchantKey' => '327pFB8G7Yy9700TfZ8Y75b6bek2242Sm7Z1j58zW11Gk2Fm042507HLi18w',
        'commandUrls' => array(
            //'Buy' => 'https://www.yeepay.com/app-merchant-proxy/command.action',
            'ChargeCardDirect' => 'https://www.yeepay.com/app-merchant-proxy/command.action', // 非银行卡专业版
            'Buy' => 'http://www.yeepay.com/app-merchant-proxy/wap/controller.action',
            'CardBackUrl' => 'http://25800.net/system.php?s=pay&c=back&a=card', // 卡类支付回调
            'BankBackUrl' => 'http://25800.net/system.php?s=pay&c=back&a=bank', // 银行类支付回调
        ),
    );

    public function getPayConfig()
    {
        return $this->yeepayConfig;
    }
}
