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

查看:101
本文介绍了使用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(在后端)不带 重定向到贝宝网站 本身?
  1. Does this approach also supports accepting credit card (for the buyer)?
  2. Is it possible to capture the card details at our website and use the API (in the backend) without redirecting to PayPal website itself?

这是我的要求... 我正在运营一个网站,卖家可以出售他们的产品,而买家可以购买它们. 卖方确定价格,然后我得到佣金

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自适应付款支持来宾付款...,用户可以在其中输入其信用卡详细信息.

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

Q2.是的.在继续回答问题1时,输入的信用卡详细信息将用作明确批准的付款,因此无需将发送方重定向到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天全站免登陆