WeChat Payment Official SDK card payment error

Source: Internet
Author: User
Dear Friends of the Forum, you can set up payment through quick building guide. Some payment methods are successful and some fail. What are the reasons? Thanks ①. install and configure nginx + phpfpm + php ②. Create an SDK and decompress it to the website root directory ③. Modify libWxPay. Config. php to apply for it. Hello,

You can use the quick building guide to set up payment. Some payment methods are successful and some fail. What are the reasons? Thank you.
① Install and configure nginx + phpfpm + php
② Decompress the SDK to the root directory of the website
③ Modify the information of the merchant ID that lib/WxPay. Config. php has applied for (see the description for configuration) (the configuration has been configured according to the instructions)
⑤ Download the certificate to replace the file under the cert (the certificate has already been replaced with your own)
6. Build complete

Post-test

JSAPI payment successful

After you enter the correct authorization code for credit card payment (unsuccessful), the message "interface call failed. Check whether the entered authorization code is correct !" Or display blank, but you can pay by entering the correct code via http://paysdk.weixin.qq.com/, where is the biggest problem? Thank you.

Scan payment mode 1 (not successful) scan code: "The Vendor order access timed out or returned HTTP code is not 200 ."

Scan Payment Mode 2 (successful)

Thank you for your understanding.

Reply content:

Great gods of the Forum,

You can use the quick building guide to set up payment. Some payment methods are successful and some fail. What are the reasons? Thank you.
① Install and configure nginx + phpfpm + php
② Decompress the SDK to the root directory of the website
③ Modify the information of the merchant ID that lib/WxPay. Config. php has applied for (see the description for configuration) (the configuration has been configured according to the instructions)
⑤ Download the certificate to replace the file under the cert (the certificate has already been replaced with your own)
6. Build complete

Post-test

JSAPI payment successful

After you enter the correct authorization code for credit card payment (unsuccessful), the message "interface call failed. Check whether the entered authorization code is correct !" Or display blank, but you can pay by entering the correct code via http://paysdk.weixin.qq.com/, where is the biggest problem? Thank you.

Scan payment mode 1 (not successful) scan code: "The Vendor order access timed out or returned HTTP code is not 200 ."

Scan Payment Mode 2 (successful)

Thank you for your understanding.

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.