This question already has answers here:
PayPal sandbox API credentials missing?
(4 answers)
Closed 9 years ago.
No end of trouble since the developer site and sandbox was changed last week. I've not managed to make a single working call to the new platform since it was launched.
I've managed to get as far as getting 100002 errors back - which at least means things are talking, but I noticed today that if I create test accounts, the API Credentials are blank/missing:
![screenshot])(http://qikr.co/files/pics/p/paypalnoap91044.jpg)
Does anyone know a fix for this? I've cleared out the browser cache etc.
There are some issues with the Credentials not appearing for some accounts. Currently you are logged into the developer account. Try logging into the actual sandbox seller account, and going to the profile and requesting the credentials. You should be able to view these from within the Sandbox seller account, and if they have not been requested yet, you can generate these.
Log out Paypal account
clearing browser cache and cookies (I use firefox).
Go to developer.paypal.com and login with the real paypal account (not the Sandbox one)
Go to Applications
Click on Sandbox accounts
(Optional) Import your old accounts from your former Sandbox account after the redirect to the accounts page
Click on the account you want to log in to
Choose Sandbox site
Log in to that site using your test business account
Go to My Profile
In Account information click on Request API Credentials
Choose the option that solves your needs
The API crecendiales were created !!! (they will appear in your test account profile)
Related
I'm trying to follow the instructions here which tell me to create credentials via the instructions here, which as step 6 tells me 'Click the user type for your app. If you're running a Quickstart, select Internal.'
On the page in question, 'Internal' is greyed out, and tells me I can't select it because I'm not a Google Workspace user. Going to Google Workspace, it tells me I need a domain name for 'my business'. Since I don't have a business, or any domain that would have anything to do with this project (I just want to push some personal data from the command line to a sheet), I don't seem to be able to proceed. Is the Google Sheets API just not available for such use?
If you don't have a Workspace account but you don't want to publish your app publicly (and go through the associated review by Google), you can set the app to External and test the app instead of publishing it.
In order to do that, just add yourself as Test user when setting the OAuth consent screen, and leave the Publishing status on Testing, don't change it to In production:
Testing
Projects configured with a publishing status of Testing are limited to up to 100 test users listed in the OAuth consent screen. A test user consumes a project's test user quota once added to the project.
Google will display a warning message before allowing a specified test user to authorize scopes requested by your project's OAuth clients. The warning message confirms the user has test access to your project but should consider the risks associated with granting access to their data to an unverified app.
Authorizations by a test user will expire seven days from the time of consent. If your OAuth client requests an offline access type and receives a refresh token, that token will also expire.
Reference:
Publishing status: Testing
Unfortunately, that means that the authorization lasts only for 7 days. Which means that I have to keep creating new projects every 7 days, which is untenable. Here is the excerpt from the "Setting up your OAuth consent screen" page on the Google support site.
Authorizations by a test user will expire seven days from the time of consent. If your OAuth client requests an offline access type and receives a refresh token, that token will also expire.
We tested our web application successfully using a sandbox REST API account (and test credentials).
When we wanted to put the application into production (using REST API live credentials visible on the same PayPal web site where the sandbox/text credentials were shown), we received an error from the production PayPal server on a live credit-card transaciton:
Error code : 401 with response : Server returned HTTP response code: 401 for URL: https://api.paypal.com/v1/payments/payment
We have a Business Account that is not yet 100% verified (75% verified at the moment), so we are not sure if this is caused by some technical issue or the fact that the account is not yet 100% verified.
PayPal web site is quite confusing and the process of moving the app from test to production is not clearly explained. It seems that they are migrating from some old web sites to new ones and the user is prompted to login multiple times, redirected to different URL-s... E.g. we can see our application test and live credentials on the developer.paypal.com, but not on apps.paypal.com where no apps are listed, even though the same user is logged in (owner of the business account)???
For future readers, you have to use Live Credentials, on https://developer.paypal.com go to My apps and in App details there is a link at a bottom of the page :
Click on that link and you will see live credentials.
You now click on your sandbox application and then click live at the top of the screen to get your live credentials.
For the PayPal REST api use the credentials provided on developer.paypal.com (new version of PayPal dev experience). Live calls require the account to be vetted which includes fully verified.
All I want to do is get the credentials from my test account to see the Profile to make test payments on my online store.
The old Sandbox worked like the Live page and I used to easily get my test profile. The new sandbox interface make it all different.
I was able to login to sandbox with my LIVE business account, then import my old test accounts (business and personal).
But how do I get the test business account Profile? How to log in with a test account?
All I see is this on the new sandbox:
What I need is to get is this on the new sandbox interface:
Merchant ID
And the Return URL and Identity Token:
After I get this info from the Test Business account, I can continue with developing and running in a test environment. I think the live settings are still working, but don't want to check yet.
If you click on 'Sandbox site' instead of 'Profile' you'll be redirected to the Sandbox page where you can login to the account and access the information you're looking for.
Alternatively, simply navigate to https://www.sandbox.paypal.com/webapps/mpp/home which would be the exact same page.
Several month ago, before FB restricting the ability of a Page Account to create apps, I have created an application and linked to the page.
Now I cannot access anymore to the developers page with this account. I had to create a new app with my personal account, but I can't find a way to remove or unlink the old app from the page.
I cannot create a new page, as a result of nearly one year of activity on the current page, and trying to link the new app to the old page I get an undefined error.
We are in a sort of limbo...
Anyone has an idea on how to solve this situation?
I'm assuming you mean 'business account', not Page?
If so, and you're still able to log into the business account to manage your ads and pages, you can authorise your app by manually calling the Oauth dialog with the client-side Oauth flow, then use the access token (which will be for your business account, the admin of the app), to add your real user account as an additional admin
https://developers.facebook.com/docs/reference/api/application/#roles
You can define a role for a user by issuing an HTTP POST request to
APP_ID/roles with a user access token for an administrator of the app...
So a call to https://graph.facebook.com/<APP ID>/roles?user=<USER ID OF REAL ACCOUNT>&role= administrators&access_token=<ACCESS TOKEN>&message=POST will add another admin
I am using the PayPal sandbox to test user transaction on my website.
The site is going to be put through usability testing soon.
The problem is, whenever a user goes to complete a transaction, they are first asked to "Please login to use the PayPal Sandbox features."
This is the link that my form points to: https://www.sandbox.paypal.com/cgi-bin/webscr
I want the test users to skip having to create a PayPal sandbox account and just use the test user accounts that I have setup.
Is this possible?
This is not possible. A user has to have a developer account created at developer.paypal.com to be able to use any PayPal hosted payment methods on the sandbox.
However, you can submit API calls to the sandbox without the members needing a developer.paypal.com sandbox account.