微信支付choosewxpay:fail

这个问题多是由于微信支付目录没有写到最后一级

解决办法

比如原支付目录预留路径是http://xxx.com/wxpay/,但是实际支付目录是http://xxx.com/wxpay/test/index,在该目录下调用失败,将实际支付目录改为http://xxx.com/wxpay/index即可

原文地址:https://www.cnblogs.com/lantor/p/7429326.html