Home > Backend Development > PHP Tutorial > 微信支付集成错误

微信支付集成错误

WBOY
Release: 2016-06-06 20:08:45
Original
923 people have browsed it

1.本人利用wordpress搭建电子商城,商城插件是woocommerce,支付插件是wordpress下载的wechat-payment-for-woo支付插件,在wordpress后台安装和填写好了相关的商家支付信息(原来可以用),在测试的过程中出现支付接口不能调用的情况。
2.请通过微信扫描下方的二维码来完成支付时,二维码不能显示
3.后台错误日志
2016-05-14 14:21:55 Pay order with weChat payment
2016-05-14 14:22:03 Pay order with weChat payment
2016-05-14 14:22:03 Response of WxPayApi::unifiedOrder:Array
(

<code>·[return_code] => FAIL
 [return_msg] => 您没有原生支付权限
</code>
Copy after login
Copy after login

)
4.谢谢!

回复内容:

1.本人利用wordpress搭建电子商城,商城插件是woocommerce,支付插件是wordpress下载的wechat-payment-for-woo支付插件,在wordpress后台安装和填写好了相关的商家支付信息(原来可以用),在测试的过程中出现支付接口不能调用的情况。
2.请通过微信扫描下方的二维码来完成支付时,二维码不能显示
3.后台错误日志
2016-05-14 14:21:55 Pay order with weChat payment
2016-05-14 14:22:03 Pay order with weChat payment
2016-05-14 14:22:03 Response of WxPayApi::unifiedOrder:Array
(

<code>·[return_code] => FAIL
 [return_msg] => 您没有原生支付权限
</code>
Copy after login
Copy after login

)
4.谢谢!

你看相关文档对于这个错误的解释

微信支付需要在微信公众平台设置支付权限目录的,你看看是不是没设置好那个授权目录

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template