简体   繁体   English

Ruby on Rails Paypal 2付款

[英]Ruby on Rails Paypal 2 Payments

I am creating a website, that allows the users to buy an item. 我正在创建一个网站,该网站允许用户购买商品。 I can do that fine. 我可以做的很好。 But my problem is that I would like 10% of what item the user purchase to go to one paypal account, and the remaining 90% to go another paypal account. 但是我的问题是,我希望用户购买的商品的10%进入一个Paypal帐户,其余90%进入另一个Paypal帐户。 Is this possible to do in ruby on rails? 这有可能在红宝石上进行吗?

What you describe is a Chained Payment, or a Parallel Payment in Paypal speak. 您所描述的是链式付款,或用贝宝(Paypal)讲的并行付款。 There is a subtle difference in the funds flow using each method, but either method will do what you ask. 每种方法的资金流量都有细微的差别,但是任何一种方法都可以满足您的要求。

Both are available using Adaptive Payments and the Classic or Rest APIs for Ruby will enable you to handle either with ease. 两者都可以通过Adaptive Payments使用,并且Ruby的Classic或Rest API可以使您轻松处理这两种情况。

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

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