0

I'm trying to create an application using Java with PayPal.

Scenario: There is a webshop, a buyer and my application. I want to create the application such that the buyer and the webshop firstly give the app permissions to pay and receive money respectively. Then in the future when the buyer buys something from the webshop, my application has all the information needed to execute this action without involvement of the buyer or webshop.

Now there are two things that are not clear (and I can't find it in the PayPal documentation):

  • Using the Permissions API you must select the GroupIDs to get permissions for the different API sets. I don't know which one to select for the buyer or for the webshop.
  • Then, using the authorization header, you can perform the API call. In the case of the buyer, I want to perform a PayPal payment (NOT using a credit card). How do I do this? Which API call do I need to call? (something in Adaptive Payments maybe?)

Thanks in advance.

4

1 回答 1

0

Classic API 具有您可以使用的第三方授权系统。

当您向第三方授予权限时,您授予对与账户相关或交易相关的特定信息的访问权限,并且还可能授权第三方代表您采取某些行动。这些服务允许第三方进行不同类型的付款、退款、搜索交易数据等。您应该对授予特定第三方的访问类型非常有选择性。

获得授权后,您就可以代表他们为他们的 PayPal 帐户拨打电话。问题是你只能做他们有权做的事情。因此,例如,如果您想代表他们运行卡,他们将必须订阅 Payments Pro。

于 2014-09-09T03:31:32.597 回答