微信支付,报invalid out_trade_no错误
2016-09-05 10:45
323 查看
错误原因:订单的id不正确。
订单id是由自己系统生成的,造成这样的原因可能是没有传给微信这个订单id或者订单id太短(比如说一位数的订单id是不可以的)
解决办法也很简单,如果没有传订单id给微信的话那就传过去咯,如果订单id太短那就用另一种更长的方式生成订单id咯
订单id是由自己系统生成的,造成这样的原因可能是没有传给微信这个订单id或者订单id太短(比如说一位数的订单id是不可以的)
解决办法也很简单,如果没有传订单id给微信的话那就传过去咯,如果订单id太短那就用另一种更长的方式生成订单id咯
相关文章推荐
- 微信支付jsApiParameter::{"return_code":"FAIL","return_msg":"invalid out_trade_no"}
- 源码剖析Yii错误 Invalid parameter number: no parameters were bound
- rails 4 + devise 3.1.0 中退出登录出现 No route matches [GET] "/users/sign_out" 错误
- Struts2 常见错误 Document is invalid: no grammar found. at (null:3:8)
- 微信支付开发invalid appid错误
- ios微信支付invalid spbill_create_ip 获取设备ip错误
- 错误 1 “GenerateResource”任务意外失败。 System.InvalidOperationException: 配置有 NoSecurityChanges 标志的 AppDomain
- JSAPI微信支付返回错误:fail_no permission to execute
- 下载个jquery-easyui-1.3.0使用,把他导入到myeclipse10里,jquery-1.7.2.min.js报错。 错误如下, Syntax error on token "Invalid Regular Expression Options", no accurate correc
- 微博第三方登录时,域名使用错误报错, Laravel \ Socialite \ Two \ InvalidStateException No message
- 错误: warning no match for this type name: com.zrm.service [Xlint:invalidAbsoluteTypeName]
- 解决ntp的错误no server suitable for synchronization found
- Xcode 错误- Could not launch app - No such file or directory Error.
- print SyntaxError: invalid syntax错误的问题
- ANDROID “call to opengl es api with no current context”错误的解决
- vs2008的错误:Error: no data exchange control with ID 0x0409
- linux下system函数错误返回-1 错误原因NO child processes
- android 微信支付当body标签为中文时出现编码错误的问题
- asp.net 微信支付 错误解决方案
- 书羊农历控件使用步骤及处理错误:引发了“System.Windows.Forms.AxHost.InvalidActiveXStateException”类型的异常