Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 216
Alex Turpin Avatar asked Oct 14 '11 15:10

Alex Turpin


People also ask

Where are PayPal sandbox API credentials?

Log in to your sandbox PayPal account. Go to Settings (Gear Icon) > Account Settings > API Access. Select NVP/SOAP API integration (Classic) > Manage API Credentials > Request API Signature. You can find API Username, API Password, and API Signature.


2 Answers

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

like image 101
Jamie Avatar answered Nov 02 '22 11:11

Jamie


To get API credentials in sandbox you must use the API Credentials menu in sandbox itself, instead of logging into the sandboxed account.

http://i.imgur.com/7sDnu.png

like image 27
Alex Turpin Avatar answered Nov 02 '22 10:11

Alex Turpin