Reputation: 1109
I am programming a server, which needs to receive payment information from paypal (PayPal), in C#, but it isn't supposed to be via website (I've found many "walkthroughs" for that), it is supposed to receive the payment information via console, or any other non-graphical way. Is it possible? If it is, how can I do it? Can I do it via sockets? I've heard about wcf, but I don't know if it will help me achieve my objectives. If you could please tell me where to look I'll be very grateful. Thanks in advance and sorry for any english mistakes.
Upvotes: 1
Views: 438
Reputation: 995
You can use WebRequest to make arbitrary http requests. Granted, this will be much more difficult than using the aforementioned SDK. You will be building requests and parsing responses; most of which the SDK is doing for you.
Upvotes: 0
Reputation: 8949
If you can do it from a C# GUI, you can do it from a console program. You need the PayPal C# SDK.
Upvotes: 1