简体   繁体   English

将Paypal与C ++ MFC应用程序集成

[英]Integrating paypal with c++ MFC app

We are planning to integrate Paypal with one of our cpp application written using MFC. 我们计划将Paypal与我们使用MFC编写的cpp应用程序之一集成。 The question is shall we use Rest apis to accomplish this? 问题是我们是否应该使用Rest api来做到这一点? 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. 我最近通过Postman使用了Paypal REST服务,它们看起来非常简单。 What I want to achieve is how can I use rest apis for paypal without launching the browser ? 我要实现的是如何在不启动浏览器的情况下将rest api用于paypal? How can I achieve Login credentials from the user ? 如何获得用户的登录凭据? Can anyone point me to right direction ? 谁能指出我正确的方向? Appreciate your help in advance. 提前感谢您的帮助。 Thanks AJ 谢谢AJ

I'd suggest using PayPal REST API https://developer.paypal.com/docs/api/ as they putting more effort into it. 我建议使用PayPal REST API https://developer.paypal.com/docs/api/,因为他们会为此付出更多努力。 There is also SOAP API, but I would not use it. 也有SOAP API,但我不会使用它。 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. 您可以使用超现代的Casablanca C ++ REST SDK ,它是Microsoft的开放源代码框架,可从以下网址获得: https : //github.com/Microsoft/cpprestsdk来实现您的端点。

You can do that using Wizdome which is c++ / MFC oriented. 您可以使用面向c ++ / MFC的Wizdome来实现。 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. 在c ++和MFC下开发的名为Datattoo recovery的产品允许支付成功恢复的数据量,并且可以通过PayPal进行集成。 Here is a more detailed description about the process: 这是有关该过程的更详细的描述:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM