AliwapConfig.php 1.71 KB
<?php
namespace Plugin\Pay\aliwap;

class AliwapConfig
{

    var $pay_url = "http://wappaygw.alipay.com/service/rest.htm?";

    /**
     * 服务名,即时到帐为alipay.wap.trade.create. direct
     * Enter description here ...
     * @var String
     */
    var $service = "alipay.wap.trade.create.direct";

    /**
     * 合作伙伴在支付宝的用户ID
     * Enter description here ...
     * @var string
     */
    var $partner = "2088701661478015";

    /**
     * 编码
     * Enter description here ...
     * @var String
     */
    var $input_charset = "utf-8";

    /**
     * 通知url,(用于后台提交)
     * Enter description here ...
     * @var String
     */
    var $notify_url = 'http://testservice.yoho.cn:28077/payment/alipay_notify';//"http://m.yohobuy.com/shopping/pay/aliwapnotice";

    /**
     * 浏览器的返回
     * Enter description here ...
     * @var string
     */
    var $return_url = "http://m.yohobuy.com/shopping/pay/aliwapreturn";

    /**
     * 签名方式
     * Enter description here ...
     * @var String
     */
    var $sign_type = "MD5";

    /**
     * 支付类型,1为购买
     * Enter description here ...
     * @var Integer
     */
    var $payment_type = "1";

    /**
     * Key
     * Enter description here ...
     * @var String
     */
    var $alipay_key = "kcxawi9bb07mzh0aq2wcirsf9znusobw";

    /**
     * 销售者mail
     * Enter description here ...
     * @var String
     */
    var $sellerMail = "zfb@yoho.cn";

    /**
     * 支付不成功跳转的页面
     * @var string
     */
    var $merchant_url = 'http://m.yohobuy.com/home/orders/detail?order_code=';

    /**
     * ca证书
     * @var unknown
     */
    var $cacert = 'cacert.pem';

}