Integrating paypal with c++ MFC app

陌路散爱 提交于 2020-01-07 05:03:49

问题


We are planning to integrate Paypal with one of our cpp application written using MFC. The question is shall we use Rest apis to accomplish this? or there is any other easier way to do achieve this? I have recently used Paypal REST Services via Postman and they look pretty easy. What I want to achieve is how can I use rest apis for paypal without launching the browser ? How can I achieve Login credentials from the user ? Can anyone point me to right direction ? Appreciate your help in advance. Thanks AJ


回答1:


I'd suggest using PayPal REST API https://developer.paypal.com/docs/api/ as they putting more effort into it. There is also SOAP API, but I would not use it. It seems like dated.

You can use ultra modern Casablanca C++ REST SDK which is an open source framework from Microsoft available at: https://github.com/Microsoft/cpprestsdk to implement your end-point.




回答2:


You can do that using Wizdome which is c++ / MFC oriented. A product named Datattoo recovery developed under c++ and MFC allows paying for the amount of data successfully recovered, and the integration with PayPal is done that way. Here is a more detailed description about the process:



来源:https://stackoverflow.com/questions/40499806/integrating-paypal-with-c-mfc-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!