是否可以使用“使用 PayPal 登录"来代表用户发出 REST api 请求? [英] Is it possible to use `Log In with PayPal` to make REST api requests on behalf of the user?

查看:26
本文介绍了是否可以使用“使用 PayPal 登录"来代表用户发出 REST api 请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经成功集成登录使用 PayPal(以前称为 PayPal Access),但是我们希望 REST API 代表经过身份验证的用户(在他们的许可下)请求.

We've successfully integrated Log In with PayPal (formerly PayPal Access) however we would like to make REST API requests on behalf of the authenticated user (with their permission).

Log In with Paypal OAuth 服务的可用范围没有提及 Rest API.基本上我们想要做的是将交易和支付信息从我们经过身份验证的用户贝宝账户导入我们的系统.

The scopes available for the Log In with Paypal OAuth service make no mention of Rest API. Basically what we would like to do is import transactions and payment information from our authenticated users paypal account, into our system.

Rest API 的文档 似乎暗示如果我们想要这样做,我们将不得不要求我们的用户自己创建一个应用程序并为我们提供消费者密钥和消费者令牌.

The documentation for the Rest API seems to imply that if we wanted to this, we would have to require our users to create an application themselves and provide us with the consumer key and consumer token.

我希望 SO 上的某个人做过类似的事情,并且可以为我指明更现实的方向.Classic API 似乎有可能,但我们不能查找有关 OAuth 支持的任何文档.

I'm hoping someone on SO has done something similar and can point me in a more realistic direction. The Classic API seems like it could be a possiblilty, but we can't find any documentation regarding support for OAuth.

推荐答案

不幸的是,这还"不可用.它正在开发中,但不幸的是还没有发布日期.

Unfortunately this is not available "yet". It's something in the works but unfortunately no date on the release yet.

这篇关于是否可以使用“使用 PayPal 登录"来代表用户发出 REST api 请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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