简体   繁体   English

如何使用PayPal(自适应付款)向商家请求付款和发送付款

[英]How to request from and send payment by merchant using PayPal (Adaptive Payment?)

We have a website developed using Rails (and we use Active Merchant to take payment from users). 我们有一个使用Rails开发的网站(并且我们使用Active Merchant从用户处付款)。

Now we have a new requirement: to allow our users to request money from us and for us to send the money to them by PayPal automatically. 现在,我们有了一个新的要求:允许我们的用户向我们索要钱,并且让我们通过PayPal自动将钱发送给他们。

Of course, we'll implement some business logic to ensure that only certain users are allowed to do this. 当然,我们将实现一些业务逻辑以确保仅允许某些用户执行此操作。

But the interface should be pretty simple. 但是界面应该非常简单。 A logged-in user enters a PayPal account email address and the amount (including currency) he wants from us. 登录的用户输入一个PayPal帐户电子邮件地址以及他想要从我们这里获得的金额(包括货币)。 Then we'll send the money to him by PayPal. 然后,我们将通过PayPal将钱寄给他。

We don't need to verify that the user-entered email address is associated with an existing PayPal account, because the person receiving the email will be prompted to create an account to receive the money on PayPal. 我们不需要验证用户输入的电子邮件地址是否与现有的PayPal帐户相关联,因为接收电子邮件的人将被提示创建一个帐户以在PayPal上接收钱。

I've looked at PayPal Adaptive Payment and Mass Payment. 我看过PayPal自适应付款和批量付款。 Our requirement is pretty simple and we don't need features like sending money to multiple recipients, chained payment, etc. 我们的要求非常简单,我们不需要向多个收件人汇款,链接付款等功能。

Our main requirement is that this is done automatically. 我们的主要要求是这是自动完成的。 In other words, we don't want to have to manually enter our PayPal account password every time someone requests money from us. 换句话说,我们不需要每次有人向我们付款时都手动输入我们的PayPal帐户密码。 Is this possible? 这可能吗?

Which PayPal API is best suited for our requirement? 哪种PayPal API最适合我们的要求?

Thank you! 谢谢!

I really think Mass Pay is your best bet. 我真的认为Mass Pay是您最好的选择。 Its going to allow you to automatically send money and would decrease the amount of fees you pay (the fees are a percentage of the money being sent, but its capped at $1 per recipient). 它可以让您自动汇款,并减少了您要支付的费用(费用是汇款的百分比,但每位收款人的上限为1美元)。

Adaptive Payments would be another solution, but the fees are higher. 自适应支付是另一种解决方案,但是费用更高。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM