Make test requests (2024)

Once you've set up your sandbox accounts and have your NVP/SOAP API test credentials, you're ready to make PayPal requests to the sandbox environment.

The following cURL command makes an Express Checkout call to the sandbox. Execute the request from the command line by replacing the credential values in the command with those from your sandbox Business account, and remove the line breaks. If cURL is installed on your computer, you should get success in response to the request:

1curl https://api-3t.sandbox.paypal.com/nvp \

2 -s \

3 --insecure \

4 -d USER=<YourUserID> \

5 -d PWD=<YourPassword> \

6 -d SIGNATURE=<YourSignature> \

7 -d METHOD=SetExpressCheckout \

8 -d VERSION=98 \

9 -d PAYMENTREQUEST_0_AMT=10 \

10 -d PAYMENTREQUEST_0_CURRENCYCODE=USD \

11 -d PAYMENTREQUEST_0_PAYMENTACTION=SALE \

12 -d cancelUrl=https://example.com/cancel.html \

13 -d returnUrl=https://example.com/success.html

View transaction notifications

During transaction processing, PayPal sends various notifications to the accounts involved in the transaction. Depending on the process flow, notifications can be sent to both the buyer (sender) and merchant (receiver) accounts.

The sandbox sends notifications for transaction events, just like the live site. However, email notifications that are generated by the sandbox are never sent outside the sandbox environment. Instead, all sandbox notifications are sent to the Notifications page of the sandbox account to which the notification is sent.

Review account notifications through the either the account's Notifications page as shown in the following figure or by logging in to the sandbox test site using the credentials for the sandbox account that you want to view.

Make test requests (1)

To view the email associated with an account on the test site, log into the site using the email value and password associated with the sandbox account you want to inspect.

Go live

After you've completely debugged your application, you'll want to move your code into production by updating all your PayPal requests so they address the live environment. To do so, update the endpoints and authentication credentials used in your API requests. In addition, if you use any of the Adaptive APIs, you'll need to supply the App ID that PayPal issues after you submit your application for review.

For how to move your application from the testing phase to the live production phase, see Going Live with Your Application.

Make test requests (2024)
Top Articles
Best Tips for Monitoring and Filtering Your Web Server Logs - Papertrail
Warren Buffett says index funds make the best retirement sense 'practically all the time'
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 5980

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.