在网站上组织自动付款的最佳方式是什么?

发布于 2024-07-28 04:07:10 字数 539 浏览 2 评论 0原文

我有 Ruby on Rails 应用程序。 我可以使用 ActiveMerchant 从用户卡中获取资金。 现在我需要根据应用程序逻辑向某些用户付款。

例如,

  • 从 Andrew 处获取 10 美元
  • 从 Mark 处获取 10 美元
  • 从 Mike 处获取 10 美元
  • ... 找到谁应该得到钱的应用程序魔法 ...
  • 向 Mark 支付 30 美元

一般来说,我不仅可以使用基于 Ruby/Rails 的解决方案,还可以使用基于 Ruby/Rails 的解决方案。任何基于请求和响应的协议。

我计划使用 Authorize.net,但如果此功能实现需要使用其他东西,那么我可以切换到其他计费处理系统。 我不想使用 PayPal。

一些技术细节:

  • Ruby 1.8
  • Rails 2.3.2
  • ActiveMerchant 1.4.2

如何在我的应用程序中管理自动付款?

I have Ruby on Rails application. I can get money from users cards using ActiveMerchant. Now I need to make payouts to the some users based on application logic.

For example,

  • Get 10$ from Andrew
  • Get 10$ from Mark
  • Get 10$ from Mike
  • ... application magic that finds who should get money ...
  • Pay 30$ to Mark

Generally, I can use not only Ruby/Rails based solution but any protocol based on requests and responses.

I am planning to use Authorize.net but if this feature implementation will require to use something else then I can switch to other billing processing system. I prefer not to use PayPal.

Few technical details:

  • Ruby 1.8
  • Rails 2.3.2
  • ActiveMerchant 1.4.2

How can I manage automatic payout in my application?

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

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

发布评论

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

评论(1

情愿 2024-08-04 04:08:13

Authorize.net 和 Braintree 网关都支持通过 ACH 处理付款,或直接存入某人的银行账户。 Authorize.net 的实现称为 eCheck,目前在 ActiveMerchant 网关代码中不受支持。 ActiveMerchant 支持 Braintree 的 API,AM 中的 Check 模型将为您提供帮助。

您需要从 Mark 那里收集帐号和路由号码,以便您可以向他的帐户存款。

Both the Authorize.net and the Braintree gateways support processing payments via ACH, or direct deposit into someone's bank account. Authorize.net's implementation is called eCheck, and is not currently supported in the ActiveMerchant gateway code. Braintree's API is supported in ActiveMerchant, and the Check model in AM will help you along.

You'll need to collect an account number and a routing number from Mark so that you can make deposits into his account.

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