Jump to content


Photo

Not getting a "Verified" or "Denied" response


  • This topic is locked This topic is locked
8 replies to this topic

#1 Guest(old)

Guest(old)

    Junior Member

  • Members
  • 312 posts

Posted 21 November 2002 - 09:29 AM

Using IPN: I receive the post from paypal and append the "cmd=_notify-validate" string and post it back to paypal. They are supposed to respond with a Verified or Denied response. Instead they respond with an HTML page. Anyone know why? I have captured the traffic and it appears below.

? stest
"payment_date=16%3a52%3a27+Nov+20%2c+2002+PST&txn_type=web_accept&last_name=McAuley&pending_reason=intl&payment_gross=&item_name=Redirect+Test&mc_currency=CAD&payment_type=instant&business=rodm%40rpcorp.com&address_street=119-933+Harvey+Ave.&verify_sign=Azpe3AJHJMJa7rvKn2WDtqO05mXtA8fbm.fmGA8IeobEeRjhxX4hq5QQ&payer_status=intl_unverified&payer_email=rodmcauley%40shaw.ca&tax=0.00&txn_id=38C5989602201105H&address_status=unconfirmed&first_name=Rod&quantity=1&receiver_email=rodm%40rpcorp.com&payer_id=KU4L6UX98REHN&address_city=Kelowna&item_number=&payment_status=Pending&address_state=British+Columbia&mc_gross=3.01&address_zip=V1Y+9S1&custom=¬ify_version=1.4&address_country=Canada&address_name=Rod+McAuley"
? strSend
"payment_date=16%3a52%3a27+Nov+20%2c+2002+PST&txn_type=web_accept&last_name=McAuley&pending_reason=intl&payment_gross=&item_name=Redirect+Test&mc_currency=CAD&payment_type=instant&business=rodm%40rpcorp.com&address_street=119-933+Harvey+Ave.&verify_sign=Azpe3AJHJMJa7rvKn2WDtqO05mXtA8fbm.fmGA8IeobEeRjhxX4hq5QQ&payer_status=intl_unverified&payer_email=rodmcauley%40shaw.ca&tax=0.00&txn_id=38C5989602201105H&address_status=unconfirmed&first_name=Rod&quantity=1&receiver_email=rodm%40rpcorp.com&payer_id=KU4L6UX98REHN&address_city=Kelowna&item_number=&payment_status=Pending&address_state=British+Columbia&mc_gross=3.01&address_zip=V1Y+9S1&custom=¬ify_version=1.4&address_country=Canada&address_name=Rod+McAuley&cmd=_notify-validate"
? strResponse
"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>

<!--
Script info: Script: WEBSCR, Cmd: , Template: p/wel/index-outside, Version: 15.0-277, Templates: 15.0-280, Date: Mon Nov 18 17:56:56 2002
-->

<title>PayPal - Welcome</title>

<META http-equiv="DESCRIPTION" content="PayPal lets you send money to anyone with email. PayPal is free for consumers and works seamlessly with your existing credit card and checking account. You can settle debts, borrow cash, divide bills or split expenses with friends all without going to an ATM or looking for your checkbook.">
<META http-equiv="KEYWORDS" content="Send, money, payments, credit, credit card, instant, money, financial services, mobile, wireless, WAP, cell phones, two-way pagers, Windows CE">




<link rel="stylesheet" type="text/css" href="/css/pp_styles_111402.css">







<script src="/js/pp_main.js"></script>
<link rel="shortcut icon" href="/images/pp_favicon.ico">
</head>
















<body bgcolor="#ffffff"



>





<table cellpadding=0 cellspacing=0 border=0 align=center width=600>
<tr>

<td nowrap align=left><a href="http://www.paypal.com/cgi-bin/webscr?cmd=_home"><img src="/images/paypal_logo.gif" border="0"></a></td>



<td width=100% align=center class="pptext"> </td>




<td nowrap class="pptext"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run"><b>Sign Up</b></a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_login-run">Log In</a> | <a href="http://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&source_page=">Help</a></td>


</tr>
</table>

<br class="h5">
<table cellpadding=0 cellspacing=0 border=0 align=center width=100%>
<tr>

