简体   繁体   English

贝宝定期付款

[英]Paypal Recurring Payments

Here is what I need: 这是我需要的:

Let's say I have a hotel rooms rental website 假设我有一家酒店客房出租网站

People can come rent a room for some period and pay with paypal(first they pay, than thay get a room) 人们可以来租一个房间一段时间,然后用贝宝付款(先付款,然后再得到房间)

In some cases person might want to use some services when they are staying in hotel (like room service, mini bar, etc.) - So after person leaves I need to charge them with that extras.. 在某些情况下,人们可能希望在他们入住酒店时使用某些服务(例如客房服务,迷你吧等)-因此,离开后,我需要向他们收取额外费用。

How it works in paypal ? 在Paypal中如何运作? the only thing I found is subscribe options - but they are like per-month, per-day subscriptions.. And I need manually charge some amount from customer from my site 我发现的唯一一件事就是订阅选项-但是它们就像每月,每天的订阅一样。而且,我需要从我的网站上手动向客户收取一些费用

Does it possible ? 有可能吗?

The standard way of doing that is to pre-authorize a charge for $200-$500 without completing the transaction. 这样做的标准方法是预先授权200-500美元的费用,而无需完成交易。 After person leaves you add up everything and finalize the transaction with the right amount. 人员离开后,您将所有内容加起来并以正确的金额完成交易。 You can do that using PayPal API if you have Website Payments Pro ($30/month). 如果您拥有Website Payments Pro(每月30美元),则可以使用PayPal API进行操作。 Check "Authorization Payment Action" on page 93 in WPP Integration Guide: 检查WPP集成指南中第93页的“授权付款操作”:

https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_WPP_IntegrationGuide.pdf https://cms.paypal.com/cms_content/US/zh_CN/files/developer/PP_WPP_IntegrationGuide.pdf

Why don't you total up all amounts for all selected services and then pass that total amount to paypal. 您为什么不对所有选定服务总计所有金额,然后将其总额传递给Paypal。

Another option is to send a 'cart-overview' with multiple items to paypal. 另一种选择是将带有多个项目的“购物车概览”发送给贝宝。 This way you can seperate the rental price from the extra options prices (like breakfast, full pension, etc). 这样,您就可以将租赁价格与其他选择权价格分开(例如早餐,全额退休金等)。 Some info about setting up a multiple-items cart can be found here 可以在此处找到有关设置多项目购物车的一些信息

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

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