How-to integrate Paypal with WinForm Desktop Application - c#

I would like to enable my Windows Forms Desktop Application to integrate with PayPal so I can charge my users through the WinForms app. Are there any resources regarding this, or can it be done?

I may have just found a solution.
Visit this web page, over at PayPal:
https://www.x.com/community/ppx/apps101
Quote:
Adaptive APIs let you to do more than
just accept payments on your website.
You can also:
Integrate payments into your
application
So, they've just said that you can interact with their API from within an application, not just on websites.
Also, there is this link:
https://www.x.com/community/ppx/code_samples which includes lots of source code samples of C++ and VB.NET and C# (Windows Forms).
The information on those pages, along with the other resources listed there should be enough to get you started.
Hope this helps.
Edit: probably this is the intended URL:
https://developer.paypal.com/webapps/developer/docs/classic/products/adaptive-payments/

Related

Integrating Paypal with link in wpf application

I want to integrate Paypal with wpf apps. Actually, in my wpf application there is a link of buying a product. So, when we click on that link i need to purchase that product through Paypal Integration and sending a mail to the user. Though, i have successfully done this in web application but dont know how to do this in wpf. can you plese help me?
Check these following links up:
integrating C# app with paypal
PayPal-NET-SDK
configuring Paypal-SDK

Windows Phone: Detect the source from which the app is downloaded for eg. directly from store, mobile site app link etc

Is there any way to detect the source from which the app is downloaded? For example if the app has been downloaded directly from the store or it was redirected to store from some mobile site. Something similar to CampaignTracking in Android. Any library which can detect this?
If you are looking for a Rate & Review mechanism, use the MarketlaceReviewTask class. It is documented here. Here's a simple method to do it:
MarketplaceReviewTask mrktreview = new MarketplaceReviewTask();
mrktreview.Show();
You can fire this code from a click event or something similar. This opens the rate and review page for your app, after it is published in the store. That is all Microsoft is providiing currently to help the developers. If you are looking for detailed tracking or instant bug detection (after the app is published), you can use third party services that can do this. I recommend Appboy.
Unfortunately not.
As distinct from Android, Apps can only be deployed through the store (or a developer sideload) on Windows Phone. But there is no way to recognize whether a website hyperlinked to the store page or the user downloaded it directly via the store application.
I found a few links regarding the same. Flurry provides the support for campaign tracking through its library. A few links help here.
Flurry http://www.flurry.com/
Distimo
http://www.distimo.com/conversion-tracking
Tapstream
https://tapstream.com/developer/windows-phone-sdk-documentation/
https://tapstream.com/developer/conversion-api/

Windows Store Application Facebook SDK Integration

I'm novice when it comes to using API's with C# apps, and I decided to start a windows 8 Modern UI application. I've looked for information about how to integrate facebook into a project using the facebook API, and I found some useful answers, but some things are still unclear to me...
I've not found any official Facebook API for C#, I created an developer acount on Facebook but when i want to create a project using it, there is no choice for a c# application.
I've searched the Internet and found this : https://github.com/facebook-csharp-sdk/facebook-windows8-sample
I downloaded it and put the app's id I got from Facebook on it, but it doesn't work. My question is simple: Is there any official API with documentation or a website where I can get real and exact information for it?
The Official SDK from Facebook is only for PHP, Javascript, iOS and Android.
For the .NET world, there is the Facebook C# SDK which you have already found. You can do everything with it, including full Windows 8 Apps with Facebook integration.
The main site is at http://CSharpSDK.org/

Struggling to understand the structure of the Facebook API

Ultimately I want to create a desktop app that allows users to update their own status, view status' of their friends, update pics etc. - basically a lot of the functionality the facebook website provides. Through looking through some tutorials and sample projects it seems that an app must be created for the facebook account. Now is this the facebook account of the developer (i.e. mine) - which will provide an API key that will allow any other user to log in?? Does every desktop project need to authenticate the user through a facebook dialog window to take the users' credentials?? Where does OAuth fit into this?? If anyone can shed any light as to the structure of the facebook api and the ways in which I can grant this functionality from say a WPF C# app for example I would really appreciate it.
EDIT: Before complaints of a potentially huge question or too 'vague', my question is specific to the integration/use of the facebook API in desktop applications - not how to then retrieve status feeds etc. I'll work that out myself.
Per Facebook documentation, all desktop apps will need to implement some form of web browser integration, whether embedded within the desktop app or controlled.
See: http://developers.facebook.com/docs/authentication/
Desktop Apps
Our OAuth 2.0 implementation does not include explicit desktop app
support. However, if your desktop app can embed a web browser (most
desktop frameworks such as .NET, AIR and Cocoa support embedding
browsers), you can use the client-side flow with one modification: a
specific redirect_uri. Rather than requiring desktop apps to host a
web server and populate the Site URL in the Developer App, we provide
a specific URL you can use with desktop apps:
https://www.facebook.com/connect/login_success.html.
Don't worry it took me two solid days of trial and error and re-re-reading of the documentation on authentication to finally "get" it.

C# - Facebook API used with desktop apps?

Can I use the facebook API to make a windows desktop application? Like create a chat client to use to chat with facebook users??
yes, while I have not done it myself, there seem to be standalone apps developed for facebook like FaceoffIM... so I am assuming you can.
If I remember correctly, Telerik is maintaining something in Silverlight called fdek... which would again mean in principle it is possible.
There is also a Facebook C# SDK available on Codeplex which might be of use... under its project description it states "The Facebook C# SDK helps .Net developers build web, desktop, Silverlight, and Windows Phone 7 applications that integrate with Facebook."
Yes, you can develop desktop applications that interact with the Facebook API's.
You can use the C# SDK which is introduced in this official blog post https://developers.facebook.com/blog/post/395
Basically, any desktop application just needs to send http web requests to the Facebook API's. The easiest would be to use the the Graph API (https://developers.facebook.com/docs/reference/api/)
Hope this helps.

Categories

Resources