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

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.

Related

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/

Paypal developer/business account(sandbox)

I'm working on a php project that needs to integrate Paypal API's. I've chosen REST API's. But I've a business account(sandbox). Is it possible to call REST API's using this account type?
You need to log into developer.paypal.com using any live PayPal account, via https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications
If you don't have a live PayPal account, create one.
Once logged in, the number of REST API apps and corresponding sandbox accounts that you can manage is unlimited.

Paypal app. From sandbox to live

I implemented paypal sandbox in my application and after hours of headaches with their documentation, I managed to implement a working app that uses their RestAPI. Now I want to go live with the application.
In their documentation the steps to go live with the app are as follows:
1. Ensure your application adheres to the PayPal Application Policies and Guidelines.
2. Update the Sandbox API credentials in your PayPal calls to those assigned to a live PayPal account.
3. Update your PayPal endpoints from the Sandbox to the PayPal production servers.
4. Register your application with PayPal.
5. If your application makes use of Adaptive operations, obtain a live AppID.
6. Go Live!
I don't understand how can I register my application with PayPal (point 4). In the documentation, it says that my app needs to be approved by PayPal and that's it. How do I do that ? How do I submit my app for reviewing ?
If I understand correctly, point 1, 2 and 3 affect only my code, registering the new credentials, right ?
Finally, I need an appID, but I guess that comes as soon as the app has been approved by PayPal to go live.
The full documentation I followed is here.
Thank you.
As Per Paypal Documentation : Registering your application with PayPal :
Submitting your application
To submit your website or mobile application to PayPal:
Log into the PayPal Developer website using the credentials of the
PayPal account registered to the application owner.
Note: The PayPal account associated with the application must be a
verified Premier or verified Business account. Click Dashboard at the
top of the page to open the My Apps & Credentials page. (Alternately,
you can go directly to the My Applications page by navigating to the
My Apps & Credentials page on the Developer website.)
Registering a REST API app
In the REST API apps section, click Create app. See creating an app
for more information. Registering an NVP/SOAP API app
Click Dashboard at the top of the page to open the My Apps &
Credentials page. Click the Create and manage NVP/SOAP API apps link
at the bottom of the page. Click New App on the left nav bar to access
the App Information form. Complete the form and click the Submit App
button. To ensure the fastest possible application review, supply as
much information as possible when completing the submittal form. Tip:
When filling out the application, be sure to provide the e-mail
address that corresponds to the PayPal account that is used make API
calls. The type of API operations used in your application dictates
the review process applied to your application. PayPal divides
applications into three distinct review categories:
Merchant APIs include Express Checkout, Website Payments Pro, Button
Manager, Mass Pay, Recurring Payments, and all of the Informational
APIs. Adaptive APIs include Adaptive Payments, Adaptive Accounts, the
Permissions Service, and the Invoicing Service. Calls to these APIs
require an AppID value. Mass Pay includes only the MassPay operation
As per 2020
PayPal developer guideline, you just have to mail them all the required things that they want to register your app.
Login to http://developer.paypal.com.
Click on the Dashboard menu item at the top.
Under the REST API Apps section, click the Create App button.
Proceed with the steps to create the app.

How to test webhooks in paypal sandbox?

I have implemented paypal payment in my shop with the new paypal rest api.
I noticed the is no notification url any more to get a callback when i create a transaction. But i saw that there are now webhooks. So i configured some webhooks in paypal and would not like to test them.
But i can not find any tool or interface to test the webhooks. I do not mean the way to access them by the rest api. I want paypal to execute a request to my server when a payment is for e.g. revoked somehow.
Where can i tell paypal to execute webhook request?
You need to setup the APN gateway.
In the developer account, you can log into the test accounts in sand box mode.
Next go to the account settings and look for APN.
You can setup the path to your test servers url and capture the "webhooks" there.
Hope this helps.

How do I get an application id for Paypal?

I received API credentials but I need api application id to send Adaptive Accounts API Requests.
I used their sandbox app id: APP-80W284485P519543T.
now it's time to go live.
In order to go live, you need to register your application with PayPal to obtain an application ID.
When you submit your application to PayPal for review, the application
is quickly scanned for the requests to PayPal operations. If no
"advanced" operations are found, PayPal issues an AppID for the
production servers at the time you submit the application.
Just because PayPal docs are kind of messy like #Deekor said in the comments, I think it would be good to leave the following links in case anybody like me is wondering where the hell do you REALLY get an AppID (e.g.: for adaptive payments).
Just go to PayPal Developer, once you log in, go to Create and manage Classic API apps or directly to PayPal Apps.
Create an app, once created you get a Sandbox ID which is you AppID and the LiveID as pending.
Date: 3/28/16 (new developer.paypal.com Adaptive APPID walk-through)
Hi All - I will update this since it's been a while. Please note this is for the classic Adaptive Payment APP ID (NVP/SOAP APIs) process and not for the REST APP or BrainTree V.Zero SDK.
Do the following:
Go to developer.paypal.com
Log in with PayPal Account email and password
Click the 'Dashboard' tab up top
Click 'My APPs & Credentials'
Click 'Create & Manage NVP/SOAP API apps link
On the redirect to the classic developer portal, Login to PayPal account you want to apply for the APP ID with (a business PayPal account is highly suggestive for underwriting approval)
For Live APP IDs it takes between 24-48 hours; you should get notified when approved. If you don't, contact business support. The number is in your paypal account / contact us section (pending status)
For SandBox you'll get the APP ID right away, regardless of how you applied; live or sandbox
You should see the APP ID in the classic developer portal in the 'manage your apps' section.
For REST APP ID please click here link