收藏
回答

支付wxAPI.sendReq() 闪一下 无法调支付

WXPayEntryActivity 回调
onResp(){

resp.errCode=-1;

resp.errStr=null

resp.getType()=5
}



后台返回数据:

       "appid":"wxc0181b4ef5128d71",
        "mch_id":"1550826241",
        "nonce_str":"5E1K3WZ0vGe9YLtl",
        "prepay_id":"wx1009020785130659ba86a6501959278500",
        "result_code":"SUCCESS",
        "return_code":"SUCCESS",
        "return_msg":"OK",
        "sign":"160B95A5799F4868F8CB20CD54D20975",
        "trade_type":"APP",
        "timestamp":1568077327,
        "package":"Sign=WXPay"


最后一次编辑于  09-10  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手1
    微信支付技术助手1
    09-10

    提供具体单号,和具体参数。有日志的提供日志。

    09-10
    赞同
    回复 3
    • 君
      09-10
      2019-09-10 11:55:10.582 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.589 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.600 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.642 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.694 1411-1534/? V/WindowManager: Exit animation finished in Window{a154ded u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay EXITING}: remove=true 2019-09-10 11:55:10.694 1411-1534/? E/WindowManager: win=Window{a154ded u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true 2019-09-10 11:55:10.695 1411-1534/? V/WindowManager: postWindowRemoveCleanupLocked: Window{a154ded u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.695 1411-1534/? V/WindowManager: Removing Window{a154ded u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} from AppWindowToken{68115ca token=Token{75fad35 ActivityRecord{a83a36c u0 chuangya.com.jinriyingjia/.ui.me.pay.WXanAliPay t66526}}} 2019-09-10 11:55:10.795 1411-1882/? I/ActivityManager: START u0 {flg=0x10000000 hwFlg=0x10 cmp=chuangya.com.jinriyingjia/.wxapi.WXPayEntryActivity (has extras)} from uid 10118 2019-09-10 11:55:10.796 1411-1882/? I/ActivityManager: ActivityRecord info: ActivityInfo{cf18414 chuangya.com.jinriyingjia.wxapi.WXPayEntryActivity} 2019-09-10 11:55:10.797 1411-1882/? V/HwPhoneWindowManager: updateSystemUiColorLw window=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay},EmuiStyle=0,StatusBarColor=0xffffa500,NavigationBarColor=0xff000000, mForceNotchStatusBar=false 2019-09-10 11:55:10.798 1924-2274/? I/PG_ash: front pkg : chuangya.com.jinriyingjia launcher: false 2019-09-10 11:55:10.798 1924-2274/? I/PG_ash: above launcher front pkgs: [chuangya.com.jinriyingjia] 2019-09-10 11:55:10.801 1411-1882/? V/WindowManager: addAppToken: AppWindowToken{8282d71 token=Token{ab14f18 ActivityRecord{5ee2fb u0 chuangya.com.jinriyingjia/.wxapi.WXPayEntryActivity t66526}}} controller={TaskWindowContainerController taskId=66526} at 2147483647 2019-09-10 11:55:10.802 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.825 1411-2255/? V/ActivityManager: Making visible and scheduling visibility: ActivityRecord{5ee2fb u0 chuangya.com.jinriyingjia/.wxapi.WXPayEntryActivity t66526} 2019-09-10 11:55:10.827 1924-2274/? I/AppFastHibernation: rev F_Z exception for visible pkg: chuangya.com.jinriyingjia 2019-09-10 11:55:10.838 1411-2255/? W/HwActivityManagerServiceEx: appSwitch from: com.tencent.mm to: chuangya.com.jinriyingjia 2019-09-10 11:55:10.838 1877-7292/? D/AssistantService-901302: registerHwActivityNotifier call fromPackage:com.tencent.mm, toPackage:chuangya.com.jinriyingjia 2019-09-10 11:55:10.838 1877-7292/? D/AssistantService-901302: getAppSDKType packageName:chuangya.com.jinriyingjia, type:0 2019-09-10 11:55:10.839 11844-11844/? V/ActivityThread: Skipping new config:{1.0 460mcc3mnc [zh_CN_#Hans] ldltr sw360dp w360dp h578dp 640dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 1440, 2408) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 460mcc3mnc [zh_CN_#Hans] ldltr sw360dp w360dp h578dp 640dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 0 - 1440, 2408) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:chuangya.com.jinriyingjia 2019-09-10 11:55:10.839 1924-2031/? D/ScenarioService: front pkg : chuangya.com.jinriyingjia launcher: false 2019-09-10 11:55:10.839 1924-2031/? D/ScenarioService: new above launcher front pkgs: [com.tencent.mm, chuangya.com.jinriyingjia, com.tencent.mm, chuangya.com.jinriyingjia, com.tencent.mm, chuangya.com.jinriyingjia, com.tencent.mm, chuangya.com.jinriyingjia, com.tencent.mm, chuangya.com.jinriyingjia] 2019-09-10 11:55:10.839 1924-2031/? I/AppManager: handleAppFrontEvent: chuangya.com.jinriyingjia 2019-09-10 11:55:10.839 1924-2031/? I/AppsUsage: scnOff:false FgAPP:chuangya.com.jinriyingjia BgAPP:com.tencent.mm 2019-09-10 11:55:10.842 1411-2255/? V/WindowManager: Check opening app=AppWindowToken{8282d71 token=Token{ab14f18 ActivityRecord{5ee2fb u0 chuangya.com.jinriyingjia/.wxapi.WXPayEntryActivity t66526}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false startingWindow=null 2019-09-10 11:55:10.846 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.846 1411-1430/? I/StatusBarDisable: setFlags what=0 which=1 pkg=Window{d82c496 u0 chuangya.com.jinriyingjia/chuangya.com.jinriyingjia.ui.me.pay.WXanAliPay} 2019-09-10 11:55:10.847 11844-11844/? I/jinriyingjia: 微信支付回调 返回错误码:-1 错误名称:null 错误类型:5
      09-10
      回复
    • 君
      09-10

      我就向后台传了0.1元   后台返回 "data":{         "appid":"wxc0181b4ef5128d71",         "mch_id":"1550826241",         "nonce_str":"5E1K3WZ0vGe9YLtl",         "prepay_id":"wx1009020785130659ba86a6501959278500",         "result_code":"SUCCESS",         "return_code":"SUCCESS",         "return_msg":"OK",         "sign":"160B95A5799F4868F8CB20CD54D20975",         "trade_type":"APP",         "timestamp":1568077327,         "package":"Sign=WXPay"     },     "msg":"成功",     "msgCode":1

      09-10
      回复
    • 君
      09-10
      能 帮忙解答好么
      09-10
      回复