package cc.mrbird.febs.pay.util;
|
|
public class WechatConfigure {
|
|
public static String UNIFIEDORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";
|
|
/**
|
* 发送http请求类
|
*/
|
public static String HttpsRequestClassName = "com.matrix.component.wechat.externalInterface.common.HttpsRequest";
|
public static final String TRADE_TYPE_JSAPI = "JSAPI";
|
|
// 2)被扫支付查询API
|
public static String PAY_QUERY_API = "https://api.mch.weixin.qq.com/pay/orderquery";
|
|
|
|
/**
|
* 微信商户号
|
*/
|
public static final String WECHARPAY_MCHID = "1605533690";
|
/**
|
* 支付秘钥
|
*/
|
public static final String WECHARPAY_SECRET = "CSxc168888CSxc168888CSxc168888xc";
|
|
/**
|
* 小程序APPID
|
*/
|
public static final String MINIPROGRAM_APPID = "wx5cc58f796224af61";
|
// 8) 企业付款API
|
public static String COM_PAY_API="https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
|
|
/**
|
* 发送 SSL请求,企业付款,退款用
|
*/
|
public static String HttpsRequestClassName2 = "com.matrix.component.wechat.externalInterface.common.HttpsRequest2";
|
|
// 3)退款API
|
public static String REFUND_API = "https://api.mch.weixin.qq.com/secapi/pay/refund";
|
|
/**
|
* 成功
|
*/
|
public static final String CODE_SUCCESS = "SUCCESS";
|
/**
|
* SUCCESS报文
|
*/
|
public static final String RESULT_XML_SUCCESS = "<xml><return_code><![CDATA[SUCCESS]]></return_code>"
|
+ "<return_msg><![CDATA[OK]]></return_msg></xml> ";
|
|
|
}
|