使用 PayPal SDK 向 2 个收款人发送付款

Sending payment to 2 receivers using PayPal SDK

我不熟悉在 Android 应用程序中使用 Paypal。出于我的项目的目的,用户必须向 2 个接收者发送付款,我现在确信 SDK 支持这一点。我查看了 API 文档,但没有找到任何 setter 可以设置收件人电子邮件的方法。

首先,您必须申请自适应付款。申请自适应支付后,您将获得所需的凭据。之后,您可以设置两个或多个接收器。
PayPal Documentation on the Developer site 以下是有关自适应支付的信息:

Adaptive Payments has operations that enable the sending and receiving of payments involving two or more parties. Each Adaptive Payments API transaction includes a sender and one or more receivers of the payment. Each transaction also includes the application owner, called the "API Caller," who is an invisible third party that provides the transaction flow and is the entity that makes the API calls. In most scenarios, payment transactions are initiated by the buyer (in a send type of payment arrangement) or by the seller (in a pay type of payment arrangement).

您需要从 GitHub 下载 Mobile Library SDK
这是 link 到 APPS 101 它给出了申请自适应付款的说明。
Page 20 of the Android Mobile Payments Guide 包含有关自适应支付的所有详细信息。
这是 How to Accept Payments on Android 的一般指南。