Click here to Skip to main content
16,004,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone!

I have windows application. I need such a functionality that when customer make any
transaction in my account, I get the IPN data from paypal web service. IN this service i will write a code to insert recieved IPN data in my sql server table.
I am using visual studio 2010.

Please reply me soon........
Posted

1 solution

The Paypal IPN only uses HttpRequest. Fortunately, you can send an HTTP request from a windows application. You can use the WebHttpRequest to send HTML on the format specified by the Paypal IPN.

http://msdn.microsoft.com/en-us/library/system.web.httprequest.aspx[^]

If you like this answer, please accept it as answer.
 
Share this answer
 
Comments
sharmaravi123 3-Aug-12 6:01am    
ok..
I got one solution that I will get IPN data on one php page and it will post that data on web service. How to create web method in web service in visual studio 2010 that insert data.
Ruselo Riva Asentista 8-Aug-12 6:07am    
You just simulate a POST request to the IPN. This is an example of a desktop application that simulates a POST request to login to facebook. I hope it helps.
http://stackoverflow.com/questions/8425593/c-sharp-httpwebrequest-post-login-to-facebook

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