How to make PayPal recurring donation button for OTHER nonprofits - paypal

I would like to include PayPal recurring donation buttons on my website so that users can donate to other nonprofits/charities of my choosing. My website would include many of these buttons, and all money would be sent directly to these charities. How would I go about this? As far as I know, one can only create donate/subscription buttons where the money goes to the creator of the button. Thanks!

When you create the button make sure to uncheck the option to save the button at PayPal, which would bind it to that account.
When you do that the HTML code provided will include a "business" parameter that would be the email address of the account the profile should be created with and the money should drop in to.
Another option would be using the Express Checkout API, with which you can specify the account the money should go to with the SELLERPAYPALACCOUNTID parameter.

Related

PayPal Checkout API - Defining payments as a donation

I have set up the option to pay payments from my site with the PayPal system API. Everything has been fine for several months.
In a conversation with PayPal customer service I was told that I am sending the payments in a state of payment (for the purchase of a product) and not a donation
And that makes for mistakes
The problem is that because these are non-profit organizations it should be defined as a donation and not a payment
In this guide I have not found how to set it up: https://developer.paypal.com/docs/checkout/integrate/
You are using a Checkout flow, probably with a Smart Button.
If you want to use the Donation flow instead, you can create a Donate button via https://www.paypal.com/buttons
If you want the button to be editable so as to change the email of the receiving 'business' account, in step 2 uncheck the option to save the button at PayPal, and when viewing the code click the option above to remove code protection.

PayPal Change 'Cancel and return to' text

I have a PayPal account and have multiple buy now buttons on my site to allow users to purchase multiple tiers of my services. The issue is on the checkout page, the link at the bottom says "Cancel and return to me#foo.com" which is my email and I want to change it to my website's name.
I don't have a bussiness account and I managed to change it on the sandbox account, but I can't remember how I did it. The "cbt" tag isn't working for me either.
This is how it looks:
I know that if you're using the Express Checkout API you can set that value using the BRANDNAME parameter.
With Payments Standard, though, I'm not sure you can do it. You could check your PayPal profile under Custom Payment Pages. It may let you adjust that there, but then it would be the same for every site.
Express Checkout is the only way you could customize it per website/checkout.
YOU CAN DO IT IF YOU HAVE A BUSINESS ACCOUNT ON PAYPAL SITE.
Business accounts will display the business name on the account providing you have the Business Name field populated in your Account Profile.
Login to your Account.
Click on the Profile link.
Under Account Information.
Click on Business Information.
What do you have for the Business Name?
If you don't have a Business Name there, next to the Business Contact Name, click on Change Name.
Select the Radio Button for Business Name Change.
Click on Continue.
Make the changes and save.
Logout of your Account. (All done :)
Next delete your web browser's cookies, temp files, history, etc., then close your web browser, reopen it and retry one of your item buttons. Go throught the PayPal Screens to see if anything has changed.

Paypal - Recurring Donations URL

Paypal makes it really easy to create a donate URL. A donor can enter a custom $ amount or use a fixed one. We'll use the custom amount, since it's more flexible. Is there anyway to allow the donor to enter a custom amount, and have PayPal display a checkbox for example to allow this amount to be a recurring monthly donation via a URL?
We checked out the "subscribe" button, but it only returns a form, not a URL, and didn't see anywhere to let the donor choose the amount.
Basically, this should be an optional field in the donate URL. Any ideas on how to accomplish this?
You'll need to use standard subscription buttons or the Recurring Payments API. Either way you could setup your page so the user chooses those options on your site prior to being sent over to PayPal.
use cmd=_donations. Paypal will prompt for an amount and whether it is recurring.
PayPal now has recurring donations, for mobile checkout, by default. See this blog post.

Choosing which PayPal checkout form to use

We send people to PayPal to either donate or subscribe to our site.
We have guest access enabled, when you start a fresh session and navigate to our donate page and click the button, you get a nice 'guest' checkout page.
But, if you log in to PayPal and then logout again, you don't get this form on your next donate, you get the 'login' form.
I'd like to be able to force all users to the Guest form if possible. I know that there are a bunch of features not available to us lowly 'donate button' users (as opposed to Express Checkout and the like) but surely I could pass a param that forced the Guest form?
Answering my own question here.
Can you force PayPal Payments Standard API to show credit card fields first?
Is it possible to have PayPal standard expand the 'Guest Payments' tab by default?
Its all based on the PayPal cookie and there's nothing that allows you to override that.
EDIT This has been confirmed by PayPal support.
If there is a cookie, or if you provide an email like WooCommerce does by default PayPal will assume you have an account. See my answer in Paypal Payment Standard default enter card details

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!