Config.php 2.02 KB
<?php

namespace WebPlugin\Pay\Shengpay;

class Config
{	
	/**
	 * 直连方式支付地址
	 * Enter description here ...
	 * @var string
	 */
	var $direct_pay_url = "http://mas.sdo.com/web-acquire-channel/cashier30direct.htm";
	
	/**
	 * 直连方式支付测试地址
	 * Enter description here ...
	 * @var string
	 */
	var $direct_pay_url_test = "http://mas.sdo.com/web-acquire-channel/cashier30direct.htm";
	
	/**
	 * 非直连方式支付地址
	 */
	var $pay_url = "http://mas.sdo.com/web-acquire-channel/cashier30.htm";
	
	/**
	 * 非直连方式支付测试地址
	 * Enter description here ...
	 * @var string
	 */
	var $pay_url_test = "http://mas.sdo.com/web-acquire-channel/cashier30.htm";
	
	/**
	 * 版本号
	 * Enter description here ...
	 * @var string
	 */
	var $version = "3.0";
	
	/**
	 * 商户号
	 * Enter description here ...
	 * @var unknown_type
	 */
	var $merchant_no = "";
	
	
	/**
	 * 商户MD5加密串
	 * Enter description here ...
	 * @var string
	 */
	var $merchant_key = "";
	
	/**
	 * 支付渠道,网银B2C
	 * Enter description here ...
	 * @var string
	 */
	var $pay_channel = "04";
	
	/**
	 * 客户端回调地址
	 * Enter description here ...
	 * @var string
	 */
	var $post_back_url = "notice/shengpayreturn"; 
	
	/**
	 * 服务器端通知地址
	 * Enter description here ...
	 * @var string
	 */
	var $notify_url = "notice/shengpaynotice";
	
	/**
	 * 商户下单地址
	 * Enter description here ...
	 * @var string
	 */
	var $back_url = "http://www.yohobuy.com/home";
	
	/**
	 * 货币类型
	 * Enter description here ...
	 * @var string
	 */
	var $currency_type = "RMB";
	
	/**
	 * 发货通知方式
	 * Enter description here ...
	 * @var string
	 */
	var $notify_url_type = "http";
	
	/**
	 * 签名方式,1-rsa,2-md5
	 * Enter description here ...
	 * @var string
	 */
	var $sign_type = "2";
	
	/**
	 * 支付银行
	 * Enter description here ...
	 * @var string
	 */
	var $test_bank_code = "SDTBNK";
}