Where can I find the MerchantId in a PayPal Sandbox for a Business account?
I need it to fill the merchant_id property for a Payee object (a third party who will receive part of a payment via credit card), which is then added to a Transaction.
I use the .NET SDK but it doesn't matter in this case.
Visit https://www.sandbox.paypal.com and login using your sandbox account credentials. If you need to reset the password, you can do that via the dashboard of the developer site (https://developer.paypal.com)
Once you login, click "Profile" near the top. Your Merchant Account ID will either be listed near the top, or about 2/3rds of the way down the screen.
Related
I am using paypal personal sandbox account and I need to get PAYPAL_ID as a recepeint type. In my business account, I used Merchant ID as PAYPAL_ID and it worked for transactions but in personal account, I am unable to see Merchant ID in my account settings.
Can anyone please let me know how can I get or see Merchant ID or PAYPAL_ID in personal sandbox account?
And is Merchant ID only given by paypal in business account and there is no Merchant ID in personal account?
Thanks in advance.
All PayPal accounts have a unique Merchant/Payer ID, but there's no straightforward way to find it out in a personal account's interface since it's not needed for anything. [Edit: actually, personal accounts should also display it on the settings page you get when visiting https://www.paypal.com/businessmanage/account/aboutBusiness -- the interface is different than with business accounts, but the value should be there ]
You can find it in the page source, or by first signing in to https://www.sandbox.paypal.com/signin and then once signed in going to https://www.sanbox.paypal.com/buttons and creating a Buy Now button. If it is a Personal account there won't be options in Step 2, but if there are options, uncheck the one to save the button at PayPal. Then create the button and above the generated code there will be a link to remove code protection. The "business" value will be that account's MerchantID/PayerID.
This value shouldn't be needed for anything, but that is how you can manually obtain it.
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!
I've been trying this for few days. I've created some seller accounts, one of them I created early this year and it was working fine. Then when I return for this project this March, Paypal changed the API from x.com to developer.paypal.com. The old seller accounts were still working fine and can still accept the digital goods payments from the payer accounts that I created recently, however the new seller accounts, with BUSINESS type, suppose to be able to pay and accept payments got some issues. These newly created seller accounts receive the following warning:
You are not signed up to accept payment for digitally delivered goods.
Doing some research with google, I released I have to set the paypal business account for digital goods. But I can't find where to set it from the new paypal developer control panel. Even when I tried to log in to the sandbox version of paypal.com, using the seller accounts I created in the sandbox, I still can't find where I can set it. In my business setup, there are only two options for me, one is Paypal payments pro and other other is "Virtual Terminal". Any idea? Please help....
I've found the way to add express checkout for digital goods in sandbox, but I think Paypal should pay attention to this because the way I used was very clumsy.
First sign in to sandbox and choose a business account to log in to the sandbox by using the url provided in the Application/Sanbox Accounts. Then use the account that you want to set to accept digital goods checkout to log into the sandbox url, it should be www.sandbox.paypal.com/us/home
After logged in, go to my business setup and pay attention to the setup my payment solution. Click the view all products and you will be redirected to a new page. Please note the url now, the "sandbox" is missing. Now click on the express checkout button, or whatever you want to add to the payment solution, you will be redirected again. Now pay attention to the url, insert "sandbox" to the url, e.g www.paypal.com you have to replace it with www.sandbox.paypal.com, the rest of the url remain the same. Then press enter you will be redirected back to the business setup page. Now you can see your payment solution has become express checkout. It is stupid and I hope paypal can let us choose this directly from the control panel in the near future.
An alternative hides in Profile > My selling tools > API access > Update > At the bottom - Enable Express Checkout.
When I later go to My Account > My Business Setup I see: "Your payment solution: PayPal Digital Goods (Express Checkout)"
I was trying to make website payment pro sandbox account. I followed all instructions (from my sellers sandbox account applied for website payment pro, clicked on "save and continue" button after entering all information) but I am getting blank page from PayPal as response.
Does anyone know how to create Paypal Payments pro in Sandbox account ?
Go to https://developer.paypal.com/ and login using a valid PayPal account.
Click on 'Dashboard'
Click on 'Accounts' under the 'Sandbox' heading
Use the following values:
Country: United States
Credit card: Visa
Bank account: No
Balance: Up to you
Password: Use something easy to remember
Create the account and retrieve the API credentials by clicking on the little arrow on the left of the account. Click 'Profile' followed by 'API Acess' in the modal window that opens up.
Create a test Business account.
Navigate to the Profile page of the Business account and click the Upgrade to Pro link.
Click Enable on the resulting screen.
I.
II.
Note: Once you enable PayPal Payments Pro for a test Business account, the setting is permanent and you cannot undo the configuration for that account. You create multiple Business test accounts with various settings in order to test all the variations you might need to handle with your application.
To create a Sandbox test account:
1. Log in to the Developer site (if you dont' have and id sign up first) at https://developer.paypal.com and navigate to Applications > Sandbox Accounts.
2. Click the Create Account button and populate the following fields:
Account type: Tick either the Personal or Business radio button.
Email address: Enter a valid email address of your choosing.
The email address doesn't need to be a real email address; the Sandbox doesn't send any email outside of the Sandbox environment. Email to Sandbox accounts, generated as a result of your test API requests, are listed on both the Notifications tab on the Developer site, as well as on the Sandbox test site.
Use the assigned email value to reference this test account in your API calls, and to log in to the Sandbox site when you want to review the details associated with the account.
Password: The password must be 8-20 alpha-numeric characters in length.
First and Last names: The optional name fields accept alpha-numeric characters.
PayPal balance: While this field is optional, it's a good idea to create test accounts with positive bank balances. Enter an integer value between 1 and 5000.
Bank verified account: You should create both Verified and Unverified test accounts so you can fully test your application.
Select payment card (Personal account type only): Test payments made with different payment cards by selecting either Discover or PayPal.
Credit card type: You must select a single credit card type for each test account. The Sandbox associates a mock credit card number with the account.
Log in with PayPal (Business account type only): Tick the I want to add Log in with PayPal to my site box and complete the following fields to enable testing the Log In with PayPal functionality: Display name, Return URL, Privacy policy URL, and User agreement URL
Notes: Use the Notes field to keep track of the test account details.
3. Click Create Account after completing the account details.
The new test account is listed with your other test accounts on the Accounts page.
for more details visit: https://www.x.com/developers/paypal/documentation-tools/ug_sandbox#accounts
Login to your https://developer.paypal.com/developer/accounts/.
Click on Accounts under Sandbox.
Open Profile for the account of your business account. and click on Upgrade to Pro.
Hope this helps!
I have created paypal account on paypal site for testing(buyer and seller account). I developed a site and created a page that redirects me on paypal site to buy the product. Now login is required there for buyer. Can i login there for my test account? that is mypaypalid#live.com, (as i given my #live id and they returned me paypal with #live.com)
help me plz as soon as posible...
You'll need to set tests accounts through https://developer.paypal.com/ (signup required, separate from your Live PayPal account).
In here, create one buyer/seller account. Change the "action" for your to point to https://www.sandbox.paypal.com/cgi-bin/webscr, as opposed to https://www.paypal.com/cgi-bin/webscr
Don't forget to modify 'business' of your button to match the Sandbox seller account you just created.