Paypal Recurring Payments - paypal

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

Related

Is it possible to block an amount in Paypal like a credit card

I am starting a business and I would like to offer Paypal as a payment option, but for my business it is essential to be able to block an amount of money, just like a car rental or a hotel does on a credit card. Would it be possible to block an amount from my users PayPal account and release it or book it for good later?
My business is of course an online service, and I want to do this pragmatically in a Spring based application.
I think what you are looking for is Authorization and capture.
I haven't used that feature from Paypal, but have used it elsewhere. What you are looking for is usually called card authorization, preauthorization, or preauth.
Yes it's possible
PayPal's REST API offer 3 primary ways to ensure you paid for product/services that you give to your customers
sale. Makes an immediate payment so you get paid immediately
authorize. Authorizes a payment for capture later.(this is what you see in a car rental or hotel)
https://developer.paypal.com/docs/integration/direct/payments/authorize-and-capture-payments/
order. Creates an order. - which gives you the flexibility to
multiple to do multiple authorizations and captures (these are for
complex use cases such as when you buy a computer from Dell you would
be authorized for the desktop, monitor, keyboard at different points
of time based on availability and then the funds captured when they
are shipped)

Setting up paypal so my client gets a percentage from every transaction on her site

I have a client that wants a site that hosts sellers selling items and allows buyers to purchase the items. She wants all the money transactions to be between the buyer and seller and she collects a percentage of the sale. She wants her percentage to be automatically put in her paypal account. Kinda like eBay for example.
I have used paypal standard with buttons but have never done anything like this. Does anyone have any suggestions about how I would get started and/or how this is done?
Thank you for your suggestions,
Greg
Many people would (and probably will) recommend using some sort of split/chained payment solution, but I will just point out that the site you mention, eBay, does not use split payments. eBay sellers register with eBay; eBay faciliates the sales and bills the sellers for their fees. You can do the billing through invoicing, or via preapproved payment/billing agreements (which allow you to collect from sellers without them having to send you each payment).
While this solution requires you to do a little more work (tracking sales & billing) it is a lot more flexible.

How to prevent double orders when a pay pal notifications comes in from pay pal but also the web order shows pending?

We have a company that designed our website and we have pay pal standard set up to take payments. It works great except for theres times where there is a double order because the notifications from paypal go to one sales person and another sales guy handles the website orders. The notifications could be from more than just the website so the sales guy doesn't think anything of it when putting in the order and the notification however doesn't update on our website if the order is filed by that sales person and vis versa. Also we run into the issue of the shipping and billing addresses being different and matching them since the website shows who its going to as the main name and the pay pal will show the billing name. Any suggestions on what we can do to make it easier on our sales team?
I would HIGHLY recommend you implement paypal-ipn and process the orders into your system that way. That notice would let you use a program to process the order data into your system and avoid issues like multiple entries, keying errors, etc.

Paypal Adaptive Payments Sales Tax

Using Paypal's Adaptive Payments API, I am selling physical items that require a ship to address - on the Paypal purchase page I inform Paypal to have the customer select an address. If I have sales tax rules set up on my merchant account, how do I get Adaptive Payments to add sales tax to the order - I hand it the subtotal, and based on the state in the address the user selects, it calculates and adds the sales tax to that subtotal for a grand total?
Isn't this the entire point of Paypal - customer provides this information to Paypal, and then provides me only the information I need for the transaction?
You're right but AFAIK, since PayPal does not want to keep tax rates which differ for countries and type of goods you ship. So, you can either try using
GetShippingAddresses
api call before executing the payment, and add
totalTax
information during
SetPaymentsOptions
call..
Doesn't seem to be able to compute this on its own - I ended up keeping a hack of a solution in place. Prompt the user to provide the state to which the goods will be shipped to, and then calculate the tax on my own before sending the order total (subtotal + tax) to the Paypal workflow. Disappointing, IMO.

Online payments for a middleman

I'm new to online payments and would like some opinions on my task. Here is the scenario:
I have a website where people buy and sell digital photos. A seller has a photo and wants to sell it. They create an ad on the site and upload the photo into the website database. Buyers looking for photos come to the site and buy them. The buyer pays the asking amount and then can download the photo. As the middleman, I'd like to charge the seller a fee or percentage of the selling price. The buyer shouldn't pay any website fees, just the selling price.
My question is - what is the best way to do this? I dont mean programmatically, but what service should I be looking at? As far as I know PayPal wont work because of their fee structure. Im told Amazon payments would work but its sort of a hack. The seller has to set up a business account and then tie their item to my website as a third party sales venue. Is there an easire way to accomplish what Im trying to do? Of course keeping fees as low was possible.
This will work perfectly fine with PayPal.
PayPal offers Adaptive Payments as of a while ago, which allows you to specify 'primary' and 'secondary' receivers (up to 10 recievers per 1 transaction I believe, from the top of my head).
You could thus use Adaptive Payments to set the photographer as the primary receiver, set yourself as the secondary receiver and optionally move the transaction fees onto the photographer as well.
Have a look at this page for more information.