locked
Paypal integration RRS feed

  • Question

  • User-253940806 posted

    I have a current eCommerce solution using web forms. However, it doesn't use PayPal, but  I would like to start using it. Does anyone have any sample code that I could start with? I'm using vb.net right now with .net 4.5

    Monday, September 24, 2018 5:56 PM

All replies

  • User475983607 posted

    splitfire

    I have a current eCommerce solution using web forms. However, it doesn't use PayPal, but  I would like to start using it. Does anyone have any sample code that I could start with? I'm using vb.net right now with .net 4.5

    This is a very rich and easily Googled subject.

    https://docs.microsoft.com/en-us/aspnet/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/checkout-and-payment-with-paypal

    https://paypal.github.io/PayPal-NET-SDK/

    IMHO, it's a very good idea to learn C# syntax.   There are far more C# developers which means far more C#sample code.  There are VB.NET to C# converters which might make converting easier.

    http://converter.telerik.com/

    Keep in mind the difference between C# and VB is only syntax and syntax is covered in the VB and C# programming guides.

    Monday, September 24, 2018 7:05 PM
  • User61956409 posted

    Hi splitfire,

    PayPal provides HTTP-based RESTful APIs, you can easily integrate PayPal into your ASP.NET Web application by invoking PayPal APIs. Besides, the PayPal .NET SDK that is built on PayPal's REST APIs makes it easy to add PayPal support to .NET web application.

    Does anyone have any sample code that I could start with? I'm using vb.net right now with .net 4.5

    Do not find samples written in VB. This article with example written in C#, you can refer to it to know how to add PayPal support in .NET web application.

    With Regards,

    Fei Han

    Tuesday, September 25, 2018 2:13 AM
  • User1813023915 posted

    I create a running Paypal Demo Sample based of samples I found. The description and sourcecode can be find here PayPal Sample.

    Hope this helps.

    Wednesday, February 12, 2020 11:54 AM