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

Passing Variables Through PayPal? Options
ppichugin
#1 Posted : Thursday, May 08, 2003 1:51:00 PM
Rank: Starting Member

Groups: Registered

Joined: 4/25/2003
Posts: 3
Location: ,
Hey All, Probably just a simple question, but I can't seem to get my scrip to work. The whole IPN stuff is working fine, and my script runs when the "VERIFIED" variable is returned. What I am having problems with is passing variables through paypal. I've tried putting them into a session, but that doesn't work either. What I need to do is have paypal accept a large number of variables and pass them straight through to the script that is run when verified is returned. Any Ideas? - paul -
Sponsor  
 
jefree1
#2 Posted : Monday, May 12, 2003 9:18:15 AM
Rank: Starting Member

Groups: Registered

Joined: 5/12/2003
Posts: 6
Location: ,
There is only one custom field you can "pass through" using PayPal's IPN and that is the custom field. I would recommend feeding your data into a database with a unique id, assigning that to the PayPal custom field and then reading the data out of the database once the script is run.
toddw
#3 Posted : Thursday, July 10, 2003 10:32:03 PM
Rank: Starting Member

Groups: Registered

Joined: 7/10/2003
Posts: 13
Location: ,
You can do this the way jefree1 said or you can save your custom field for something else.

For my database of customers the unique ID is their e-mail, meaning there is no duplciate "e-mails" in the system, and I also have another field for "ppemail" (paypal email).

So the PP Transaction is stored in my mysql database, and I retrieve transactions for the user by their "ppemail" address, and use the custom field to carry other information I need as well.

Another good unique ID to use would be their phone number.

When adding customers to your database though you have to have error checking so that it WILL NOT allow duplicate entrys.
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.190 seconds.