matrix.business.pay.constants.WePayConstant Maven / Gradle / Ivy
package matrix.business.pay.constants;
import matrix.boot.common.utils.RandomUtil;
/**
* 微信支付常量
* @author wangcheng
*/
public class WePayConstant {
/**
* 微信下单地址
*/
public static final String PAY_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
/**
* 微信退款地址
*/
public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
/**
* 微信支付查询地址
*/
public static final String QUERY_PAY_URL = "https://api.mch.weixin.qq.com/pay/orderquery";
/**
* 微信支付退款地址
*/
public static final String QUERY_REFUND_URL = "https://api.mch.weixin.qq.com/pay/refundquery";
/**
* 返回编码
*/
public static final String RETURN_CODE = "SUCCESS";
/**
* js api 支付编码
*/
public static final String JSAPI_PAY_CODE = "JSAPI";
/**
* 原生支付编码
*/
public static final String NATIVE_PAY_CODE = "NATIVE";
/**
* APP支付编码
*/
public static final String APP_PAY_CODE = "APP";
/**
* h5支付编码
*/
public static final String H5_PAY_CODE = "MWEB";
/**
* 成功返回编码
*/
public static final String SUCCESS_RETURN_CODE = "" +
" " +
" " +
" ";
/**
* 失败返回编码
*/
public static final String FAIL_RETURN_CODE = "" +
" " +
" " +
" ";
}