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

how do you know who has paid? Options
korbbit
#1 Posted : Thursday, October 28, 2010 10:43:08 PM
Rank: Starting Member

Groups: Registered

Joined: 10/28/2010
Posts: 4
Location: NSW, australia
so before you redirect the customer to paypal you take their name and shipping details, and save them to a database or whatever,
then you redirect them to paypal so they can pay.

then ipn tells you you have received $x.xx dollars from <whatever name they used on paypal>

is that all you have to go off?
is there no way to tell if they are the same person?
what if you happen to get a few people with the same name?


Sponsor  
 
SPRFRKR
#2 Posted : Friday, October 29, 2010 11:53:16 AM
Rank: Administrator

Groups: Administrators, Registered

Joined: 1/30/2008
Posts: 70
Location: ,
You can use either the invoice or custom variable to send the user to PayPal. In the form you submit to PayPal, add a new variable named "custom" and populate it with the id value of the person from the database. Then, in your IPN page, request the form variable custom which will have the id from the database passed all the way through the transaction and back to you.

---
Shannon @ PayLoadz.com
Sell Downloads - eBooks, Videos, Music, Documents, and more...
korbbit
#3 Posted : Saturday, October 30, 2010 6:12:48 AM
Rank: Starting Member

Groups: Registered

Joined: 10/28/2010
Posts: 4
Location: NSW, australia
SPRFRKR wrote:
You can use either the invoice or custom variable to send the user to PayPal. In the form you submit to PayPal, add a new variable named "custom" and populate it with the id value of the person from the database. Then, in your IPN page, request the form variable custom which will have the id from the database passed all the way through the transaction and back to you.


Thankyou so much.
i completely understand what you said. i was unaware that by simply adding another hidden input in the submit form for paypal would make paypal save that variable into the transaction.
is there a list somewhere of what form values do what?
i can build my own shopping cart but i dont know how to communicate with paypal..
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.183 seconds.