I can see some of the paypal payments have done using the paypal clientId, ClientSecret while other type of payments normally nvp payments is doing the payments using username, password and signature. What is the difference between payments using client Id and secret and using username, password and signature. Please explain this.
In general,
Client ID + Secret = REST API transactions, retrieve the credentials through https://developer.paypal.com
API username + API password + Signature = Classic API transactions, retrieve the credentials through https://paypal.com
More information on the API credentials:
https://developer.paypal.com/docs/classic/api/apiCredentials/ (Classic API)
https://developer.paypal.com/docs/integration/direct/paypal-oauth2/ (REST API)
Related
Now I am working for integrating PayPal.
For PayPal actions including subscription and so on, it needs client id and secret.
For obtaining client id and secret, is there any way to obtaining these from paypal email address?
or maybe is there any way to do subscription and so on without client id, and secret?
Please let me know. Thanks
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.
Is it applicable to use the same Paypal API username, password and signature in 2 different installation of Prestashop on different domain and hosting? Or is it to be a unique Paypal API username, password and signature for each Paypal module for every Prestashop ?
Yes
No.
Your Paypal credentials are no tied to your domain or hosting, they just give you access to Paypal service.
Is there an ability to verify if the the user has a valid email address linked to the PayPal account
and also if possible to check if this account has Grant API permission (toward my account) to process Refund API?
Profile to refund is Payment profile is created through AdaptivePayment Pay API call.
I was wondering if this is possible through an API call?
Thanks
You can use PayPal GetVerifiedStatus API Operation will check for the verified status of the paypal account. You can also use Permissions API Operation to explicitly get/check the permissions granted for the specific PayPal account.
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.