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

Is there any way to know the completed transaction links to which customer ID? Options
drnszgy
#1 Posted : Thursday, February 11, 2010 2:31:42 PM
Rank: Starting Member

Groups: Registered

Joined: 2/11/2010
Posts: 1
Location: Canada
Hi:

My site has unique customer ID (Not Email address or paypal account).

I created a Pay Now Button and Tried IPN service.

After customer used paypal to complect the transaction, is there any way to link the transaction ID given by Paypal IPN, to customer ID of my Site?

Thanks for the help!

Alan
Sponsor  
 
nds_webdesign
#2 Posted : Tuesday, March 02, 2010 5:18:45 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
I would suggest using a Database, you would use IPN and then pass the userID in the "custom" variable:

Code:
<input type="hidden" name="custom" value="<?php echo "$userID"; ?>">


then you would get that custom variable back in the IPN post then associate it with the transaction ID in the database.

san1704
#3 Posted : Sunday, March 21, 2010 1:56:47 AM
Rank: Starting Member

Groups: Registered

Joined: 3/21/2010
Posts: 3
Location: houston
I have the same query for a ASP .NET application where I maintain the customer records....pls let me know if this suggested approach is working fine for you

Thanks!
nds_webdesign
#4 Posted : Monday, March 22, 2010 12:31:57 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
This will work with IPN and any language, as long as you pass the variable in the POST to PayPal. I don't have an example in ASP.NET but it would be similar to the PHP one above.

If you have further questions please let me know. (nate@ndswebdesign.com)
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.377 seconds.