<td background="/images/tabs/bg.gif" width=100%>

<table border=0 cellpadding=0 cellspacing=0 align=center>
<tr>

<td><a href="http://www.paypal.com/cgi-bin/webscr?cmd=_home"><img src="/images/tabs/P_on_welcome.gif" border=0 width=135 height=36 alt="Welcome"></a></td>


<td><img src="/images/pixel.gif" width=1 height=1></td>


<td><a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/ema/index-outside"><img src="/images/tabs/P_off_send_money.gif" border=0 width=135 height=36 alt="Send Money"></a></td>


<td><img src="/images/pixel.gif" width=1 height=1></td>


<td><a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/req/index-outside"><img src="/images/tabs/P_off_request_money.gif" border=0 width=157 height=36 alt="Request Money"></a></td>


<td><img src="/images/pixel.gif" width=1 height=1></td>


<td><a href="http://www.paypal.com/cgi-bin/webscr?cmd=_shop-ext"><img src="/images/tabs/P_off_shop.gif" border=0 width=90 height=36 alt="Shop"></a></td>


<td><img src="/images/pixel.gif" width=1 height=1></td>


<td><a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/sell/index-outside" class="pptabtext"><img src="/images/tabs/P_off_sell.gif" border=0 width=81 height=36 alt="Sell"></a></td>


</tr>
</table>


<img src="/images/pixel.gif" width=1 height=20>

</td>


<td><img src="/images/pixel.gif" width=1 height=59></td>

</tr>
</table>

<img src="/images/pixel.gif" width=1 height=10><br>














<table width="600" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="150" valign="top">

<TABLE width="150" cellspacing="0" cellpadding="3" border="0" bgcolor="#CCCCCC">
<TR>
<TD class="pptextbold"> Member Log In</TD>
</TR>
</TABLE>
<TABLE width="150" cellspacing="0" cellpadding="1" border="0" bgcolor="#CCCCCC">
<TR>
<TD><FORM method="post" NAME="login_form"
action="https://www.paypal.com/cgi-bin/webscr?__track=_home:p/wel/index-outside:_login-submit">
<INPUT type="hidden" name="cmd" value="_login-submit">

<table width="100%" cellspacing="0" cellpadding="9" border="0" bgcolor="#EEEEEE">
<tr>
<td>

<TABLE width="100%" cellspacing="0" cellpadding="0" border="0">
<TR>
<TD><span class="ppsmalltext">Email Address<br></span>
<input type="text" name="login_email" value="" size="15" maxlength="256"></TD>
</TR>
<TR>
<TD><IMG src="/images/pixel.gif" width="1" height="5" border="0"></TD>
</TR>
<TR>
<TD><span class="ppsmalltext">Password<br></span>
<input type="password" name="login_password" value="" size=15 maxlength=40></TD>
</TR>
<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers
if (document.login_form.login_email.value == '')
document.login_form.login_email.focus();
else
document.login_form.login_password.focus();
// done hiding -->
</script>
<TR>
<TD><IMG src="/images/pixel.gif" width="1" height="5" border="0"></TD>
</TR>

<TR>
<TD>
<TABLE width="100%" cellspacing="0" cellpadding="0" border="0">
<TR>
<TD align="right"><input type="submit" name="submit.x" value="Log In" alt="Log In"></TD>
</TR>
<TR>
<TD><IMG src="/images/pixel.gif" width="1" height="5" border="0"></TD>
</TR>
<TR>
<TD align=center><span class="ppsmalltext"><A href="https://www.paypal.com/cgi-bin/webscr?cmd=_forgot-password">Forget your password?</A></span></TD>
</TR>
<TR>
<TD><IMG src="/images/pixel.gif" width="1" height="5" border="0"></TD>
</TR>
<TR>
<TD align=center><span class="ppsmalltext"><A href="javascript:eval(tmp=window.open('https://www.paypal.com/cgi-bin/webscr?cmd=p/gen/popup_domain-outside','popwin','width=500,height=400,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0'));tmp.focus();" class="ppsmalltext">Protect your password</A></span></TD>
</TR>
</TABLE>

</TD>
</TR>
</FORM>
</TABLE>

