xposed云闪付免签支付系统源码
云闪付免签支付系统是通过xposed框架Hook云闪付,自动生成指定金额的支付二维码,支付完成后App监控云闪付支付成功信息,实现自动回调。
支持H5,支持自动回调,支持多客户端多卡轮询。
xposed云闪付免签支付系统核心源码——生码二维码代码:
public static void GenQrCode(final String paramString1, final String paramString2, final String bankName, final String bankNo) { new Thread(new Runnable() { public void run() { try { Object localObject1 = paramString2; Object localObject2 = new BigDecimal(paramString1); localObject2 = ((BigDecimal) localObject2).setScale(2, RoundingMode.HALF_UP).toPlainString().replace(".", ""); Object localObject3 = new StringBuilder(); ((StringBuilder) localObject3).append("https://pay.95516.com/pay-web/restlet/qr/p2pPay/applyQrCode?txnAmt="); ((StringBuilder) localObject3).append(MainHook.Enc((String) localObject2)); ((StringBuilder) localObject3).append("&cityCode="); ((StringBuilder) localObject3).append(MainHook.Enc(MainHook.getcityCd())); ((StringBuilder) localObject3).append("&comments="); ((StringBuilder) localObject3).append(MainHook.Enc((String) localObject1)); ((StringBuilder) localObject3).append("&virtualCardNo="); CardInfo cardInfo = getEncvirtualCardNo(bankName, bankNo); if (cardInfo == null) { throw new Exception("找不到对应的下单卡"); } cardInfo.setAccount(ysfAccount); ((StringBuilder) localObject3).append(Enc(cardInfo.getVirtualCardNo())); localObject1 = ((StringBuilder) localObject3).toString(); localObject2 = HttpHelper.getInstance().getOkHttpClient(); localObject3 = new okhttp3.Request.Builder(); Request.Builder localBuilder = ((Request.Builder) localObject3).url((String) localObject1).header("X-Tingyun-Id", MainHook.getXTid()); localObject3 = new StringBuilder(); ((StringBuilder) localObject3).append("0;"); ((StringBuilder) localObject3).append(System.currentTimeMillis()); localObject3 = ((OkHttpClient) localObject2).newCall(localBuilder.header("X-Tingyun-Lib-Type-N-ST", ((StringBuilder) localObject3).toString()) .header("sid", MainHook.getSid()).header("urid", MainHook.geturid()).header("cityCd", MainHook.getcityCd()) .header("locale", "zh-CN").header("User-Agent", "Android CHSP").header("dfpSessionId", MainHook.getDfpSessionId()) .header("gray", MainHook.getgray()).header("key_session_id", "").header("Host", "pay.95516.com").build()).execute().body().string(); localObject1 = MainHook.Dec((String) localObject3); localObject2 = new StringBuilder(); ((StringBuilder) localObject2).append("GenQrCode RSP=>"); ((StringBuilder) localObject2).append((String) localObject1); MainHook.mlog(localObject2.toString()); try { localObject2 = new JSONObject((String) localObject1); String certificate = ((JSONObject) localObject2).getJSONObject("params").getString("certificate"); QRInfo qrInfo = new QRInfo(certificate, paramString2); qrInfo.setRemark(JSON.toJSONString(cardInfo)); String body = JSON.toJSONString(qrInfo); Intent localIntent = new Intent("websocket.sendmsg"); localIntent.putExtra("data", "qr:" + body); MainHook.getContext().sendBroadcast(localIntent); } catch (Exception ex) { LogUtils.getInstance().saveLog("二维码广播发送异常:" + ex.getMessage()); } return; } catch (Exception ex) { LogUtils.getInstance().saveLog("GenQrCode异常:" + ex.getMessage()); } } }).start(); }
github地址:https://github.com/wxs2/xposed-pay
系统介绍
2019-12-24日更新:最新支持云闪付H5支付,H5唤起云闪付进行支付
2019-12-23日更新:最新支持云闪付静态码支付回调监听,让云闪付24小时都可收款
2019-12-14日更新:解决云闪付7.0强制升级问题
源码标签:个人免签收款支付源码,免签约接口,免签支付接口,云闪付支付接口, 个人收款api,个人免签支付,免签支付源码,支付免签接口源码
跳转:测试地址
相关推荐
zhuyonge 2020-07-26
abfdada 2020-08-26
凉白开 2020-07-19
Lzs 2020-10-23
聚合室 2020-11-16
零 2020-09-18
Justhavefun 2020-10-22
jacktangj 2020-10-14
ChaITSimpleLove 2020-10-06
Andrea0 2020-09-18
周游列国之仕子 2020-09-15
afanti 2020-09-16
88234852 2020-09-15
YClimb 2020-09-15
风雨断肠人 2020-09-04
卖口粥湛蓝的天空 2020-09-15
stulen 2020-09-15