How to set up a PayPal sandbox "Seller" account, a "Buyer" account and an Application Tutorial - paypal

I am trying to set up a Web site which is using PayPal. Unfortunately the PayPal developer site/concept is heavily changed, so all tutorials I found are seem to be useless. For example this (very good) youtube tutorial which is very clear is using not existing pages and functions...
So please try to help me only with up to date information/tutorial.
Please note my questions is not about using API, it is about how to set up an app, and a testing sandbox configuration from the ground.
1) As far as I understand I must have a real PayPal account because dev site uses PayPal account for logon (new). Logged in with this account then I can create sandbox accounts. However I would like to create a "Seller" sandbox account and a "Buyer" sandbox account. (missed I something?) Using the new developer site it is not possible. I can create only one kind of sandbox account. In the referenced video there are two types of sandbox accounts: "seller" and "buyer" in the preconfigured accounts. Or "Seller" simply means Business account?
2) I must have an application id to use the API. Note: I inherited a working legacy code which is using the classic API, so no REST please. In the video (old PayPal dev site) there is a left side menu "API and Payment Card credentials" In the new PayPal dev site no such thing. Instead there is a "My Apps".
I've tried to set up an application. It approved automatically. In its metadata I see a live and a sandbox app id.
What is not clear: To what account is associated this newly created app? I've created it logged in with my real paypal credentials.
More: ??? When filling the app creation form there was an input field titled: "Supply Test Account Name and Password". First of all how can I type the name and a password to one input field? Secondly What is it? Maybe if I use this app with its sandbox app id then this account will be the Seller (got the money) and if I change the app id to the live one associated this app, then my real PayPal account got the money?
However my goal was to completely simulate the payment process so
1) Create a Seller sandbox account (got API credentials)
2) Associate an application to that Seller account, and get the app id.
3) Create a buyer sandbox account
4a) Configure my web site with Seller API credentials and sandbox app id
4b) Orchestrate a buy process using my website, PayPal API and the 2 sandbox account
5) Check the Seller and Buyer sandbox account's transactions.
Thanks in advance

Seller account = Business account
Buyer account = Personal account
You probably only need to create one of each in Developer Sandbox Accounts , but there's no limit if your testing requires some more
To obtain the new REST API credentials, create an App in My Apps & Credentials and select the sandbox Business account to use
Legacy APIs: If testing an old integration, you can still get Classic NVP/SOAP credentials for a business account by viewing its "Profile" within your list of sandbox accounts

Just found myself in the same situation. Like you say it seems to be constantly evolving - not even sure if some of the answers here are still up to date.
Walked through it like this:
Login at developer.paypal.com
Go to Applications tab
Click on the Sandbox accounts on the left hand side
Any sandbox accounts you already created will be listed. Big blue button Create Account to create more

Think of logging in to the sandbox with your real PayPal account as logging into your Sandbox. You do this at http://developer.paypal.com.
Once you are logged into your sandbox in the middle of the screen, click on "continue testing using Sandbox test accounts".
When the next screen comes up you will see a heading of Sandbox Test Accounts and to the far right of that a button to Create Account. Click on this and then you need to create a "Personal" buyer account (your sandbox buyer who you will test with) and a "Business" seller account (your sandbox seller who you will test with).
Set up each one of these as if you were setting up a new Paypal account.
When you have them created fully you will have fictitious bank accounts to work with.
Beyond that, you may wish to check out these tutorials http://www.developphp.com/list_php_video.php where the site goes in-depth with setting up PayPal payments on a website using your own custom, basic shopping cart with a PayPal IPN (instant payment notification). You want to scroll down to the "E-Commerce Website Tutorial...". Lessons 9-20 deal with the cart and accepting PayPal. This may be an older way to do things, but it will help you get a general grounding in working with PayPal IMHO.
You also can visit https://developer.paypal.com/webapps/developer/docs/ At the bottom of the column is a heading "Classic API's" that may provide the documentation you are looking for to move forward.
Good Luck!

Related

sandbox paypal integration