</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>


<br>

<table width="150" cellspacing="0" cellpadding="3" border="0" bgcolor="#CCCCCC">
<tr>
<td class="pptextbold"> In the News</td>
</tr>
</table>
<table width="150" cellspacing="0" cellpadding="1" border="0" bgcolor="#CCCCCC">
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="7" border="0" bgcolor="#EEEEEE">
<tr>
<td class=ppsmalltext>

<b>Update:</b> <a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/auc/ebay/hub_intro-outside">eBay acquires PayPal</a>
<br><br>PayPal 2002 Best eCommerce Solution<br>- <b>SIIA Codie Award</b>
<br><br><a href="/html/press/083002InfoWorldMax.html" target="_new">Secure and at Ease</a><br>- <b>Infoworld</b>
<br>

</td>
</tr>
</table>
</td>
</tr>
</table>

<br>
<table border=0 cellpadding=0 cellspacing=0 align=right>
<tr>
<td><img src="/images/icon_visa.gif" border="0" alt="Visa"><img src="/images/icon_mastercard.gif" border="0" alt="MasterCard" hspace=2><img src="/images/icon_discover.gif" border="0" alt="Discover"><img src="/images/icon_amex.gif" border="0" alt="American Express" hspace=2></td>
</tr>
</table>
</td>
<td width="20"><img src="/images/pixel.gif" width="20" height="1" border="0"></td>
<td width="430" valign="top">
<table width="430" cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="2"><img src="/images/top_image_home.gif" width="430" height="21" border="0"></td>
</tr>
<tr>
<td colspan="2"><img src="/images/pixel.gif" width="1" height="15" border="0"></td>
</tr>
<tr>
<td width="255" valign="top"><span class="ppbigtext"><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/ema/index-outside"><b>Send Money</b></A><br></span>
<span class="pptext">Pay anyone with an email address<br></span>
<br class="h10">
<span class="ppbigtext"><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/req/index-outside"><b>Request Money</b></A><br></span>
<span class="pptext">Send a personal or group bill<br></span>
<img src="/images/pixel.gif" width="230" height="1" border="0"></td>
<td width="175"><a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/wel/bonus-outside"><img src="/images/box_bonus.gif" width="175" height="80" alt="Get $5 for signing up!" border="0"></A></td>
</tr>
<tr>
<td colspan="2" align=center><img src="/images/pixel.gif" width="1" height="15" border="0"><br>
<span class="pptext"><b>Over 20 million members <A HREF="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/approved_countries-outside">worldwide</A>!</b>
<br><img src="/images/pixel.gif" width="1" height="15" border="0"></span></td>
</tr>
</table>
<table width="430" cellspacing="0" cellpadding="1" border="0" bgcolor="#CCCC33">
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="5" border="0" bgcolor="#FFFFCC">
<tr>
<td align="center"><span class="ppbigtext"><A href="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run"><b>Sign up for your FREE PayPal Account!</b></A></span></td>
</tr>
</table>
</td>
</tr>
</table>
<br class="h15">
<table width=100% cellpadding=5 cellspacing=0 border=0>
<tr bgcolor="#eeeeee">
<td class="pptextbold">Spotlight</td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr bgcolor="#cccccc">
<td><img src="/images/pixel.gif" width=1 height=1></td>
</tr>
</table>
<br class="h12">

<table width="430" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="45" valign="top"><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/sell/index-outside"><img src="/images/icon_cash_35.gif" width="35" height="35" border="0" hspace="5" vspace="5"></A></td>
<td width="10"><img src="/images/pixel.gif" width="10" height="1" border="0"></td>
<td width="375" valign="top"><span class="pptext"><span class="ppsubheading"><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/sell/index-outside">Businesses</A></span>
<br>PayPal is the easiest and cheapest way for small businesses and websites to accept payments online.
<br><A href="https://www.paypal.com/cgi-bin/webscr?cmd=_business-register">Sign up</A> now!</span>
</td>
</tr>
<tr>
<td colspan="3"><br class="h12"></td>
</tr>
<tr>
<td width="45" valign="top"><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/auc/index-outside"><img src="/images/icon_sold_35.gif" width="35" height="35" border="0" hspace="5" vspace="5"></A></td>
<td width="10"><img src="/images/pixel.gif" width="10" height="1" border="0"></td>
<td width="375" valign="top"><span class="pptext"><span class="ppsubheading"><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/auc/index-outside">Auctions</A></span>
<br>Fast, easy, secure auction payments.
<br>Trusted on over 5 million auctions.</span>
</td>
</tr>
<tr>
<td colspan="3"><br class="h10"></td>
</tr>
</table>
</td>
</tr>
</table>

