Charge Paypal users without letting them enter their password again - paypal

We want to offer payments using paypal within our web-app concept. A few days ago i took my first ride using uber in Germany. They provide to add paypal as payment method and after every ride i just can pay using paypal without entering my credentials again.
How to implement a payment process like this?
We want our users to add paypal as payment method and then - X days aftersignup (eg. when we found the right product for him) we want to start the subscription.
The thing is that these X days varies from user to user so we cant use a billing agreement with a fixed start date and due to the fact its a subscription model we cant use just a single payment authorization.

I found the solution: Paypal calls this feature "Adaptive Payments". You can read it here: Adaptive Payments API Reference

Related

Recurring payment on PayPal Express Checkout

Im trying set up recurring payment on my site by using Paypal Express Checkout. I did read through the official docs and I couldnt find anything useful related to recurring payment.
https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/
Im just wondering does Express Checkout support recurring payment? If so, how can I achieve that or Where can I get some good example to start with?
Thank you for your help in advance. Much appreciated
Cheers
We have a similar issue before. You might wanted to take a look at this thread.
I'm trying to understand the use case here. When you say recurring payment for express checkout,it has to be something a customer is buying regularly like restocking an item, in that case it's not an express checkout, it's a recurring purchase by a returning customer. They must have opted to restock at a regular interval like every 30 days, 2 months etc. They also must be registered users on your website.
So your logic must include — Checking all the customers who have set up an automatic purchase for an item.
—Check their frequency of purchase and charge them for the amount of the item at that frequency.
—For this purpose PayPal has a REST API :
This is the accurate place to look for to implement PayPal recurring payments:
https://developer.paypal.com/docs/api/payments/#payment_create
In case they also allow you to authorize payments through the following API
https://developer.paypal.com/docs/api/payments/#authorization
you could use it as well.
But at least this narrows down your choices in terms of regular payment authorization.
This API will allow you to request PayPal services to authorize payment on a regular basis for that customer. You will still have to have your own logic to check the 'subscription' for your products and the intervals.
—The CreateRecurringPaymentsProfile API Operation (NVP) at the link below looks to be for personal payments. For example something an Inventory Management System will do.
https://developer.paypal.com/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/
It's an API specific to adding recurring payments functionality.
Since you're a developer, PayPal Developers' Resources will answer any queries you have regarding the API functionality and usage. You will have to just know what to ask for. You are their B2B customer trying to understand their API system. You can also file a bug on their Developer portal if you're not getting proper answers.

Can i use pre-approval using PayPal website payments pro?

I am making a system in which user permits pre-approval of amount. I've used pre-approval with chained payment. But the problem is that my customer gets redirected to PayPal site and also he/she must have a PayPal account or need to create one. So can i make pre-approval payment using PayPal website payment pro? So my customers will not get redirected to PayPal account. And the process becomes more fast? Note :- I don't want to use authorization and capture method. Thanks.
Edit
One more question :- If i make the website in the UK and the currency in GBP, can I still use the American Paypal account for this?
Auth and Capture is what you're asking for, but then you say you don't want it..?? That's what gives you the functionality you're after, though.
You could do a $0 auth and then run DoReferenceTransaction when you're ready to process the payment as opposed to capturing an actual auth if you want.
Those are your only options when working with Pro, though, and it would give you the same sort of preapproval experience for the buyer.
Here are the steps to accomplish what you're after.
Use DoDirectPayment to run a $0 Authorization (card verification). Users will enter their credit card details directly into a form on your site without any redirection to PayPal (and without any knowledge PayPal is being used at all unless you notify them some way.)
Save the transaction ID that you get form this card verification into your transaction history for the customer in your database. This ID is what will be used to process future payments using that credit card.
When you're ready to process a payment for this customer, pull the ID out of the database and use it with a DoReferenceTransaction request to process any amount you need to.
So the card verification is your preapproval, and then running reference transactions are the same as running Pay requests with a Preapproval key. Both methods accomplish the same thing, but one is with direct credit cards and the other is not.
If you're using PHP you can use this PayPal PHP SDK to make all of the API calls very quick and easy for you. If you're using some other language then there are SDKs available for those as well I'm sure.
Please correct me if i am wrong, #Andrew Angell #Ved Pandya
Auth and Capture or Capture payments later method allows you to do direct payment, but it comes with additional charges, which might not suitable for crowdfunding model as refund/ cancel payment is very frequent
Auth and Capture: You are required to pay $0.30 for each "Card Verification Transactions"
Capture payments later: You are required to pay $0.30 for each "Uncaptured Authorization" that you triggered
https://www.paypal.com/us/webapps/mpp/merchant-fees

PayPal subscription billing modification not working

