I'm not sure what I'm doing wrong. I'm trying to make my first call using API with Postman to paypal and I'm getting an error. I've followed the steps. I'm logged into my developer account on paypal, I created a new test account called "uokgames1". Any information would be great. I'm trying to find video tuts as well but nothing useful so far.
username: uokgames1#gmail.com
Password: not sure if I can share the password or not. I'll ask before I post it.
Screenshot:
Ok I think i got it working but I want to share the answer with everyone. This worked for me but I may not have the best answer but I hope it helps you.
Step 1:
You need to create a dummy app and account linked to it.
Step 2:
Get your sandbox credentials
Step 3
Enter the information in Postman. You want to use the Client ID as your username and use the secret as your password. Select Post and use x-www-form-urlencoded.
Step 4
Click Send and you should get a response message with your token.
Related
I really need your help guys. Since two hours I'm facing with a very strange problem related to Paypal Sandbox. I read lot of answers here on stack overflow but none of them helps me.
I'll try the explain my problem: when I create a new sandbox account (respecting all rules like password strength, load balance etc.) I receive the "success" message, the account is created and visible in the list, but when I open it using "Profile" button I receive this error message (and is really a problem because I need to get the username, password and signature to work in sandbox mode):
Account Details
Your request is still processing, please wait...
No difference between "Buyer" or "Seller" account, it always fail.
I've tried in many ways (using notes, changing email address, using custom numbers into email) but nothing is work for me.
Someone can suggest me what can I do?
Thank you very much.
I think I've found a temporary solution to works with PayPal sandbox.
Instead of create an account using "Create Account" button you have to register a new account using sandbox website.
In details:
Go To: https://sandbox.paypal.com
Register a Business Account
Go To: https://developer.paypal.com/developer/accounts/ and click con "Click Here". This link is placed in the Second paragraph of the page:
Want to link existing Sandbox Account with your developer account? Click Here and provide credentials of your sandbox account
You will be redirect to sandbox paypal web site, if you don't do anything it will recognize your previous register account (anyway, if not, you have to login with the new created account), procede with linking process and after you will have, in the list of accounts, a new one with "Profile" button ready to show you informations necessary to works.
I don't understand way paypal release an important tool like this with a lot of bugs. No response received from no one.
BugPal your are luky because we needs you but please, improve your development process! :#
Looks like a general problem on Paypal side. We see same issues with two of our accounts. It was working last friday.
I dont have access anymore to the sandbox.paypal.com
In Developer Account I tried:
Want to link existing Sandbox Account with your developer account? *Click here* and provide credentials of your sandbox account.
After few redirections it refuses to sign me in:
Error
Relying Party Validation error: client_ID or redirect_uri provided in the request does not match any of the registered clients. Please check the request.
I've tried with two differents accounts, one of them do not have a live account, and it give me each time the same error without further explanation.
#paypaldev filed a ticket on the issue but I'm not sure what to expect.
Do am I the only one ?
An update here for everyone else as I followed up with François via Twitter. The internal teams were able to track down the issue that was causing the relaying party validation error, and it should now be fixed without needing a workaround. If anyone is still seeing an error, please let me know and I'll circle back with the teams working on the fix.
My application uses the SetExpressCheckout paypal classic API method. It is working fine when I use real accounts in a live environment.
It used to work fine using test accounts, but some weeks ago it has stopped working right. At some point, my application calls the "SetExpressCheckout" API method using curl in PHP. When I use the test seller account that I've always used for my tests, I always get the following error:
SetExpressCheckout API call failed.
Detailed Error Message: Security header is not valid
Short Error Message: Security error
Error Code: 10002
Error Severity Code: Error
I know that paypal has recently restructured its "developer network", and the issue seems to be caused by this but I have no proof of that. The API I used is now called the "classic" API.
I've read the documentation, and it says that I now have to create a new "real" paypal account, and then use it to log to https://developer.paypal.com. I did that.
Once logged to the developer website, there is a feature allowing us to import all the test buyer and seller accounts used in an old sandbox account. I did that, and my old test accounts appeared in a list.
One of them is the test seller account I used to test. When I check the details of this account, the username, password and signature used to authenticate to the paypal API are there. If I use them, it still returns the previous error.
There is also a feature allowing me to create test accounts. I've created a new seller, and still, I get the same error message.
When I search on google about this issue, most answers says that the username, password or signature are wrong or have hidden white spaces in them. That's not my case.
I don't know how to solve that problem. I am wondering if the API endpoint has changed. I currently use "https://api-3t.paypal.com/nvp" for tests. I am using the NVP API, version 64.
To make it short:
1) My test account used to work
2) The code has not been modified
3) Real accounts used to work and still work.
4) But test buyer account has stopped working
5) The issue chronologically coincide with paypal "developer network" restructuring.
6) I don't know what has changed exactly and might cause this.
7) Does anyone know what has changed and might has caused this (a new parameter in the query string? Endpoint URL changed?)?
8) According to my previous description, do I seem to have misunderstood something, and what?
I currently use "https://api-3t.paypal.com/nvp" for tests.
That's your problem. You're using test credentials, but the live API endpoint.
Change your endpoint to https://api-3t.sandbox.paypal.com/nvp and all should be fine.
Security header is not valid means that your credentials are incorrect. I've never once seen that error where this wasn't the case.
You need to make sure that if you're using sandbox credentials for testing that you're hitting the correct endpoint and using the correct credentials.
Lots of times people accidentally have sandbox credentials set but then send them to the live endpoint or visa versa. If you're hitting the correct endpoint and your credentials are indeed correct you won't get this error.
I have confusion, that I have integrated recurring payment system.
It was working well before, 3 days.
Form 2 days I am getting error
Sorry — your last action could not be completed
When I am trying to login.
It login successfully but now shows the payment confirmation page.
What should be the issue?
I am using sandbox for now.
Let me know if you want more details.
please check or do the following
Use a separate browser page for logging into sandbox.paypal.com as you stated you are trying to 'login'
I have noticed periodically that sandbox.paypal.com loads my live credentials when a previous paypal.com session was activated; an apparent cookie issue
If you have a password / user id client like fast pass, etc; make sure to verify the password that's injected into the fields in your options of the pw/user ID client
Please take note as I am replying to:
Sorry — your last action could not be completed When I am trying to login <-- Not to recurring payments system not working as it appears that these are 2 different issues. If not, please clarify for me
I have a developer account in Paypal, It was working perfectly few days back before the new beta developer site launched. I try to logged in with my credential to new website , but it show me error like:
Please check your Email Address and PayPal Password and try again.
Even when i try to use forgot your password link it show me the error like:
We couldn't find your email address. Please try again or select I
don't know what email address I used.
Both credential was correct, but i don't know why it's not working. I have searched for that and found some thread that suggested to clear your cookies and cache and try to use chrome or Firefox instead of using Internet Explorer. But no luck ,it's not working either. If someone have any suggestion for that how to solve this, please help me.
Are you using a live PayPal account to log in?
From developer.paypal.com:
Please log in with a PayPal account. After you log in, you can import
your Sandbox test accounts using the email address and password you
used previously with the Sandbox.
The is a bug with the "import feature", the form validation of email format fails if emails cannot contain a ".". As my original sandbox email contained a "." i cannot import.