|
|
|
Rank: Starting Member
Groups: Registered
Joined: 2/12/2003 Posts: 6 Location: ,
|
Here's my situation. I'd like to know if it's possible for me to
keep track of every sales made on a site with the Paypal shopping cart. There's a few different dealers.
Would it be possible for me to know if one dealer made a sale?
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 4/25/2003 Posts: 3 Location: ,
|
if the dealers have different websites, get them to embed a hidden field in the shopping cart or paypal button that is their unique id.
ie <input type="hidden" name="dealerid" value="342432">
then pass it through to paypal, have ipn send it to your ipn script.
In your database put another field in your transaction record table something like dealerid and have another table with all your dealers details and their unique id number. Have the IPN script add the dealerid to every transaction.
then if you want to do a report on a specific dealer to see what they have sold to an SQL report something like: select * from transactionRecordTable where dealerID = "$dealerID"
hope that gives you some ideas anyway
- paul -
- paul -
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 2/12/2003 Posts: 6 Location: ,
|
Hi Paul, thanks a lot for your message.
Which input should I put to tell Paypal to send me the informations about the sales which have been made with the Paypal shopping cart?
Is it : <input type="hidden" name="notify_url" value="http://www.mysite.com/myscript.php">
?
Would that myscript.php extract the values sent by Paypal?
Thanks in advance.
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.122 seconds.