Solved

blank payment_status for paypal ipn

Posted on 2011-03-08
3
771 Views
Last Modified: 2013-11-10
Title:
blank resultcode for ipnQuestion:
in the paypal ipn
blank payment_status



I think this may have been a refund

is there a rule that empty payment_status = refunds
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 250 total points
ID: 35072492
I don't see that in any of the IPN documentation.  There is a status defined for refunds.

payment_status = Refunded


Nowhere does PayPal say that a blank value can exist but there is at least one software product out there that use IPN that accounted for the case where the status was blank because it caused issues somewhere else in their code.
0
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 35075709
Scan this page for the string, "payment_status".  A blank payment_status appears to be undefined.  It might be helpful to see the rest of the POST variables that came to the IPN.  Can you post an example that shows the entire POST vars?
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables
0
 

Author Closing Comment

by:rgb192
ID: 35086182
thanks
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question