Question

I just found out that I get the "Add Service Reference" context menu option in a class library project but not in a "Web Site" project.

Now I am too far in this project and i need to use the Paypal Express Checkout option in my website. But when i add a web reference to the API, i do not get a reference.cs class. Is there another option to integrate the API. If yes, a code sample would be great help.

Was it helpful?

Solution 2

as Henk Holterman suggested in the comments above,The option to add a Service Reference is available in .Net Framewrok 3.5 and above.

I upgraded my site to framework 3.5 and it worked out the way i wanted it.

OTHER TIPS

The following links could be useful: http://www.asp.net/web-forms/tutorials/aspnet-45/getting-started-with-aspnet-45-web-forms/checkout-and-payment-with-paypal

The example uses HttpWebRequest to communicate with PayPal. Hope this helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top