We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有两种订单类型, 一种订单类型调用微信支付是可以成功调用的, 但是另一种订单类型调用微信就总是失败 finish activity pay_result=fail, error_msg=channel_returns_fail, extra_msg=wx_err_code:-1 这是 SDK 返回的错误信息 刚开始以为是 charge 的问题, 但是给 IOS 的同事试了一下是可以调用的, 还望官方能给一点意见, 看看是哪里的问题
调用成功 charge {"id":"ch_101200714554105620480006","object":"charge","created":1594710111,"livemode":true,"paid":false,"refunded":false,"reversed":false,"app":"app_OO4iz5zTC04Sivff","channel":"wx","order_no":"MO20071415014801258","client_ip":"115.194.104.59","amount":1200,"amount_settle":1200,"currency":"cny","subject":"get订单:MO20071415014801258","body":"商品信息: 升级版!get官方防伪鉴定扣2.0","extra":{"device_info":[]},"time_paid":null,"time_expire":1594717311,"time_settle":null,"transaction_no":null,"refunds":{"object":"list","url":"/v1/charges/ch_101200714554105620480006/refunds","has_more":false,"data":[]},"amount_refunded":0,"failure_code":null,"failure_msg":null,"metadata":{},"credential":{"object":"credential","wx":{"appId":"wx2b235906c0791754","partnerId":"1264166701","prepayId":"wx1415015201238429fabb35841843557200","nonceStr":"0c7b82b9f0cd3bec6b2bf23d7cf7b895","timeStamp":1594710112,"packageValue":"Sign=WXPay","sign":"C51353FB26AC4CA58A1CA83ACC3A299F"}},"description":null}
调用失败 charge {"id":"ch_101200714565876029440008","object":"charge","created":1594711261,"livemode":true,"paid":false,"refunded":false,"reversed":false,"app":"app_zr1Oy95e1mP0H040","channel":"wx","order_no":"SO20071408403s112861","client_ip":"115.194.104.59","amount":137400,"amount_settle":137400,"currency":"cny","subject":"球鞋指数: 装备购买","body":"球鞋指数单号:SO20071408403","extra":{},"time_paid":null,"time_expire":1594712161,"time_settle":null,"transaction_no":null,"refunds":{"object":"list","url":"/v1/charges/ch_101200714565876029440008/refunds","has_more":false,"data":[]},"amount_refunded":0,"failure_code":null,"failure_msg":null,"metadata":{},"credential":{"object":"credential","wx":{"appId":"wx1f9463e3b0d5356f","partnerId":"1490382642","prepayId":"wx141521014663378011fd7fb51109514600","nonceStr":"52d706730dc3a8d30e2b47815cad0934","timeStamp":1594711261,"packageValue":"Sign=WXPay","sign":"2477D942081087DCADD66BDBEDD7277A"}},"description":null}
The text was updated successfully, but these errors were encountered:
我看你的微信 appId 是不一样的,那有没有确认过,失败的这个 appId 微信那边配置的包名签名跟你这个 apk 的包名签名是不是匹配? iOS 可以调用是因为 iOS 不需要验证包名签名。
Sorry, something went wrong.
No branches or pull requests
有两种订单类型, 一种订单类型调用微信支付是可以成功调用的, 但是另一种订单类型调用微信就总是失败
finish activity pay_result=fail, error_msg=channel_returns_fail, extra_msg=wx_err_code:-1
这是 SDK 返回的错误信息
刚开始以为是 charge 的问题, 但是给 IOS 的同事试了一下是可以调用的, 还望官方能给一点意见, 看看是哪里的问题
调用成功 charge
{"id":"ch_101200714554105620480006","object":"charge","created":1594710111,"livemode":true,"paid":false,"refunded":false,"reversed":false,"app":"app_OO4iz5zTC04Sivff","channel":"wx","order_no":"MO20071415014801258","client_ip":"115.194.104.59","amount":1200,"amount_settle":1200,"currency":"cny","subject":"get订单:MO20071415014801258","body":"商品信息: 升级版!get官方防伪鉴定扣2.0","extra":{"device_info":[]},"time_paid":null,"time_expire":1594717311,"time_settle":null,"transaction_no":null,"refunds":{"object":"list","url":"/v1/charges/ch_101200714554105620480006/refunds","has_more":false,"data":[]},"amount_refunded":0,"failure_code":null,"failure_msg":null,"metadata":{},"credential":{"object":"credential","wx":{"appId":"wx2b235906c0791754","partnerId":"1264166701","prepayId":"wx1415015201238429fabb35841843557200","nonceStr":"0c7b82b9f0cd3bec6b2bf23d7cf7b895","timeStamp":1594710112,"packageValue":"Sign=WXPay","sign":"C51353FB26AC4CA58A1CA83ACC3A299F"}},"description":null}
调用失败 charge
{"id":"ch_101200714565876029440008","object":"charge","created":1594711261,"livemode":true,"paid":false,"refunded":false,"reversed":false,"app":"app_zr1Oy95e1mP0H040","channel":"wx","order_no":"SO20071408403s112861","client_ip":"115.194.104.59","amount":137400,"amount_settle":137400,"currency":"cny","subject":"球鞋指数: 装备购买","body":"球鞋指数单号:SO20071408403","extra":{},"time_paid":null,"time_expire":1594712161,"time_settle":null,"transaction_no":null,"refunds":{"object":"list","url":"/v1/charges/ch_101200714565876029440008/refunds","has_more":false,"data":[]},"amount_refunded":0,"failure_code":null,"failure_msg":null,"metadata":{},"credential":{"object":"credential","wx":{"appId":"wx1f9463e3b0d5356f","partnerId":"1490382642","prepayId":"wx141521014663378011fd7fb51109514600","nonceStr":"52d706730dc3a8d30e2b47815cad0934","timeStamp":1594711261,"packageValue":"Sign=WXPay","sign":"2477D942081087DCADD66BDBEDD7277A"}},"description":null}
The text was updated successfully, but these errors were encountered: