Click here to Skip to main content
15,888,031 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am Integrating Paypal in my web site in test mode (sandbox). Everything is working fine. Payment is done but when I return to my website back through paypal back to website link it doesen't give transaction id.
But i want to return all the details of that transaction such as Transaction Id, Amount etc.

Could anyone please help me for this.

Thank you.!!
Posted
Updated 12-Sep-13 2:23am
v3
Comments
[no name] 12-Sep-13 9:21am    
Why aren't you asking PayPal?
Member 10669252 24-Mar-14 7:34am    
were i can ask from paypal?
cn u please give me the url?
Member 10669252 24-Mar-14 7:32am    
is it possible to get transaction idfrom paypal,if i have sandbox account?
Actually i am testing the transaction through sandbox account but not getting transaction id..please help me out...thank u..

1 solution

I guess IPN[^] will help you to get the Transaction ID.

Go to the bottom of the article (Section:- "A Sample IPN Message and Response").
Quote:
An IPN message consists of variables that describe the transaction. These variables contain information about you, your customer, and the details of the transaction itself.

Information about the transaction:
test_ipn = 1	                Testing with the Sandbox

transaction_subject =	

txn_id = 61E67681CH3238416	Keep this ID to avoid processing the 
                                transaction twice

txn_type = express_checkout	Type of transaction


Also look at the CodeProject Article on PayPal Explaining IPN[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900