PayPal Sandbox API Credentials for DoDirectPay - paypal

I am trying to setup a testbed in PayPal Sandbox in order to implement/test the DoDirectPay API for my company. DoDirectPay uses a certificate file (as opposed to a signature) per the documentation as well as the example code snippet here
Per the top Google search result for "download api certificate paypal" it should be possible to choose between obtaining a signature or downloading a certificate.
The test Merchant account I have created for sandbox was instantiated properly; and I am able to login to the sandbox site without issue. I have verified that the Merchant account is indeed set up for PayPal Pro. When I proceed to Account->Profile->Request API Credentials the only option is to obtain a signature. The signature matches what is displayed in the Sandbox admin panel for users; however that is useless to me as I need to test DoDirectPay which requires a PEM formatted certificate file.
How can I get SandBox to spit out a certificate file for me to test DoDirectPay API?
P.S. - I have already looked through several articles including SO1 and SO2 but neither really seems to relate to exactly what I need.

You must first remove the API signature before you can request an API certificate.
Log in to Developer.paypal.com
Choose the account you would like to request a certificate for, then click "Sandbox Site"
Log in to your Sandbox account
Click "Profile" at the top of the page
Click "Request API Credentials"
Click "set up PayPal API credentials and permissions"
Click "View API Signature"
Click "Remove"
Click "Request API Credentials"
Choose Request API Certificate, then click "Agree and Submit"
Hope this helps!

In reference to the original question, paypal allows dodirectpayment api calls with an API signature too. you do not need a certificate.

Related

Find paypal api credential

I already build a paypal account and then
I created Sandbox Test Accounts in "https://developer.paypal.com/developer/accounts/",
1 personal account and
1 business account.
now I want to use below credential where can I find these.
PAYPAL_USERNAME
PAYPAL_PASSWORD
PAYPAL_SIGNATURE
PAYPAL_MERCHANT_ID
PAYPAL_BUSINESS
PAYPAL_CERT_ID
please help me out, I am new in paypal api
PayPal is having pretty good documentation.
To create API Username, API Password, Signature follow the steps
Select Profile on the right side of page -- Select Profile and settings
From left menu, select My selling tools
In selling online section, click Update link for API access item
Click on Request API Credentials on the API Access page
Select Request API signature and click Agree and Submit to generate the API signature
more details here
The only things you should need are a client id and secret. This will enable you to make REST api calls. If you're new to PayPal APIs, the REST api is where you should be starting.
Please see https://developer.paypal.com/docs/integration/direct/make-your-first-call/

Paypal Classic API Test Credentials

I'm trying to test a Paypal Classic API integration and am having issues finding my Test Credentials.
Current error returned is: Authentication failed. API credentials are incorrect.
This makes sense as I'm using the Sandbox AppId and Live credentials for the account (which I know where to get obviously).
I've found this page: https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/sb_credentials/
which tells me where to go to get test credentials but I can't find the place it's talking about.
Logging in with the business account doesn't have the sections displayed in the graphic. Am I supposed to be logging in with a different account?
Any pointers appreciated.
Go to https://developer.paypal.com and log in (by clicking on the Log In button in the upper-right corner). Use the email address and password from your live PayPal account to log in.
Click Dashboard.
Under Sandbox, click Accounts.
There should be a facilitator account there (e.g., youremail-facilitator#yourdomain.com). You can either use that account for the following steps, or you can click on Create Account and create a new account to use for the following steps.
Click on the email address of the account.
You'll see two links appear underneath the email address: Profile and Notifications. Click on Profile.
Click the API Credentials tab.

How to determine Paypal signature credential in new Paypal API

According to Paypal Developer Documentation.
For example, an Express Checkout call requires the following input fields:
USER - The API User name credential.
PWD - The API Password credential.
SIGNATURE - The Signature credential.
But in new paypal developer application, it only shows endpoint, client ID and secret, there is no API credential. How to get it?
You should be able to select the account you are wanting credentials for and click on the profile link. Then when the pop up comes up, you can click the tab for "API Credentials". IF you do not see these credentials/tab, then you would need to log into the actual test sandbox seller account and navigate to your profile and actual request the credentials.

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.

How to get paypal API credentials?

I am using Paypal recurring payments and direct payment.
I tested it using beta-sandbox and works fine.
Now I want to make to real paypal account.
I have been given real paypal account, and I login with it on https://www.paypal.com/, but I don't know how can I generate API Credentials ?
this looks completely different from sandbox environment.
Check out this guide to Obtaining API Credentials from PayPal. You will find how to create/view/remove your API signature/certificate in PayPal's live setting.
Update
As per the comment, the previously held answer is out of date. To obtain your API credentials, log in here.
If you want to retrieve the api user name, api password and api signature for live then you can get it directly by log in to this url from Paypal.
Log in to Paypal. Click Tools or hover over Tools and click All Tools from the drop down menu. Sort alphabetically and API Credentials will be the first one.
Login to PayPal, go to Profile and then Selling tools. Click the update link on API access and request API credentials. Refer to this link for a detailed step by step guide.