Click here to Skip to main content
15,889,839 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
I have a rough time integration with my desktop application. Here is what I want to do.

I want to make a button in my app (not web application) calls Paypal Payment Web Page and can get notify when users finished(cancel, succeed event they close website) payment.

I have one more question. When create payment, I want to hold payer money (not to send to business account) until payer click [Approve Button] in my application.
To hold the money is it right way to set payment intent type to "autorize"?

So far I really cannot find the solution. Please help me.

What I have tried:

I tried to create Paypal payment with Paypal SDK but it does not call Paypal webpage. I want to call Web page for payment and get notify from the web site.
Posted
Updated 27-Mar-18 22:35pm
Comments
I am not sure but I don't think you can hold the money. If it is redirected to paypal, something will be done with the money according to the user's choice in the interface and you will get some return value which will indicate whether transaction was successful or not.
Sinisa Hajnal 6-Apr-16 2:22am    
There is paypal API for desktop (as you are aware, by the text above). Why would you call their web page? If you do, you're ceding control from your application to the web page.
Member 12436884 7-Apr-16 2:08am    
If I use paypal SDK for desktop, how can I set payee's information? I want to send money from the payer to payee account.
I know I have to insert clientID and clientSecret code for Authentication but money always send to my account which is used when I create Test REST API app. When I insert payee information of pament it occures [MALFORMED_REQUEST Error].
Kinjal Sucess 20-Apr-18 5:05am    
i have same query .how did you got solution ?
[no name] 31-Mar-18 21:30pm    
If you are using paypal apis you need to follow the documentation - it's the best source for you learn how that works, for any custom business requirement you have here you can reach out to them and they can suggest you best approach if any.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900