# payment-third **Repository Path**: CodeinChad/payment-third ## Basic Information - **Project Name**: payment-third - **Description**: Integration of third party payment platform. - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-02-26 - **Last Updated**: 2022-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # payment-third Integration of third party payment platform. #NOTES ### Spring加载器 在使用了 spring-boot-devtools,默认启动应用会以RestartClassLoader加载,而jar会以AppClassLoader加载 导致MapperTemplate.class和templateClass这两个类的加载器不一样,所以出现错误 # 证书路径 配置 支付宝: certLocalPath 微信: certLocalPath 存放规则: 支付宝: certPath = certLocalPath + "ali/appCertPublicKey_" + AliPayAppId + ".crt" alipayPublicCertPath = certLocalPath + "ali/alipayCertPublicKey_RSA2.crt" rootCertPath = certLocalPath + "ali/alipayRootCert.crt" 微信: wxCertPath = certLocalPath + "wx_open/apiclient_cert.p12" wxCertPath = certLocalPath + "wx_mp/apiclient_cert.p12" # 测试 - 转账 用沙箱证书 properties.transfer.debug=true # 通知与回调 配置 properties.pay.url.notify: 回调 properties.pay.url.return: 返回 properties.pay.ios.url.notify: ios回调 properties.pay.ios.url.return: ios返回 # 示例 properties.pay.url.notify=http://@outHost@:80/pay/notify/#LOCAL_NO# properties.pay.url.return=http://@outHost@:80/pay/notify/#LOCAL_NO# properties.pay.ios.url.notify=http://@outHost@:80/pay/ios/notify properties.pay.ios.url.return=http://@outHost@:80/pay/ios/notify