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


    Hi @calmsmile !
    First thing to check is if the QR Payment callback URL in WeChatPay backend t 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?

    Plugin Author Alexandre Froger


    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!

    Yes I using the Wechat Open platform + WechatPay not the Wechat Official Accounts Platform. here is my settings on wp-weixin plugin

    the H5 needs call back url ? if need, the url is?

    Plugin Author Alexandre Froger


    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.