使用 Rails 进行 Paypal 自适应(链式)支付 [英] Paypal Adaptive(Chained) Payment with Rails

查看:33
本文介绍了使用 Rails 进行 Paypal 自适应(链式)支付的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

众所周知,PayPal 支持自适应(链式)支付,即一个买家汇款,并使用一个 API 帐户持有人进行处理,并且这笔钱可以发送给多个用户.

It is known that PayPal supports Adaptive(Chained) payments where one buyer sends the money and it is processed using one API account holder and the money can be sent to multiple users.

我的问题是,

  1. 这种方法是否也支持接受信用卡(对于买家)?
  2. 是否可以抓取卡片在我们的网站上查看详细信息并使用API(在后端)没有重定向到 PayPal 网站自己?

这是我的要求...我正在运营一个网站,卖家可以在其中销售他们的产品,买家可以在其中购买.卖家设定价格,我得到佣金

Here is my requirement... I am running a website where sellers can sell their products and buyers buy them. Seller sets the price and i get a commission

例如.人 A 以 100 美元的价格出售产品 P.(我的佣金是 2%)

Eg. Person A sells Product P for $100. (My commission is 2%)

B 购买 P. 并在我的网站上付款.使用 Paypal API,我想处理 B 的信用卡并向他收取 100 美元.获得我的 2 美元份额,然后将剩余的 98 美元发送给 A.

Person B buys P. and makes the payment in my website itself. Using Paypal API, i want to process B's credit card and charge him $100. Get my share of $2 and send rest of $98 to Person A.

提前致谢,

Kannan R

推荐答案

Q1.是的,可以接受信用卡(PapPal Adaptive 付款支持访客付款...用户可以在其中输入信用卡详细信息.

Q1. YES it is possible to accept credit cards (PapPal Adaptive payments supports Guest Payments... where the user can enter their credit card details.

第 2 季度.是的.继续回答 Q1,输入的信用卡详细信息作为明确批准的付款,因此无需将发件人重定向到 Paypal 网站进行授权.

Q2. YES. In continuation of answer to Q1, the credit card details entered acts as the explicitly approved payment hence no need to redirect the sender to Paypal website for authorization.

http://www.paypal-labs.com/TechDocs/

此链接解释得更好,请查看访客付款链接..

This link explains things better, check out for the Guest Payments link..

希望有帮助.

rgds,
Sourcebits 团队.

rgds,
Sourcebits Team.

这篇关于使用 Rails 进行 Paypal 自适应(链式)支付的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