YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

not receiving form fields Options
lsinger
#1 Posted : Tuesday, January 28, 2003 10:45:10 AM
Rank: Starting Member

Groups: Registered

Joined: 1/28/2003
Posts: 3
Location: ,
I am posting, in part, this to you: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="return" value="http://www.cardsandinvites.com/many/paypal_success.asp"> <input type="hidden" name="rm" value="2"> The payment process goes smoothly until I "continue" back to my site. The form is there with all of the hidden variables, but I am not receiving any form fields. I get the following error: Request object error 'ASP 0101' Unexpected error /many/paypal_success.asp, line 5 The function returned |. Line 5 is: For Each strKey In Request.Form If I copy the form from the source of PayPal's page, and test with it locally, everything works fine. Is it because I am posting back to an insecure page? Is my server not accepting them? Any insight you can provide will be greatly appreciated.
Sponsor  
 
PayPalStephen
#2 Posted : Tuesday, January 28, 2003 1:58:38 PM
Rank: Starting Member

Groups: Registered

Joined: 10/17/2002
Posts: 2,139
Location: ,
Is your return page set to handle a post?

Stephen Ivaskevicius
PayPal/eBay, Inc.
www.paypal.com/pdn
lsinger
#3 Posted : Wednesday, January 29, 2003 10:06:30 AM
Rank: Starting Member

Groups: Registered

Joined: 1/28/2003
Posts: 3
Location: ,
Yes, it is. I made a test page on my server that posts to it successfully -- i.e. it receives the form fields and processes based on their values.
paypal_pb
#4 Posted : Thursday, January 30, 2003 8:14:18 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
So if you click "Continue" on the PayPal page, you get an error, but if you save that source, open the file in a browser and click "Continue" it works OK?

Those two should work identically.

You might have a look at our sample code which specifically does this routine differently for reliability (i.e., does not use "For each").

http://www.paypal.com/cg...cl/rec/ipn-code-outside

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
lsinger
#5 Posted : Saturday, February 01, 2003 1:07:13 PM
Rank: Starting Member

Groups: Registered

Joined: 1/28/2003
Posts: 3
Location: ,
Yep, it's completely wierd. I appreciate the code samples, and will no doubt move to the IPN system in the future. For the moment though, I'm trying to keep it simple. I ended up solving the problem by passing the key piece of data as part of the return URL. Go figure. It's probably my server.

Thanks so much for your help.
Lauren
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.280 seconds.