收藏
回答

android端 在使用微信支付时弹不出微信支付窗口?

应用签名、appid、api.sendReq和req.checkArgs()返回的都是true,同一个APP,调用微信登录没问题,调支付就不行

2019-11-07 10:34:19.164 13918-18704/com.yd.meiya D/OkHttpManager: respond=={"NONCESTR":"BO6InwfoRkVuFE0x1qcZ","MSG":"SUCCESS","PREPAYID":"wx07103418956599fc7d4fb67e1091877800","ORDERID":1,"PARTNERID":"1561311951","RESULT_CODE":0,"PACKAGE":"Sign=WXPay","RE_TIME":353,"TIMESTAMP":"1573094059","ORDERNO":"168371b0b74949baa1188f4c1c30c774","WXSIGN":"7D40B5F05F8D589EEC9E0F79085A26FE"}

13918-13918/com.yd.meiya D/MicroMsg.SDK.WXMsgImplComm: ignore wechat app signature validation

13918-13918/com.yd.meiya D/denglh: wxPay request:true

13918-13918/com.yd.meiya D/MicroMsg.SDK.WXMsgImplComm: ignore wechat app signature validation

13918-13918/com.yd.meiya I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 5

13918-13918/com.yd.meiya D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXPayEntryActivity

1643-10342/? I/ActivityManager: START u0 {act=null typ=null flg=0x18000000 cmp=ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}} from uid 10427

699-699/? I/SurfaceFlinger: id=3583 createSurf (5920x5920),2 flag=4, AppWindowToken{80cdeb6 token=Token{f829651 ActivityRecord{9824f78 u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t1272}}}#0

1643-10342/? D/ActivityManager: [PIP] Update supportsEnterPipOnTaskSwitch(startActivityLocked

1643-18709/? I/CLP: Check pinfo.  startActivity com.yd.meiya 13918 10427

13918-13918/com.yd.meiya D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXPayEntryActivity (has extras) }

13918-13918/com.yd.meiya D/denglh: wxPay:true

V/WindowManager: Changing focus from Window{aae631c u0 com.yd.meiya/com.yd.meiya.gui.mine.UserCenterActivity} to null Callers=com.android.server.wm.WindowManagerService.setFocusedApp:3124 com.android.server.am.ActivityManagerService.setResumedActivityUncheckLocked:4454 com.android.server.am.ActivityStack.onActivityStateChanged:560 com.android.server.am.TaskRecord.onActivityStateChanged:2165 

D/WindowManager: reportFocusChangedSerialized, focused=false, inTouchMode=true, win=Window{aae631c u0 com.yd.meiya/com.yd.meiya.gui.mine.UserCenterActivity}

 D/Telecom:SamsungPrebindingServiceImpl: onTopActivityChanged : ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.base.stub.WXPayEntryActivity}

13918-13918/com.yd.meiya D/ViewRootImpl@adf4d2e[UserCenterActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1

13918-13918/com.yd.meiya D/InputMethodManager: prepareNavigationBarInfo() DecorView@c535b88[UserCenterActivity]

 699-699/? I/SurfaceFlinger: id=3584 createSurf (5920x5920),2 flag=4, AppWindowToken{d0be89 token=Token{cbb9590 ActivityRecord{9d4d853 u0 com.tencent.mm/.plugin.wallet_index.ui.OrderHandlerUI t1272}}}#0

D/ActivityManager: setRequestedOrientation(1) from com.tencent.mm2019-11-07 10:34:19.447 1643-2054/? I/WindowManager: Reparenting to leash, surface=Surface(name=AppWindowToken{d0be89 token=Token{cbb9590 ActivityRecord{9d4d853 u0 com.tencent.mm/.plugin.wallet_index.ui.OrderHandlerUI t1272}}})/@0xc947c43

1643-1677/? I/WindowManager: Cancelling animation restarting=false, leash=null, surface=Surface(name=AppWindowToken{80cdeb6 token=Token{f829651 ActivityRecord{9824f78 u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t1272}}})/@0x1c0cb84, parent=Surface(name=Task=1272)/@0x7e782c0

699-699/? I/Layer: id=3587 onRemoved Surface(name=AppWindowToken{d0be89 token=Token{cbb9590 ActivityRecord{9d4d853 u0 com.tencent.mm/.plugin.wallet_index.ui.OrderHandlerUI t1272}}})/@0xc947c43 - animation-leash#0 

699-764/? I/SurfaceFlinger: id=3583 Removed AppWindowToken{80cdeb6 token=Token{f829651 ActivityRecord{9824f78 u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t1272}}}#0 (0/76)

I/Layer: id=3583 onRemoved AppWindowToken{80cdeb6 token=Token{f829651 ActivityRecord{9824f78 u0 com.tencent.mm/.plugin.base.stub.WXPayEntryActivity t1272}}}#0 

V/WindowManager: Changing focus from Window{c27859a u0 com.tencent.mm/com.tencent.mm.plugin.wallet_index.ui.OrderHandlerUI} to Window{aae631c u0 com.yd.meiya/com.yd.meiya.gui.mine.UserCenterActivity} Callers=com.android.server.wm.DisplayContent.layoutAndAssignWindowLayersIfNeeded:3257 com.android.server.wm.StackWindowController.positionChildAtTop:151 com.android.server.am.ActivityStack.insertTaskAtTop:3373 com.android.server.am.ActivityStack.moveTaskToFrontLocked:5250 

D/WindowManager: setSystemUiVisibility: vis= 0xa718, fullscreenVis= 0x2000, dockedVis= 0x0, win=Window{aae631c u0 com.yd.meiya/com.yd.meiya.gui.mine.UserCenterActivity}

13918-13918/com.yd.meiya D/MicroMsg.PaySdk.WXFactory: createWXAPI, appId = wx91e98d675635aba8, checkSignature = true

13918-13918/com.yd.meiya D/MicroMsg.SDK.WXApiImplV10: <init>, appId = wx91e98d675635aba8, checkSignature = true

13918-13918/com.yd.meiya I/MicroMsg.SDK.WXApiImplV10: handleIntent, cmd = 5

13918-13918/com.yd.meiya D/WXPayEntryActivity: onPayFinish, errCode = -1


回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手1
    微信支付技术助手1
    2019-11-07

    有没有弹出具体的报错信息?这个问题一般是你代码段有一些小问题。检查一下代码。

    2019-11-07
    有用
    回复 1
    • 喵花棉
      喵花棉
      2019-11-07
      弹,支付失败
      登录、分享都可以
      2019-11-07
      回复
登录 后发表内容