PHP Development Micro-credit payment problems

Source: Internet
Author: User
Tags php server
The Official PHP Payment demo Many people react with problems. Did you pay for PHP? How do you change it?


Reply to discussion (solution)

The latest demo seems a bit of a problem, you can debug breakpoints under.

The latest demo seems a bit of a problem, you can debug breakpoints under.


There are reports of curl_close () errors. The PHP server configuration has the show curl is enable. Would it be Curl's problem? Ask where the breakpoint debugging AH. The feeling of novice confused.

The official download example does have errors, and you can simply comment out the Curl statement in the line where the error was made. I forgot the exact statement.
In addition to this, there is another error, I was based on the error to solve the problem, you check.
I remember just two mistakes.

The official download example does have errors, and you can simply comment out the Curl statement in the line where the error was made. I forgot the exact statement.
In addition to this, there is another error, I was based on the error to solve the problem, you check.
I remember just two mistakes.


Solved. There is a curl_close,if else before if else, and the block above is fine. It succeeded in solving the mistake. Ask the parameters inside the price parameters how to pass the past AH. I do not write 1 cents, is the variable how to preach ah?


The official download example does have errors, and you can simply comment out the Curl statement in the line where the error was made. I forgot the exact statement.
In addition to this, there is another error, I was based on the error to solve the problem, you check.
I remember just two mistakes.


Solved. There is a curl_close,if else before if else, and the block above is fine. It succeeded in solving the mistake. Ask the parameters inside the price parameters how to pass the past AH. I do not write 1 cents, is the variable how to preach ah?


Look at her documents, as long as your variables are the number you want to pass, not passed, what is the problem?
For example, if you want to pass a dollar, then the variable $num = 100, and then 1 points to place the variable is not good.



The official download example does have errors, and you can simply comment out the Curl statement in the line where the error was made. I forgot the exact statement.
In addition to this, there is another error, I was based on the error to solve the problem, you check.
I remember just two mistakes.


Solved. There is a curl_close,if else before if else, and the block above is fine. It succeeded in solving the mistake. Ask the parameters inside the price parameters how to pass the past AH. I do not write 1 cents, is the variable how to preach ah?


Look at her documents, as long as your variables are the number you want to pass, not passed, what is the problem?
For example, if you want to pass a dollar, then the variable $num = 100, and then 1 points to place the variable is not good.


$num =100 This can be
is actually $num=$_get[' num ']
This way the page will change after getting the code and then the parameters will be lost.
Put the parameters in the URL, the URL can not be used in normal mode, perhaps using PathInfo mode can solve the problem. I don't know if there are any other ways to solve the problem.

has been solved. Parameters can be passed in the state. The end of this thread. Thank you for your answer.

  • Related Article

    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.