将 paypal 与 C++ MFC 应用程序集成 [英] Integrating paypal with c++ MFC app

查看:73
本文介绍了将 paypal 与 C++ MFC 应用程序集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们计划将 Paypal 与我们使用 MFC 编写的一个 cpp 应用程序集成.问题是我们应该使用 Rest apis 来完成这个吗?或者还有其他更简单的方法来实现这一目标吗?我最近通过 Postman 使用了 Paypal REST Services,它们看起来很简单.我想要实现的是如何在不启动浏览器的情况下将 rest apis 用于 paypal?如何从用户那里获得登录凭据?谁能指出我正确的方向?提前感谢您的帮助.谢谢AJ

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

推荐答案

我建议使用 PayPal REST API https://developer.paypal.com/docs/api/ 因为他们付出了更多的努力.还有 SOAP API,但我不会使用它.好像过时了.

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.

您可以使用超现代的 Casablanca C++ REST SDK,这是来自 Microsoft 的开源框架,可从以下网址获得:https://github.com/Microsoft/cpprestsdk 来实现您的端点.

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.

这篇关于将 paypal 与 C++ MFC 应用程序集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