Config.php 1.6 KB
<?php

namespace WebPlugin\Pay\AliExpressgateway;

class Config
{

	var $pay_url = "https://mapi.alipay.com/gateway.do";

	/**
	 * 服务名,即时到帐为create_direct_pay_by_user
	 * Enter description here ...
	 * @var String
	 */
	var $service = "create_direct_pay_by_user";

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

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

	/**
	 * 通知url,(用于后台提交)
	 * Enter description here ...
	 * @var String
	 */
	var $notify_url = "notice/aliexpressgatewaynotice";

	/**
	 * 浏览器的返回
	 * Enter description here ...
	 * @var string
	 */
	var $return_url = "notice/aliexpressgatewayreturn";

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

	/**
	 * 支付类型,1为购买
	 * Enter description here ...
	 * @var Integer
	 */
	var $payment_type = "1";
	
	/**
	 * expressGateway、expressGatewayCredit
	 * @var unknown_type
	 */
	var $paymethod = "expressGateway";
	
	/**
	 * 自动登陆标识,N则跳到银行,Y则直接在支付宝填
	 * @var array
	 */
	var $default_login = "Y";

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

	/**
	 * 销售者mail
	 * Enter description here ...
	 * @var String
	 */
	var $sellerMail = "";
	
	/**
	 * 防钓鱼配置
	 */
	var $anti_fishing = array(
		'ip_enable' => true,
		'timestamp_enable' =>true
	);

}