Paypal: Mapping API credentials with sandbox credentials - paypal

The documentation for paypal adapative api requires the developer to send 6 headers amongst which there are:
X-PAYPAL-SECURITY-USERID : Sandbox-Caller-User-Id
X-PAYPAL-SECURITY-PASSWORD : Sandbox-Caller-Password
X-PAYPAL-SECURITY-SIGNATURE : Sandbox-Caller-Security-Signature
The trouble is I don't know where to find the USERID, PASSWORD and SIGNATURE
In the below screenshot that I took from the Paypal Sandbox Business Account, there is no such thing as USERID, PASSWORD and SIGNATURE. Instead I have Sandbox account, Endpoint, Client ID and Secret.
Screenshot: https://dl.dropboxusercontent.com/u/6599473/Capture.PNG
So which is which? What is the userid? What is the password? and what is the signature?

The screenshot you've provided is for the REST API. UN, PASS, and SIG are for the Classic API.
You can obtain those credentials logging in here with your PayPal account.
You can find more details here.

Related

Paypal via Datacash

When making Paypal payment requests via Datacash it is required to provide a client and a password, as explained in the documentation page:
Each transaction type requires specific information to be provided. In addition to those listed, each requires a client and password - these are security details which identify your account.
Where can I find them in my Paypal Developer Dashboard?
First, you must send to support#datacash.com your paypal account details (username / password / signature) which you can find in the Accounts page by clicking on the "Profile" of your business account.
Then Datacash support will enable Paypal on your Datacash and send you back the appropriate client number and password.

where to get signature, password, username for live production paypal express checkout

ok, I have sandbox working perfectly with the sandbox username, password, signature.
Now, I login to paypal and look around for this signature and I can't find it anywhere. Where do I get the signature for live production paypal.
Also, do I use the username/password of my account? (I would rather not)....is there anything where I can set the username and password to use so anyone with access to production can't just login to paypal as me. I use express checkout and I think I am the business paypal right now.
and I can't seem to find the "todo list" section this post refers to
https://cms.paypal.com/cgi-bin/?cmd=_render-content&content_ID=developer/EC_setup_signature
I also tried this but there is no Api Access in the left column
http://www.zen-cart.com/showthread.php?99345-Where-is-API-Signature-Code
thanks,
Dean
The API signature is under the user profile under selling tools > api access.
If you have it working already you should see that at no time do you need the account name and password for the paypal account.

Paypal Classic API: Test accounts

I need to simulate a buyer transaction in my paypal sandbox environment. Essentially, a buyer is a user that decides to subscribe to my service, which is done using the Paypal NVP API method: DoDirectPayment.
Reading the documentation, I gather that a buyer in this case will essentially be a Personal account, and basically to make any kind of api call, I require API credentials. However, the PAYPAL Developer website does not show any kind of API credentials for this personal account :
I do have a business account, and that does state the corresponding API credentials. The link I am referring to is :
https://www.x.com/developers/paypal/documentation-tools/ug_sandbox#credentials
where it states that the API credentials are specified for all accounts.
The only rationale I have behind this are :
a) personal accounts do not get API credentials,
b) I need to simulate a DoDirectPayment API with my business account API credentials, but documentation states that to simulate a buyer transaction I must use a personal account.
c) I need to set API credentials manually somehow.
Any leads?
You would use your API credentials from your business account in the API call. As for the buyer, you would not be paying with a PayPal account if you are using the DoDirectPayment API. You would be using a credit card. You should be able to use any of the card numbers below to test with. I juse use a Mod 10 check to generate the card numbers. You can just use any valid future date for the exp date, and use 123 for the card security code.
Visa
4539261585419872
4532063588063153
4024007125711126
4916126222581496
4916335290325039
4929693226575720
4916573003035640
4485204470227566
4024007102338976
4024007148183980

What username/password/signature should I be using for the PayPal Sandbox?

I'm trying to refund transactions using the Paypal NVP API. I've got some payments in a sandbox account, but when I try to issue a refund though the API I get You do not have permissions to make this API call. But I'm not sure what credentials I should be using.
According to the documentation, it says:
To access the PayPal API, you need API credentials, either an API
signature or API certificate, that identify you. Use the following
sample API signature and password in your sample programs that run in
the PayPal Sandbox test environment.
API username sdk-three_api1.sdk.com
API password QFZCWN5HZM8VBG7Q
API signature A‑IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU
I tried generating API credentials for the sandbox merchant account that's issuing the refunds, but the Paypal website crashes every time I try. Are these the correct credentials? What do I need to do to test this?
Your test accounts do not have credentials.
To get started with Payment Card in Sandbox, you must first create a buyer test account and enable in-store checkout.
After login sandbox you will find that option in menu API and Payment Card Credentials
and then click it you will get option Create Test Account and after create account you will get API Username, API Password and Signature.
Use those API Username, API Password and Signature in your application.
I found these details in my account after logging in:
go to the sandbox tab
below this you will find Accounts. Click on Accounts.
All your email lists will be shown.
Click on the email id that belongs to the Business account.
You will see two options: profile and notifications below the email id's.
After clicking on profile one window will pop up with name Account details.
In that you will see the tab API Credentials. In this you will find your username, password and signature. Please note : You will find these details only in your Business type account, not for buyer type.

PayPal API credentials for sandbox

I'm trying to implement recurring payments with PayPal in PHP. I found this example, which I'm looking into, but I need some API credentials. I created a PayPal sandbox account, and from there I created a merchant account. I'm trying to get the API credentials for that sandbox merchant account to replace the values in the example, but I can't find where. All the guides I find point to non-existant parts of the sandbox user interface. Does anyone know where I can find the API credential details for sandbox merchant accounts?
Thanks.
I'm beginning to I loathe PayPal. Spent an hour on their site looking for this, only to find it here on SO (works as of Oct-2014):
Live: https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run
Test: https://sandbox.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run
To get API credentials in sandbox you must use the API Credentials menu in sandbox itself, instead of logging into the sandboxed account.