I am trying to integrate the paypal sandbox using the paypal developer link.
I have searched many examples. But the sandbox paypal(https://www.sandbox.paypal.com) is totally different from https://paypal.com.
In sandbox has the Merchant id, user id, password and signature.
how to i find out the "demo_sandbox_client_id"?
Is Merchant ID is same as client id?
To get the client_ID, you need to make an app in developer.paypal.com. Remember that you need a sandbox business account to be able to make an app, and for that, you can log in to the developer website with any personal or business paypal account. You then need to follow the link there to connect your sandbox business account to your developer account (by logging in with your sandbox credentials in paypal.com).
Go to https://developer.paypal.com/developer/applications
Sign in using your email account.
Under Dashboard > My apps and credentials > REST API apps
Create an app (if not yet existing)
Click the app, then use the clientID as the sandbox ID
To know which account to use to pay, go to right menu > SANDBOX > Accounts
Copy the email with the buyer keyword. Change the password.
To check if the sandboxId works, use this site (supply the sandbox key with the clientId)
https://developer.paypal.com/demo/checkout/#/pattern/checkout

How does a non-developer test a dead simple, single-use, Paypal button?

I'm not a programmer, a developer, or a genius. I'm a semi-intelligent person who wants to build a single-serving Web site that provides a simple service for a fixed price.
So I just need to test a single "Submit & Pay" button that I've built using a Machform form. You fill in the form, press the button, and it directs you to Paypal to complete the payment.
Everything is working until I get to the Paypal part. But I don't want to start paying Paypal fees just to check if it's working okay.
There seems to have been a Sandbox option in the past on Paypal, but after creating a basic Sandbox account, it... doesn't work. Links go nowhere, and even the main site (cms.paypal.com) goes to a 404 page. The "Getting Started with Sandbox" link goes to a broken page. The "Sandbox User Guide" attempts to load a PDF on a site I don't know, and don't trust.
The "Sandbox" options on the main site -- when they don't go to the semi-broken, I-guess-abandoned "Sandbox" site -- go to developer.paypal.com, which is way too much gun for me. Even a Google search for "paypal sandbox" now leads exclusively to developer.paypal.com links.
I just need to confirm that my "pay" button will execute correctly in Paypal; I don't need to build a multi-platform API that configures my JavaScripts to execute a parallel-stream optimization option on a scaleable interface across mobile devices with integrated IPNs and a side of fries.
What's the best way to do that?
The sandbox is indeed what you need for testing, and you do need an account at developer.paypal.com in order to use it. It's not a complicated thing, though. You don't have to get all crazy with it if you don't want/need to.
Go to http://developer.paypal.com and login there with your PayPal account. Once logged in click on Applications and then go to Sandbox Accounts.
Use the Create Account button to create at least 1 seller account and 1 buyer account. For the seller account just make it a business account. For the buyer account you can make it personal or business.
Launch your sandbox seller account and login to that. This is your fake PayPal account that you can use just like your own. From within that account you can create buttons just like you do from your live account, and you can place those buttons on pages to test with.
Then when you launch that page in a browser and click on the button it will send you over to sandbox.paypal.com instead of the regular paypal.com, but it will all look very similar to what a buyer would see during payment. You can use the buyer sandbox account you created to complete the purchase exactly as you would with a real account.
After that you can login to the seller or buyer account to see how things would look for each person in the transaction.

Paypal start up testing and managing payment

I am new to Paypal integration to websites. I just created a sand box test account to try and create buttons.
I am trying to make use of Paypal subscription to my website.
Can anyone give some basic information of how can I test and increase my knowledge on Paypal integration to my website.
Thanks
Well, you are going in the right direction. You would want to sign up for a developer account at developer.paypal.com. Once you have your developer account set up, then you would want to log in and create a test sandbox buyer and sandbox account. You can use these accounts to create test subscription buttons and walk through and sign up for the subscription with your buyer account. This will allow you to test with subscriptions in the sandbox.

No funds being added to new Paypal Sandbox accounts in Developer Beta

I've added a new Business account and two new Personal accounts in Paypal Developer (the new one), and no funds have been added to the accounts. When I try to use them in my development process by signing in, once I've logged in, Paypal tells me that I need to add a credit card to continue with the payments.
I've also tried confirming the bank account through the sandbox account, and it comes up with the error Sorry - your last action could not be completed.
I can't complete the debug process without funds in the sandbox account, of course. But nothing I try will put any funds into the test accounts.
When you create a Business or Personal account in the Sandbox you have the option for selecting whether or not it has a credit card and bank account added to it. I would recommend selecting them when you create the account or they would need to be manually added and confirmed.
Navigating within a Sandbox account to make changes to it can be difficult and there are a few known issues currently that redirect you to the Live site. Those should be resolved soon.

Creating sandbox paypal pro account

i have some difficulties creating test account in sandbox. I found some similar topics but i still can't understand what to do.
For example this one "How to create test account with PayPal Payments Pro (Use to represent yourself as a merchant using Pro) option selected in sandbox?"
It says login in developers site, ok, done with that. Then "click on the link Preconfigured". What link? I can't find it. It just does not exist on that page and on any other that i searched.
Why i cannot login to https://www.sandbox.paypal.com with my seller account from sandbox, but it's possible to login using clients accounts (personal) from sandbox.
Do i need to apply to Paypal Payments Pro after i registered my sandbox account, and if i need why do i get "Service is not responding due to an internal error. Please contact customer service at +1-888-883-9770.". Also what social security number do i have to use(i just want to check integration with paypal, i dont have any bank accounts or social security numbers. i'm not even from usa)?
Do i need to accept licence agreement and where can i find it? According to this document https://ppmts.custhelp.com/app/answers/detail/a_id/642/kw/10501 it's located somewhere inside the "Merchant Services" tab. After about an hour of search i found it in old interface. When i click it i'm being redirected to "My account".
Please, help me somebody. I'm sick and tired of that buggy, laggy and terribly designed paypal's site.
Once you are logged into developer.paypal.com, click "Applicatons", then click "Sandbox accounts". You see a blue button at the top of the page that says "Create Account". When you create a business account, you will automatically be signed up for PayPal Payments Pro.
You can then grab your API credentials by clicking the "Profile" link from developer.paypal.com.
Edit:
Updating answer with additional information about creating test accounts.
https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/ug_sandbox/