Paypal Installment Plan without button - paypal

Is there a way to send the installment plan settings to Paypal via API and not a button? I want to offer a few options to select for installments, but having a ton of Paypal buttons for this would be horrible looking and time consuming.
URL instead of Paypal Form ( Installment Plan)
This topic has info on sending the button data direct by URL without the button, but I am looking to avoid manually generating thousands of buttons. Is there button creation by API or some other way?

Related

Paypal: How do I create a Donate Now button with variable amounts

I want to create a Donate Now button that has variable amounts similar to what Paypal uses on its Giving site.
How is this accomplished? I tried using the button builders to no avail. I'd really like to be able to implement this client side.
PayPal's giving website uses Express Checkout solution to allow user enter the amount to be charged on the client website.
It's just that the button to initiate is pictured as "Donation button".
For more information on Express Checkout implementation: https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECGettingStarted/

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.

Creating paypal buttons on the fly

I have a webapp, where users sell printing services, I want to allow my users to add a pay now buttons to their pages so customers can pay for their services.
My users specify their paypal email address etc in the settings and set up their services with a price etc.
What API should I use to create the pay now buttons on the fly ?
Thanks
You don't need an API for creating "pay now" buttons. You can either create the button from within your customer's Paypal accounts or dynamically generate with HTML (see HTML Variables for Paypal Payments standard).
One advantage of creating the buttons from your/their Paypal account is that you can get an additional layer of security (support for encrypting the form or using a hosted button id so user cannot change the amount submitted to Paypal).
However, if you deal with hundreds of different buttons then it makes more sense to dynamically generate the buttons and just perform additional validation when Paypal sends back the confirmation (either through PDT or IPN) before shipping your items.
You could use PayPal's JavaScriptButtons API and create your buttons dynamically with:
paypal.button.create(business, data, config, parentNode)
There is an button manager API that let's you create secure buttons - here is more info: https://www.x.com/developers/paypal/products/button-manager
PayPal offers different buttons based on your requirement.
Follow these steps to generate PayPal button:
Login to your PayPal Account
Click on Tools --> All Tools
Click on PayPal buttons
Now you are given few button options --> Buy Now is one if them.
Follow those three steps and then copy the code at the end of 3 steps and paste it in the page where you want this button to appear.
You are good to take Payments!

Which PAYPAL method to use?

I am working an e-commerce site which will allow pdfs to be downloaded once payment is done.
So, user will put them in a cart, click buy using paypal and from there will come back to see download link on a success page.
I have implemented PDT.
Not sure which is the best option ?
Please help. I want to take care of any connection lost scenario too, like user completes payment at PAYPAL and while returning back to our site's success page, connection is lost and for some n days, user couldnt access internet as well.
I would just use the IPN.
Keep a record in your database that has all of the order items.
e.g. Order and Order Items (in 2 tables)
Then send that primary key across as the "custom" variable.
Then your ipn handler page will validate the payment and then email the customer their digital goods.