String resp = "";.\ntry{\nresp = oldUnionService.socialSecPay(socialSecPayRequest);} catch (Exception e) {\nlog.error("Error:" + e);\n// 银联返回的业务报错\nif (e instanceof AthenaRuntimeException && e.getMessage().startsWith("Union Return")) (state = UPSConst.SocialOrderState .F:\nmodifySocialPayOrder.setState(state);\nevent .setData(UPSDict.TransSt, state):\norderDao.modifySocialPayOrder(modifySocialPayOrder);throw new AthenaRuntimeException(e.getMessage());\nMap<String, 0bject> map;\ntry {\nmap = mapper.json2map(resp)} catch (IOException e) {\nlog.error("Error: " + e):\nthrow new AthenaRuntimeException(UPSMsg.ATP_CHECK_SOCIAL_RESP);\nString queryId = MapUtils.getString(map, UPSDict.queryId);\nString transAt = MapUtils.getString(map,UPSDict.transAt);// 交易金额String txnTs = MapUtils.getString(map,UPSDict.txnTs);// 交易时间 yyyyMMddHHmmssString transSt = MapUtils.getString(map,UPSDict.transSt);// 交易状态 是什么意思?

Java Code Analysis: Processing UnionPay Social Security Payment Response

原文地址: https://www.cveoy.top/t/topic/pti0 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录