PayPal 中的延迟链式付款(辅助接收方最初未知)

发布于 2024-12-07 10:41:06 字数 781 浏览 1 评论 0原文

通读 PayPal 的 API 文档,我没有看到明确的方法来做到这一点,但我不想假设这是不可能的,因为我不知道如何做到这一点。

用例:我正在为客户构建一个市场,允许消费者购买商品服务,然后我们找到一个提供商来履行该服务。 (由于保密和无关性,省略了具体细节)

问题:在购买时提供商未知,但我们希望在消费者购买服务时授权付款(并且完成后触发付款)。

来自 PayPal 的自适应支付 API 我看看可以创建一个 延迟链接付款(即很棒),但辅助接收器必须在创建时声明。这是不可能的,因为我们还不知道谁将满足消费者的要求。

一种有点幼稚的解决方案是让消费者直接向我们付款,然后我们触发我们和提供商之间的二次交易。这不太好,因为它会产生双倍的交易费用。

还有其他方法可以通过 PayPal 实现此目的吗?是否还有其他更适合的支付提供商?

谢谢!!

Reading through PayPal's API documents I don't see a clear way to do this, but I don't want to assume that it's impossible because I don't know how to do it.

Use case: I'm building a marketplace for a client that allows a consumer to purchase a commodity service, then we find a provider to fulfill that service. (specifics are omitted for confidentiality and irrelevancy)

The problem: At the time of purchase the provider is unknown, but we want to authorize payment when the consumer buys the service (and trigger payment after fulfilled).

From PayPal's Adaptive Payments API I see it's possible to create a Delayed Chained Payment (which is great), but the secondary receiver must be declared when created. That's not possible because we don't yet know who's going to fulfill the consumer's request.

One somewhat naive solution is to have the consumer pay us directly, then we trigger a secondary transaction between us and the provider. This isn't great because it incurs double the transaction fees.

Is there another way to accomplish this with PayPal? Is there another payment provider that might be a better fit?

Thanks!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我很坚强 2024-12-14 10:41:06

权限 API 应该允许您稍后在各方都知道的情况下代表买家设置付款。

The Permissions API should allow you to setup the payment on behalf of the buyer at a later time, when all parties are known.

南笙 2024-12-14 10:41:06

如果辅助接收者未知 - 实现这一点的最佳方法可能是获得用户的预先批准,然后用它来支付未来的辅助接收者。操作方法如下:

https:// developer.paypal.com/docs/classic/adaptive- payments/ht_ap-basicPreapproval-curl-etc/

If the secondary receiver is unknown - probably the best way to implement this is to obtain a Preapproval from the user and then use it to pay the secondary receiver in the future. Here is how you can do it:

https://developer.paypal.com/docs/classic/adaptive-payments/ht_ap-basicPreapproval-curl-etc/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文