We are using PayPal Payments Standard (aka Website Payments Standard) for our users subscription billing system.
Users want to upgrade their subscription from monthly to yearly for example.
So I generated a new subscription button with the new subscription parameters on my website, then click goto Paypal form, I see the current and new subscription on paypal platform, fine : (the amounts and cycle duration are simple tests values to demonstrate the problem)
Then click on SAVE button but paypal give an error saying :
"Amount can only be increased by 20%"
Paypal think I am only changing the price but it is not true I am also changing the billing duration (from month to year).
Do you know if it is possible with Paypal or the only way is to cancel the current subscription and start a new one ? That would be so bad from paypal.
Thanks in advance for help.
According to the PayPal API documentation, that is built in to their systems https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/WPRecurringPayments/#id086530108PM

Paypal ExpressCheckout + chained Payment

I developed a Web Application that accepts payments via the ExpressCheckout API, for users to become a members.
Everything works fine.
I now want to extend my Web Application Services and offer my users with the possibility to buy items which are sold by third parties (my members).
The principle I would like to implement is quite simple: for each order, let the user pay for the item they choose and then transfer a part of the amount I received to the item provider, and keep some money for me. I would like to automate this process so that once I received the payment notification, I compute the amount of money to transfer to the item provider who might or not have a Paypal account (in other words, this means that I could maybe need to transfer the money to a bank account, using the IBAN/SWIFT data) and then proceed with the money transfer.
I tried to find a solution reading your documentation and came across the "chained payment" but the latter does not seem to be used within the ExpressCheckout workflow.
Also, since my implementation of the ExpressCheckout flow works, I would not like to have to find a totally different solution but rather extend it... if possible.
Could you please tell me which is the best solution for me?
In advance, many thanks for your help.
You could do 1 of 2 things. You could use Express Checkout with parallel payments. This means you could split the transaction up between different accounts at the time of purchase. The other option would be to just receive all of the funds into your account, and then when you are wanting to send money to the other accounts you could either use the Adaptive Payments (Pay) API or the MassPayments API to send money to the other accounts. Keep in mind you would have to send it to their PayPal accounts, you would not be able to send it directly to a bank account with either one of these API's.
I had the same issue and I got an answer from PayPal that it is not allowed to use Express Checkout to transfer money to your PayPal account and - at a later point in time - transfer the amount minus your service fee (which stays on your PayPal account) via Adapative Payments API to the seller's PayPal account. PayPal suggested to use Chained Payments API instead. All works fine in the sandbox, but once you need a Live APP ID from PayPal they will review your business case and deny it. At least that what happened to me.
I know that is old question, but anyway, I tried to find solution and was enable to perform the simillar thing like described in question. So, then I asked paypal about this, and they gave me advice to use SellerDetailsType Fields that 's called PayPalAccountID, description for this field is Unique identifier for the merchant. For parallel payments, this field is required and must contain the Payer Id or the email address of the merchant. It wasn't clear for me to use this field for solving my problem. Here is link https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/SetExpressCheckout_API_Operation_SOAP/ I described field for soap request, for NVP it's called PAYMENTREQUEST_n_SELLERPAYPALACCOUNTID, but the idea is the same. I hope it will help someone.

Paypal recurring payment

I've got an enhancement from client and big trouble with answer if it is possible or not to do.
What I have is a web which provides seo service.
Client types phrase than chooses service option etc.
There are severals service options like:
single payment - service will be active per only 90 days
membership - client declare to pay a sum of money every 90days (recurring payment)
membership + extra support - same as membership but + extra sum of money
1) Suppose that client choosed first option and after 90 days decided to continue service.
Is it possible to set reccuring payment via paypal without need of client's interference* (we do not store any credit cards numbers in database).
2) Suppose that client choosed second option and after about 10 days decided to get extra support.
Is it possible to change sum of money which we are charging from client every 90 days, without his interference*.
* client don't have to fill up payment form (paypal side) once again.
I would be very grateful if anyone can help me with this issue. If it is possible which paypal accout do I have to get.
Thanks
Maciek
Thanks for reply. However I still don't get it.
Do you know how can I (as merchant) from my website/shop admin panel (not paypal profile site) cancel subscriber's subscription ?
In PDF "Recurring Payments API Overview" I have read that
"N O T E : There is currently no API access to allow merchants to modify or cancel a profile."
and in limitation:
"You cannot modify or cancel a recurring payment profile using the Recurring Payments API".
What can I do with this issue? Maybe there is another Paypal API that lets me to do what I want.
By the way reading PayPal Payments Standard Integration Guide I found that without subscriber's log in it is not possible to upgrade his account. Is it possible to upgrade ( charge more money monthly) without his log in?
Thanks
Maciek
Yes, PayPal has a "subscription" mode to handle this sort of thing, including the ability to modify a subscription. See https://www.paypal.com/pdn-recurring.