|
|
|
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 -
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.190 seconds.