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

PP not passing form.payment_status Options
qwert
#1 Posted : Thursday, March 20, 2003 4:20:08 AM
Rank: Starting Member

Groups: Registered

Joined: 3/20/2003
Posts: 3
Location: ,
here is my error log: "Error","924","03/19/03","22:07:10", An error occurred while evaluating the expression: FORM.payment_status eq ""Completed"" Error near line 23, column 30. Error resolving parameter FORM.PAYMENT_STATUS The specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name. The error occurred while processing an element with a general identifier of (CFIF), occupying document position (23:5) to (23:45). Date/Time: 03/19/03 22:07:10" here is my code: <!-- read post from PayPal system and add 'cmd' --> <CFSET str="cmd=_notify-validate"> <CFLOOP INDEX="TheField" list="#Form.FieldNames#"> <CFSET str = str & "#LCase(TheField)#=#URLEncodedFormat(Evaluate(TheField))#"> </CFLOOP> <CFIF IsDefined("FORM.payment_date")> <CFSET str = str & "&payment_date=#URLEncodedFormat(Form.payment_date)#"> </CFIF> <CFIF IsDefined("FORM.subscr_date")> <CFSET str = str & "&subscr_date=#URLEncodedFormat(Form.subscr_date)#"> </CFIF> <!-- post back to PayPal system to validate --> <CFHTTP URL="https://www.paypal.com/cgi-bin/webscr?#str#" METHOD="GET" RESOLVEURL="false"> </CFHTTP> <!-- check notification validation --> <CFIF #CFHTTP.FileContent# is "VERIFIED"> <!-- check that payment_status=Completed --> <cfif #FORM.payment_status# eq "Completed"> <!-- check that receiver_email is your email address --> <cfif #FORM.RECEIVER_EMAIL# eq "me@myisp.com"> <!-- process payment --> </cfif> </cfif> <CFELSEIF #CFHTTP.FileContent# is "INVALID"> <!-- log for investigation --> <CFELSE> <!--- error ---> </CFIF>
Sponsor  
 
paypal_pb
#2 Posted : Thursday, March 20, 2003 8:21:55 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Are you doing subscriptions? If so, you will not get a payment_status.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
qwert
#3 Posted : Thursday, March 20, 2003 11:11:32 PM
Rank: Starting Member

Groups: Registered

Joined: 3/20/2003
Posts: 3
Location: ,
how do i find out which IPN variables PP passes in subscription mode besides all the subscription variables? i hadnt come across anything noting that paypal does not pass "payment_status" variable in subscription mode, so i wonder what other varibles PP wont pass so i can avoid further errors. thanks!
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.131 seconds.