Serj Sagan Serj Sagan - 1 month ago 70
C# Question

PayPal in ASP.NET Core

How do I integrate with the

PayPal API
in an
ASP.NET Core
app? I have tried various libraries but none of them are compatible with
ASP.NET Core
... how do I do it?

Answer

I am facing the same issue. I may go for the REST API implementation with no SDK: https://developer.paypal.com/docs/api/

Or I just found that repository, it might be interesting :)

https://github.com/geoperez/PayPalCore

It is a port of the current .Net SDK to .NETCore. I haven't checked the code yet, but if it works it would save a lot of time!

You may also go for an old API option:

http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers

But as it is old I would not recommend it as PayPal may discontinue it someday.