收藏
回答

微信小程序支付成功了,没有进回调地址,是什么问题

微信小程序支付成功了,回调方法也写了,就是不进回调方法,都配置好了,交易订单号4200000818202012032311068485,帮忙查下怎么回事呀

最后一次编辑于  2020-12-03
回答关注问题邀请回答
收藏

2 个回答

  • 支付社区运营
    支付社区运营
    2020-12-03

    您好,微信支付结果通知已成功回调到您的回调地址,您这边响应内容为: "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"UTF-8\">\n <title>\347\263\273\347\273\237\345\217\221\347\224\237\351\224\231\350\257\257</title>\n <meta name=\"robots\" content=\"noindex,nofollow\" />\n <style>\n /* Base */\n body {\n color: #333;\n font: 16px Verdana, \"Helvetica Neue\", helvetica, Arial, \'Microsoft YaHei\', sans-serif;\n margin: 0;\n padding: 0 20px 20px;\n }\n h1{\n margin: 10px 0 0;\n font-size: 28px;\n font-weight: 500;\n line-height: 32px;\n }\n h2{\n color: #4288ce;\n font-weight: 400;\n padding: 6px 0;\n margin: 6px 0 0;\n font-size: 18px;\n border-bottom: 1px solid #eee;\n }\n h3{\n margin: 12px;\n font-size: 16px;\n font-weight: bold;\n }\n abbr{\n cursor: help;\n text-decoration: underline;\n text-decoration-style: dotted;\n }\n a{\n color: #868686;\n cursor: pointer;\n }\n a:hover{\n text-decoration: underline;\n }\n .line-error{\n background: #f8cbcb;\n }\n\n .echo table {\n width: 100%;\n }\n\n .echo pre {\n padding: 16px;\n overflow: auto;\n font-size: 85%;\n line-height: 1.45;\n background-color: #f7f7f7;\n border: 0;\n border-radius: 3px;\n font-family: Consolas, \"Liberation Mono\", Menlo, Courier, monospace;\n }\n\n .echo pre > pre {\n padding: 0;\n margin: 0;\n }\n \n /* Exception Info */\n .exception {\n margin-top: 20px;\n }\n .exception .message{\n padding: 12px;\n border: 1px solid #ddd;\n border-bottom: 0 none;\n line-height: 18px;\n font-size:16px;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n font-family: Consolas,\"Liberation Mono\",Courier,Verdana,\"\345\276\256\350\275\257\351\233\205\351\273\221\";\n }\n\n .exception .code{\n float: left;\n text-align: center;\n color: #fff;\n margin-right: 12px;\n padding: 16px;\n border-radius: 4px;\n background: #999;\n }\n .exception .source-code{\n padding: 6px;\n border: 1px solid #ddd;\n\n background: #f9f9f9;\n overflow-x: auto;\n\n }\n .exception .source-code pre{\n margin: 0;\n }\n .exception .source-code pre ol{\n margin: 0;\n color: #4288ce;\n display: inline-block;\n min-width: 100%;\n box-sizing: border-box;\n font-size:14px;\n font-family: \"Century Gothic\",Consolas,\"Liberation Mono\",Courier,Verdana;\n padding-left: 40px;\n }\n .exception .source-code pre li{\n border-left: 1px solid #ddd;\n height: 18px;\n line-height: 18px;\n }\n .exception .source-code pre code{\n color: #333;\n height: 100%;\n display: inline-block;\n border-left: 1px solid #fff;\n font-size:14px;\n font-family: Consolas,\"Liberation Mono\",Courier,Verdana,\"\345\276\256\350\275\257\351\233\205\351\273\221\";\n }\n .exception .trace{\n padding: 6px;\n border: 1px solid #ddd;\n border-top: 0 none;\n line-height: 16px;\n font-size:14px;\n font-family: Consolas,\"Liberation Mono\",Courier,Verdana,\"\345\276\256\350\275\257\351\233\205\351\273\221\";\n }\n .exception .trace ol{\n margin: 12px;\n }\n .exception .trace ol li{\n padding: 2px 4px;\n }\n .exception div:last-child{\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n }\n\n /* Exception Variables */\n .exception-var table{\n width: 100%;\n margin: 12px 0;\n box-sizing: border-box;\n table-layout:fixed;\n word-wrap:break-word; \n }\n .exception-var table caption{\n text-align: left;\n font-size: 16px;\n font-weight: bold;\n padding: 6px 0;\n }\n .exception-var table caption small{\n font-weight: 300;\n display: inline-block;\n margin-left: 10px;\n color: #ccc;\n }\n .exception-var table tbody{\n font-size: 13px;\n font-family: Consolas,\"Liberation Mono\",Courier,\"\345\276\256\350\275\257\351\233\205\351\273\221\";\n }\n .exception-var table td{\n padding: 0 6px;\n vertical-align: top;\n word-break: break-all;\n }\n .exception-var table td:first-child{\n width: 28%;\n font-weight: bold;\n white-space: nowrap;\n }\n .exception-var table td pre{\n margin: 0;\n }\n\n /* Copyright Info */\n .copyright{\n margin-top: 24px;\n padding: 12px 0;\n border-top: 1px solid #eee;\n }\n\n /* SPAN elements with the classes below are added by prettyprint. */\n pre.prettyprint .pln { color #000 } /* plain text */\n pre.prettyprint .str { color #080 } /* string content */\n pre.prettyprint .kwd { color #008 } /* a keyword */\n pre.prettyprint .com { color #800 } /* a comment */\n pre.prettyprint .typ { color #606 } /* a type name */\n pre.prettyprint .lit { color #066 } /* a literal value */\n /* punctuation, lisp open bracket, lisp close bracket */\n pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color #660 }\n pre.prettyprint .tag { color #008 } /* a markup tag name */\n pre.prettyprint .atn { color #606 } /* a markup attribute name */\n pre.prettyprint .atv { color #080 } /* a markup attribute value */\n pre.prettyprint .dec, pre.prettyprint .var { color #606 } /* a declaration; a variable name */\n pre.prettyprint .fun { color: red } /* a function name */\n </style>\n</head>\n<body>\n <div class=\"echo\">\n </div>\n <div class=\"exception\">\n \n <div class=\"info\"><h1>\351\241\265\351\235\242\351\224\231\350\257\257\357\274\201\350\257\267\347\250\215\345\220\216\345\206\215\350\257\225\357\275\236</h1></div>\n \n </div>\n \n \n </body>\n</html>,请核对回调地址正确性和业务逻辑代码可用性。

    已私信回调地址.

    PS。回调通知注意事项https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=23_8&index=6

    回调与查单最佳实践https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=23_9&index=1

    2020-12-03
    有用
    回复
  • จุ๊บ
    จุ๊บ
    2020-12-03

    浏览器访问回调地址,能正常访问吗?

    2020-12-03
    有用
    回复 2
    • A小w
      A小w
      2020-12-03
      可以的,日志都可以打出来
      2020-12-03
      回复
    • จุ๊บ
      จุ๊บ
      2020-12-03回复A小w
      估计哪里执行出错了,导致业务逻辑没有执行
      2020-12-03
      回复
登录 后发表内容
问题标签