Integrate PayPal Express Checkout with unknown user's PayPal account - paypal

My company has a software as a back office solution. Recently we are developing a new solution which looks like an e-commerce. Our clients have their websites, but don't have a e-commerce. So we want to offer a feature in our software that can create a shop for them to attach in their websites.
The solution we are looking for is the possibility to integrate with our clients PayPal account and use their ClientID to create a PayPal Express Checkout Button (https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/).
I've done something like this in another project for Slack Integration. We used a Slack Button (https://api.slack.com/docs/slack-button) which is a oauth flow that allow to use the user's credentials and interact with Slack.
The PayPal API provide something like that? Anybody have some thought about it or have done it yet?

Found this guide: https://developer.paypal.com/docs/classic/permissions-service/integration-guide/PermissionsUsing/?mark=request%20permission
It is a flow to ask the user for permission to operations on his behalf.
So we can check transaction details...

Related

PayPal Auto Payment without logging in

I want to make a payment system in which users can connect their PayPal account to a website. In this step, login required.
When transaction occurs, without having to log in again, users can pay to the site.
This would be quite different from PayPal subscriptions -- just auto payment like upwork client account.
What you are looking seems to be a "Reference Transactions" solution. It can be tested in sandbox, but to use it in live, the business account would need to be approved for this feature by PayPal. To do this the account owner would need to contact their PayPal account manager or PayPal's general customer support (not MTS), and explain the business need for this feature.
As far as implementing the solution, the only public documentation I'm aware of is for classic APIs: https://developer.paypal.com/docs/classic/express-checkout/ec-set-up-reference-transactions/ . Any newer API or vault solution does not appear to be publicly available at this time, but you could always contact PayPal's support and ask if there's something they'd rather you implement than those classic APIs. The more significant hurdle is the business approval for the feature mentioned earlier.

PayPal API for funding business account

All the users on my site have a personal account. I would like to add paypal as a payment method to fund a user account. Upon a fund the user account will be credited so he will be able to pay for the services I provide. Is it possible?
Yes, this is possible you can write a script that after the users payment several lines of code get executed that activates your service and credits your account.
The easiest way of doing this is by using a payment provider that sits between paypal and your site. They can deliver you directly the scripts and API you need.
Ofcourse you can also make them yourself. Not sure if the PayPal API already includes this functionality.
I hope that this is of any help
Paypal provides an API to integrate and customize its payment platform to your website.
For starters this limk will give you a breakdown on what you can do with the api.
https://developer.paypal.com/docs/classic/api/gs_PayPalAPIs/
try this link if you are keen on developing that part of your site.
https://developer.paypal.com/docs/api/

Paypal REST API for multiple accounts

I have a Java application that has just been updated with e-commerce features that use the Paypal REST API (https://developer.paypal.com/docs/api/).
I have multiple customers who run this application, each of them can log in to their own admin panel and manage their store and other features.
The Java client for Paypal REST API is working, I have tested it in the Sandbox of my own Paypal account and also in the live environment.
Question: Will each customer have to go into their Paypal account and activate the REST API to generate their key/secret for use in the Java app or is their a way for me to pay multiple PP acounts from the App/key/secret that is already active for my own PP account?
The only thing the Java app is doing with the PP API is creating and executing a payment.
If each customer has to create their own key/secret is there a quick way for them to do this from their PP admin panel? Currently the only way I know is to go into the developer.paypal.com section of the site, which doesn't seem very intuitive for a non techy.
At this time the PayPal REST API does not support third party payments in that way. The customer would need to use developer.paypal.com as you suggested to get their own PayPal REST credentials.
You can collect money and send it out using your own REST credentials but this would make you the liable receiver for the purchase.
PayPal has solutions outside of the REST API that might work for you here: https://developer.paypal.com/docs/marketplace-split-payments/
The Classic API does have a subject option, the subject is the third party. You do need permissions for some of the API calls; however, the permissions API can ease that process.

Testing Paypal Express Integration / Sandbox Credentials / I am not a programmer

I have zero programming skills / knowledge and am trying to integrate paypal express into my shopping cart by following instructions but I don't know what I'm doing and don't understand a lot of it. I would love some help if someone can help me out.
I have created a developer account and gotten the user and password and API certificate and inserted them into my cart settings.
I read on the cart integration instructions I need sandbox credentials to test the integration with a dummy purchase.
So I eventually find some very rough instructions on paypal developer which I dont fully understand, you have to create an app to get tehse credentials? I dont even know what an app is, what its for but I create one somehow, but I dont see any sandbox credentials anywhere, when i look in my manage apps page I see this thing I have created and "sandbox ID" and "Live ID" codes next to them. I am not sure what they are and how I use them, are these credentials?
In paypal developer instructions for the credentials I see it says to go to the paypal account the money will be deposited in, "Get your test credentials by navigating to the Profile > API credentials tab of the Business account you want to use in your request:" but when I go to my paypal account I cannot find this. I do not have a business account (premier) but I was under the impression you didnt have to have a business account to integrate paypal express checkout, you had a choice with either premier or business. Do I need to upgrade to business absolutely? Is this where I find these credentials? Am I barking up the wrong tree with the application stuff? Let's say I finally get these holy grail credentials to test the integration, what do I do with them? I have no idea. I am very sorry for my total lack of knowledge and understanding and thank oyu to anyone willing to help me out.
I am trying to integrate the checkout with Viart shopping cart. Thank you.
You don't need to create an App for Express Checkout. That is only for Adaptive Payments, and Express is not part of that. All you need are the API credentials.
The easiest to get those credentials is to use this tool. Sign in to that with your PayPal account and it will return your username, password, and signature.
Assuming that Viart has PayPal Express Checkout integrated already, then you'll have somewhere in your control panel where you can enable it as a payment gateway on your site, and then within the settings of that somewhere it would be asking you for those credentials. Once you fill those in correctly and enable Express Checkout, it should show up and function for you in whatever way Viart has implemented it.

Paypal Integration with website

I am working on a event-based website that requires PayPal payment. I checked the documentation as well as the questions and answers on Stackoverflow. However, I am still don't know what is the best way to accomplish this. The following are the steps that I have to do:
An audience registers for an event. He provides all the personal information and choose the sessions that he will attend.
The system saves his information into a database and redirects him to the PayPal website so that he can pay by using credit card or PayPal account.
After the payment is verified by Paypal, call back to the website so that I can save the payment status in the database and process further steps.
If you have done something similar, please share it with me. Thank you in advance
PS: I am using PHP Laravel Framework.
You can use Omnipay to do via Paypal: https://github.com/adrianmacneil/omnipay
Your steps 2 and 3 are covered, for PayPal and many other payment gatways.
But if you are on US or UK, you should think about using Stripe as payment gateway. It's what Laracasts (by Jeffrey Way) and Userscape (Taylor's company) is using. It's very easy.
Stripe documentation is awsome and there are some stuff written about this, screencasts, like this one: http://www.screenr.com/d3v8 (for Laravel 3, but you'll get the idea) and Composer packages, like those:
http://packalyst.com/packages/package/mosey/stripe
https://github.com/Abodeo/laravel-stripe
Good luck!