How to get live api credentials for paypal? - paypal

I am using ubercart for drupal site.In payment methods I have checked
PayPal Express Checkout
PayPal Website Payments Standard
Credit card (includes PayPal Website Payments Pro)
all these options. For sandbox account in paypal I entered test account credentials and its working fine. Now I need to change to Live, but i don't know how to get credentials for live account.
This is the status of paypal developer page
how do I get live API credentials such as (API username,API password,Signature)??
Any help will be appreciated.Thanks in advance.

You are looking at REST API Credentials which has Client,Secret Id for REST API calls
To just get Classic API Credentials:
-log in to your PayPal Account
-click on Profile->My selling Tools->API access
-click on Request API-Credentials
-Option 1 PayPal API,click on Set up PayPal API credentials and permissions
-option 2, click on Request API credentials
-choose Request API signature and click on Agree and Submit
-Your Credentials are displayed to you
--or --
Just click this link and enter your paypal login credentials.

Related

Payment via Braintree in flutter application

I am building a marketplace app and want to include payment via PayPal with Braintree (see documentation: flutter_braintree). Right now I am working with a braintree sandbox trial account.
As far as I am understanding it correctly, I have to save the braintree tokenizationKey for every company to enable payments directly to them and not to the marketplace. Due to test reasons I included the tokenizationKey of my braintree sandbox account.
I am successfully directed to the PayPal checkout page where I can't login since it's in sandbox mode. When I select "proceed with sandbox purchase" I am then redirected to the application and do receive a BraintreePaymentMethodNonce.
Here you can find the screen where I can't login.
But somehow I can't see any transactions in the dashboard of my sandbox account.
Am I mistaken with the way tokenization works or where is the problem?
I am successfully directed to the PayPal checkout where I can't login since it's in sandbox mode.
Use a sandbox buyer (personal) account from https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Faccounts%2F
If the companies only have PayPal accounts rather than Braintree accounts, you can use PayPal via Braintree and a braintree access_token from PayPal for authentication to get the client token on your server (no tokenizationKey)
I was also having the same issue. Now I found the solution. All you have to do is link you braintree sandbox to your paypal sandbox. Here is the process of linking your sandbox accounts.

How do I obtain permission to process on behalf of a PayPal merchant using the PayPal REST API?

I would like my website to be able to process PayPal payments on behalf of merchants. The merchants will have their own PayPal accounts and will need to give me permission to do so.
Permissions API Deprecated
PayPal have a "Permissions API" which allows a third-party such as a hosted shopping cart to process on behalf of PayPal merchants. See: https://developer.paypal.com/docs/archive/permissions-service/integration-guide/PermissionsUsing/
The above page says:
Adaptive Accounts and Adaptive Payments are no longer available for
new integrations. PayPal provides documentation for these APIs to
support existing integrations.
PayPal REST API
Are these things possible using the PayPal REST API:
perform a handoff from my site to PayPal, have the merchant grant my site permissions to act on their behalf,
process payments on behalf of the merchant using the credentials obtained from the first step
Every merchant can obtain ClientID/Secret credentials from the Live tab of a REST API App via https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications , and enter them into their config interface on your platform.
It's is possible to use the PayPal "Marketplaces and Platforms" API to achieve this:
https://developer.paypal.com/docs/platforms/seller-onboarding/

how can I monitor sandboxed PayPal NVP service calls in developer portal?

I see in executing the ruby sample from the github.com/paypal/adaptivepayments-sdk-ruby/blob/master/README.md that tests against the App ID APP-80W284485P519543T will succeed, no matter what credentials are configured.
Moreover, I gather from the 'FOR APP TESTING' message at the bottom of the welcome page to the Adaptive Payments Developer Apps portal, www.paypal-apps.com/user/my-account/applications, that it is not possible to set up a PayPal NVP test account with dummy user accounts:
Does this mean, then, that transactions from sandboxed use of PayPal NVP services cannot be configured to show at developer.paypal.com/developer/dashboard/sandbox?
In developer.paypal.com dashboard => Sandbox=>Transactions, it only list REST API transactions. There is no place to show NPV service API calls in developer website. you need to login sandbox.paypal.com to check the transaction list.

Authorization & Capture for no paypal users

Is Authorization & Capture payal feature available for users who don't have a paypal account? Is it mandatory for my users to have an account? I have a business account. Thanks in advance.
Yes, I tested this on the sandbox and it works just fine running an authorization with guest checkout.
You do need to make sure you have "PayPal Account Optional" enabled in your PayPal profile, and then you need to make sure and include SOLUTIONTYPE=Sole&LANDINGPAGE=Billing in your SetExpressCheckout request.
This will give the users the ability to checkout with guest checkout (credit card without creating a PayPal account) and you can do Auth & Capture just fine this way based on my tests.

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.