WeChat Payment Official SDK card payment error

Source: Internet
Author: User
The great gods of the Forum were good,

Through the quick Build Guide to build payment, some payment methods succeed, some unsuccessful, please help analyze what is the reason? Thank you
①, installation configuration nginx+phpfpm+php
②, build SDK extract to site root directory
③, modify the information for the merchant number lib/wxpay.config.php for yourself (configuration is described) (configuration is configured as described)
⑤, download the certificate replace the file under CERT (the certificate has been replaced with its own)
⑥, Construction completed

Post-Test

JSAPI Payment Success

Credit card payment (unsuccessful) after entering the correct authorization code, the submission shows: "The interface call failed, please confirm whether the input is wrong!" "or display blank, but through http://paysdk.weixin.qq.com/input the correct code can pay, ask the biggest question is where?" Thank you

Scan payment mode one (unsuccessful) sweep code is displayed after: "Vendor order access timed out or returned HTTP code was not 200."

Scan Payment mode two (success)

Just study, please master a lot of forgive, thank you

Reply content:

The great gods of the Forum were good,

Through the quick Build Guide to build payment, some payment methods succeed, some unsuccessful, please help analyze what is the reason? Thank you
①, installation configuration nginx+phpfpm+php
②, build SDK extract to site root directory
③, modify the information for the merchant number lib/wxpay.config.php for yourself (configuration is described) (configuration is configured as described)
⑤, download the certificate replace the file under CERT (the certificate has been replaced with its own)
⑥, Construction completed

Post-Test

JSAPI Payment Success

Credit card payment (unsuccessful) after entering the correct authorization code, the submission shows: "The interface call failed, please confirm whether the input is wrong!" "or display blank, but through http://paysdk.weixin.qq.com/input the correct code can pay, ask the biggest question is where?" Thank you

Scan payment mode one (unsuccessful) sweep code is displayed after: "Vendor order access timed out or returned HTTP code was not 200."

Scan Payment mode two (success)

Just study, please master a lot of forgive, thank you

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.