开发者

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 ? 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. 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). Check "Authorization Payment Action" on page 93 in WPP Integration Guide:

https://cms.paypal.com/cms_content/US/en_US/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.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