在整合银联支付功能过程中,测试退款功能时退款请求地址写成了前台交易请求地址:https://101.231.204.80:5000/gateway/api/frontTransReq.do
请求返回参数总是:invalid request 弄了好久才发现原来请求地址调用错了,
银联前台支付请求地址和退款请求地址是不一样的!
测试环境:
前台支付请求地址:https://101.231.204.80:5000/gateway/api/frontTransReq.do
退款请求地址:https://101.231.204.80:5000/gateway/api/backTransReq.do
APP控件请求后台获取TN(交易流水号)地址:https://101.231.204.80:5000/gateway/api/appTransReq.do
正式环境:
前台支付请求地址:https://gateway.95516.com/gateway/api/frontTransReq.do
退款请求地址:https://gateway.95516.com/gateway/api/backTransReq.do
APP控件请求后台获取TN(交易流水号)地址:https://gateway.95516.com/gateway/api/appTransReq.do
技术服务:https://open.unionpay.com/ajweb/index