如何在拍卖风格的网络应用程序中进行 PayPal/Google Checkout?
我很好奇是否有一种方法可以在我的网站上处理/连接买家和卖家,而网站无需向买家收费并向卖家退款。 换句话说,我不想碰钱,但我确实希望尽可能地将流程集成到我的网站上。
我想我要问的是拍卖网站如何管理买家和卖家之间的交易? 我真的不希望我的网站通过电子邮件向买家发送卖家的联系信息,并说……“这是卖家信息。祝你好运。”
Ebay 似乎允许买家前往 PayPal 向卖家付款,但会返回 Ebay 并确认付款。 即使交易是在买方和卖方之间进行的,Ebay 也能够检索有关该交易的一些详细信息。 这仅仅是因为 Ebay 拥有 PayPal,还是其他网站也可以这样做?
I'm curious if there is a way to process/connect buyers and sellers on my site without the site having to charge the buyer and credit the seller. In other words, I don't want to touch the money, but I do want to integrate the process as much as possible on my site.
I guess what I'm asking is how do auction sites manage the transactions between buyer and seller? I really don't want my site to resort to emailing the buyer with the seller's contact information and saying .... "here's the sellers info. Good luck with that."
Ebay seems to allow a buyer to go to PayPal and pay the seller, but returns back to Ebay with payment confirmation. Even though the transaction is between Buyer and Seller, Ebay is able to retrieve some details about that transaction. Is this simply because Ebay owns PayPal, or can other sites do the same?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
-这是一个老问题,但信息有点偏离,所以我会尝试重新回答。
这都是可行的。 没有像编码空间建议的那样进行自定义代码。
Paypal 有多种结帐类型,我在快速结帐方面有一些不错的经验,因此我将尝试用这些调用的示例来回答。
您可以使用回调 URI(以便您查看客户是否确认)和请求中的卖家信息(您需要从卖家那里获得适当的信息)通过
SetExpressCheckout
调用设置付款。这样,一旦他们确认,您就可以使用卖家和信息以及从
SetExpressCheckout
返回的信息通过DoExpressCheckoutPayment
向他们收费。这就是有效的过程。 真的很简单。
就收取佣金而言,您无法通过该特定交易来完成。 大多数大型零售商所做的就是记录所有佣金,并在月底向卖家收取费用。 另一种选择是强迫卖家购买预付信用额,然后将其用于每次销售的佣金,这就是 trademe.co.nz 所做的(新西兰的 eBay)。
如有任何问题,请告诉我。
-This is an old question but the information is a bit off so I will try to re-answer.
It is all doable. There is no custom code going on like codingspace is suggesting.
Paypal has a number of checkout types, I have some decent experience with express checkout so I will try to answer with an example of those calls.
You set up the payment with a
SetExpressCheckout
call using your call back uri (so you see if the customer confirms) and the sellers info in the request (you will need appropriate information from the seller).With that, once they confirm you can bill them with
DoExpressCheckoutPayment
using the sellers and info and the returned information fromSetExpressCheckout
.And that is effectively the process. Pretty simple really.
In terms of taking a commission, you can't do it via that specific transaction. What most mass retailers do is keep a record of all the commissions and bill the seller at the end of the month. The other option is forcing sellers to buy prepay credit which is then used on commisions of each sale, this is what trademe.co.nz does (NZ's ebay.)
Let me know any questions.
我猜您不想从您网站上的每笔销售中收取佣金。 唯一想到的就是让卖家在销售后提供他们自己的贝宝“立即购买”按钮,然后您可以将其提供给买家。
I'm guessing you don't want to take a commission off of each sale on your site then. The only thing that comes to mind is to have the seller provide their own paypal "buy now" button after the sale that you can then give to the buyer.