Using a hosted button with quantities for options - paypal

I would like to use Paypal in conjunction with a web form for selling conference tickets. Tickets will be available in various types and prices - standard, student, couple.
I would like users to be able to select a variety of tickets in one transaction - for example, two standard tickets and one student ticket.
Ideally I would have Paypal manage the inventory so that people can't make payments when tickets have run out. The limit on tickets is on the total; numbers within categories don't matter.
I can set up a ticket item on Paypal and limit it to the appropriate number, and I can set option prices. What I can't work out is how I send a request to Paypal with more than one "option + quantity" pair selected.
Any help gratefully received!

You would not be able to send more than one option + quantity pair over to PayPal with the standard add to cart or buy now buttons and have PayPal keep track of the inventory. Your best options would be either to set up the inventory on the PayPal side, and use add to cart buttons for each option + quantity.
Another option would be to use the cart upload method, where you pass over all the item details during checkout. This is similar to what 3rd party carts do. They keep track of what the buyer is adding to their cart, and then when they are ready to checkout they simply send all of the details over to PayPal in one POST. With this method, you would have to keep track of the inventory on your end though.

Related

Paypal Express Checkout - multiple price options to choose from during payment on Paypal page?

I am wondering if there is such thing :
when a vistor clicks "Pay" button (placed on my site) - on Paypal site during payment there will be several options to choose from. Something like three radio buttons
Pay for one month
Pay for three months
Pay for one year
so in order to pay a user should first select which option to pay first.
Again - I just would like to know if such posisbility exists. I know how to set this up on my own site.
Thank you
That wouldn't happen on the PayPal site, but you can certainly get that done on your own site/application. Build in the logic and interface for them to choose what they want to pay and what schedule to do it on, and then you can use the corresponding PayPal API to get it done. Specifically, I would recommend the Express Checkout API.

Managing PayPal Donations, Add to Cart and Subscription using single request

I am using website payments standard and I have the following requirement. Please let me know if a solution is available for website payments standard.
I already have subscriptions integrated to my website. I would like to have a feature that enables the user to donate a dynamic amount along with the subscription. For that, I plan to add an additional text field for the amount in my payment page. I would like to know if it is possible to manage both donations and subscriptions in the same request.
Let me be more clear about the requirement.
When the user clicks a custom subscribe button, a page with a text field to enter a donation amount will be displayed. Suppose, the user enters a random amount. The user will then click the PayPal subscribe button and will be taken to the PayPal site for the payment. Both the subscription and donation have to be managed separately so that I can easily identify which one is subscription fee and which one is donated amount by looking into the PayPal statements.
Please let me know if this is possible with website payments standard. If not, can you please help me how to achieve this?
My additional requirements are:
I need to combine Add to cart button and Donations too.
I would like to manage subscriptions just like Add to cart feature. i.e., Paying for multiple subscriptions at once.
I am looking forward to your reply.
Is not possible to make both "Donations" and "subscriptions" in a single payment. Unless you treat the donation as an additional amount for your subscriptions initial payment.

Paypal subscription to different number of projects

I am trying to create a subscription feature on my site. The users can subscribe to a number of projects (from 1 to 30). The price of a projet: 10$.
For subscribing I use a the Subscription button. I validate the payment using the IPN from paypal. All ok.
Now I want to give to users the possibility to change the number of projects they are subscribed for. But the paypal doesn't allow an increasing of payment more than 20%.
How can I change the user's subscription ? Should I remove his profile (not sure if I understant what it is) and create a new one ?
As you saw in the documentation, PayPal Subscriptions product doesn't seem like a good match for your requirements. You could have someone re-subscribe with new (higher) premium, but you probably would be better off with a product that allowed you to simply change the recurring amount billed.
PayPal has several other products that allow you to do that; hopefully one will meet your needs. In particular look at Recurring Payments & Reference Transactions (within PayPal's classic product suite) or Future Payments (within PayPal's RESTful API suite).

Multiple payments at once?

I tried asking this on the normal PayPal forums, but they suggested asking it here.
I'm working on a site, where people will be able to sell their goods. The money goes direct to them, and we then just invoice the seller at the end of the month (for their "fee").
My question - is it possible to have multiple amounts paid for in one go (they could also be in different currencies, just FYI). I basically want to get something like eBay has (where you can add multiple items to the cart, and then pay for them all at once)
If not, I guess I'll have to stick with a more basic system of letting them add to the cart, and then at the final stage - give them different buttons for each person
You can do that with the Adaptive Payments platform. Look into parallel and chained payments.

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

Categories