| | |
| | | /** |
| | | * 统一下单API |
| | | */ |
| | | //public static String orderUrl = "https://api.mch.weixin.qq.com/pay/unifiedorder"; |
| | | public static String orderUrl = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi"; |
| | | |
| | | /** |
| | |
| | | */ |
| | | public static String certificates = "https://api.mch.weixin.qq.com/v3/certificates"; |
| | | |
| | | /* |
| | | /** |
| | | * 支付结果通知API |
| | | */ |
| | | public static String notifyUrl = "https://44978f7456.imdo.co/sell/payment/orderNotify"; |
| | | public static String notifyUrl = "https://44978f7456.imdo.co/wx/payment/orderNotify"; |
| | | |
| | | /* |
| | | * 查询订单API |
| | |
| | | /* |
| | | * 小程序唯一标识 |
| | | */ |
| | | //public static String appid = "wxbc2b6a00dd904ead"; |
| | | public static String appid = "wxf773810cd5643196"; |
| | | public static String appid = ""; //wxf773810cd5643196 |
| | | |
| | | /* |
| | | * 小程序的 app secret |
| | | */ |
| | | //public static String secret = "796ffe3e9921f756db0499e80d6ed0cd"; |
| | | public static String secret = "080d4f947095551e988cfe9338e27f15"; |
| | | public static String secret = ""; //080d4f947095551e988cfe9338e27f15 |
| | | |
| | | /* |
| | | * 小程序的授权类型,登录凭证校验使用 |
| | |
| | | /* |
| | | * 商户号(微信支付分配的商户号) |
| | | */ |
| | | public static String mchid = "1640721520"; |
| | | public static String mchid = ""; //1640721520 |
| | | |
| | | /* |
| | | * 商户平台设置的密钥key |
| | | */ |
| | | public static String key = "DaYuJieShuiYanJiuYuan20230412ABC"; |
| | | public static String key = ""; //DaYuJieShuiYanJiuYuan20230412ABC |
| | | |
| | | /** |
| | | * 商户API证书序列号 |
| | | */ |
| | | public static String serial_no = "52D65AA66405C738670377F467178F4C950E1606"; |
| | | public static String serial_no = ""; //52D65AA66405C738670377F467178F4C950E1606 |
| | | |
| | | /* |
| | | * 终端IP,调用微信支付API的机器IP |
| | |
| | | * HTTP头认证类型 |
| | | */ |
| | | public static String schema = "WECHATPAY2-SHA256-RSA2048"; |
| | | |
| | | /** |
| | | * 私钥文件路径 |
| | | */ |
| | | public static String privateCertFileName = "C:\\webchat\\apiclient_key.pem"; |
| | | |
| | | public static String publicCertFileName = "C:\\webchat\\wxp_cert.pem"; |
| | | |
| | | /* |
| | | * 微信订单号,优先使用 |
| | | */ |