<br><br>

<table width=600 cellspacing=0 cellpadding=0 border=0 align=center>
<tr>
<td align=center class="ppfooter"><br>
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/about-outside">About Us</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/accounts-outside">Accounts</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/fees-outside">Fees</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/privacy-outside">Privacy</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/security-main-outside">Security Center</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/terms-outside">User Agreement</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/intro-outside">Developers</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/logos-outside">Referrals</a> |
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&source_page=">Help</a><br>
<br>
<img src="/images/ebay_co.gif" align="" alt="" width="100" height="12"><br><br class="h10">
Copyright © 2002 PayPal. All rights reserved.<br>
<a href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/fdic-outside">Information about FDIC pass-through insurance</a></td>
</tr>
</table>

<!-- end footer -->

<table cellspacing="0" cellpadding="20" border="0" align="center">
<tr>
<td><A href="http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/privacy-outside"><img src="/images/trustmark.gif" width=116 height=31 border="0" alt="Truste"></A></td>
<td><a href="http://www.bbbonline.org/cks.asp?id=20111061155818568" TARGET=_blank><img src="/images/bbbmark.gif" width=116 height=31 border=0 alt="Better Business Bureau Online"></a></td>
</tr>
</table>

</body>
</html>"


#2 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 21 November 2002 - 10:48 AM

Only problem I see is that payment_date should be:

payment_date=16%3A52%3A27+Nov+20%2C+2002+PST

Not:

payment_date=16%3a52%3a27+Nov+20%2c+2002+PST

The %XX encoding looks slightly off. Letters should be capitalized. Are you using our sample code?

http://www.paypal.co...pn-code-outside

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#3 Guest(old)

Guest(old)

    Junior Member

  • Members
  • 312 posts

Posted 22 November 2002 - 02:20 PM

I am using the PayPalIPN class from Invoice Exchange. I tried using the code from PayPal but I could not make it run. The line:

CmdString = CmdString & "&cmd=_notify-validate"

gave an error. CmdString must be type NameValueCollection but you can not append a string to it.

#4 Jeff_Beavers

Jeff_Beavers

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 09 January 2003 - 08:15 PM

I'm getting the same thing. Did you ever figgure out what was causing it?



#5 Jeff_Beavers

Jeff_Beavers

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 09 January 2003 - 08:50 PM

Actually, if I cut and paste the response into a browser, I do get a VERIFIED, but from withing the project, I keep getting the .html page response. I am using the code from the asp code section on the paypal site.



#6 Jeff_Beavers

Jeff_Beavers

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 09 January 2003 - 08:56 PM

Ok, I found a work around.

I did this, and it works. Hack, but it works.

objHttp.Open "POST", "https://www.paypal.com/cgi-bin/webscr?" & str, FALSE
objHttp.Send " "

Runs fine. WHy would it work like this, but not like your sample code?



#7 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 10 January 2003 - 12:45 PM

It's hard to say. Is that the only change you made? What do you get with:

objHttp.Open "POST", "https://www.paypal.com/cgi-bin/webscr", FALSE
objHttp.Send str

Do you get "INVALID" or something else?

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn

#8 Jeff_Beavers

Jeff_Beavers

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 10 January 2003 - 01:56 PM

If I use the code that you specified, I get a web html page as a return value.



#9 paypal_pb

paypal_pb

    Advanced Member

  • Members
  • 2,960 posts

Posted 10 January 2003 - 02:51 PM

Hmmm...that's strange. Getting a home page would indicate that the system doesn't recognize the "cmd". Sometimes this can happen if the POST string is encoded improperly (e.g., an extra ?). But I don't know why the str would be encoded differently.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users