Support » Plugin: Payment gateway for WooCommerce - Woo WeChatPay » Error generating the payment QR code.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alexandre Froger

    (@frogerme)

    Hi @calmsmile !
    First thing to check is if the QR Payment callback URL in WeChatPay backend t https://pay.weixin.qq.com/index.php/extend/pay_setting is exactly the same as the one indicated in WP Weixin WeChat Pay Settings section. It should end with wc-api/WC_WechatPay/.

    there has 3 types to paste the url: “JSAPI支付” “Native支付” “H5支付” .
    “my_website/wc-api/WC_WechatPay/” paste in ? JSAPI or Native or H5?
    QQ截图20200313184246.png

    Plugin Author Alexandre Froger

    (@frogerme)

    I think this is where your issue comes from!

    • JSAPI is in-WeChat app payment
    • Native is web (QR code) payment
    • H5 is web (mobile browser, calling the WeChat app) payment

    So here, you need to put the my_website/wc-api/WC_WechatPay/ in the Native支付 field 🙂 !

    Yes I put the my_website/wc-api/WC_WechatPay/ in the Native field.
    but the error since I put the wrong AppSecret key in the API secure key field there QQ截图20200313190937.png but i have never config the api secure key wer.jpg

    Now it works!
    QQ截图20200313192252.pngQQ截图20200313192117.png

    Yes I using the Wechat Open platform + WechatPay not the Wechat Official Accounts Platform. here is my settings on wp-weixin plugin
    QQ截图20200313202434.pngQQ截图20200313202411.pngQQ截图20200313202546.pngQQ截图20200313202510.pngQQ截图20200313202559.png

    the H5 needs call back url ? if need, the url is?
    QQ截图20200313202822.pngQQ截图20200313203028.png

    Plugin Author Alexandre Froger

    (@frogerme)

    In the WP Weixin settings, under the “QR Payment callback URL” we just talked about, you can find the “H5 Payment Domain name” for that :).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error generating the payment QR code.’ is closed to new replies.