Why is the return status of paypal unsuccessful?

Source: Internet
Author: User
Why is the return status of paypal unsuccessful? Paypal payment

I am now working on a paypal payment interface. After I make the payment, I will return the verification status, which is invalid. it neither succeeds nor Fails. what is the problem?
If (strcmp ($ res, "VERIFIED") = 0)
{
Insert into table (a, B) values (1, 2 );
} Else if (strcmp ($ res, "INVALID") = 0 ){
Insert into table (a, B) values (11,22 );
Return flase;
}

Neither of them is executed. is this ipn on the official website? Is it wrong? Nothing returned? Solution!


Reply to discussion (solution)

See what you return (strcmp ($ res, "VERIFIED") = 0
Paste the result.

You can add me to see what your situation is, PayPal account manager James, QQ288016500

See what you return (strcmp ($ res, "VERIFIED") = 0
Paste the result.

I don't know why I didn't return anything.

Nothing is returned. What are you doing? At least how does $ res come out? you should give the code.

If you have any questions, please contact us.

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.