Jump to content


Photo

CF-5 to CFMX IPN no work now


  • This topic is locked This topic is locked
1 reply to this topic

#1 denny1

denny1

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 09 July 2003 - 11:35 AM

I just upgraded my server from CF5 to CFMX now my IPN does not work.
Now getting the dreaded error: "Element Field Names is undefined in Form"
Anyone else have same problem?


#2 jkrudeen

jkrudeen

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 10 September 2003 - 01:03 PM

I remember that I used to get this error when I was first developing a site where we are using CFMX.

My solution was this:

On the page where you submit the values to PayPal (for the first time in the IPN process). In the form, you need to add the line, anywhere between the <form> and </form> tag.

<input type="hidden" name="rm" value="2">

I learned that this tells PayPal how to send the return values back.
--Value of "1", the values sent back to the return URL using a GET method, and no transaction variables will be submitted.
--Value of "2", sent back to return URL using a POST method, to which all available transaction variables will also be posted.
--If omitted or set to “0”, GET methods will be used for all Subscriptions transactions and Single Item Purchase, Donations, or Shopping Cart transactions




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users