Help Article

Where can I find PayPal API sample code?

The PayPal SDK includes sample code for calling PayPal Web Service APIs. To view the samples, download them from the PayPal SDKs page. Open the README file in each directory for specific information about the samples.

Related articles(1-5of19)

Where can I find PayPal code samples?PayPal provides a selection of code samples and templates for you to use to accelerate your development. You can use the samples provided within PayPal Developer to select, preview, and implement one or more samples into your development projects. You can also browse additional source code examples Where can I find sample API code for Windows solutions?PayPal API solutions for Windows (Classic ASP/VBScript and .NET)
PayPal provides SDKs for Classic ASP and ASP.NET. Both require the .NET framework on the host machine. You can download these from the PayPal Developer Portal.Where can I find SSL certificates for PayPal Live API servers?The following SSL certificates are currently valid for Live PayPal servers. Warning: These SSL certificates are for use with legacy implementations ONLY. Do NOT download or install these certificates unless your integration requires an X.509 leaf certificate in your trust store. #besthelp_master_container table.Jstyled{ border: 1px solid Where can I find documentation for Classic APIs?Classic API documentation is available on the PayPal Developer Portal.
Where can I find SSL certificates for PayPal Sandbox API servers?#pp { border: 1px solid black; padding: 2px; border-collapse: collapse; width: 800px; } #pp th { background-color:rgb(229,248,255); font-size: 1em; text-align: left; padding-top: 5px; padding-bottom: 4px; } #pp td, #pp th { border: 1px solid black; padding: 3px 7px 2px 7px; } The following SSL certificates are currently valid Where do I find the PayPal code to link and confirm my credit card?You can find your four-digit PayPal code on your debit or credit card statement next to or near the charge amount. Your code will look like this in the item description section of your statement: PayPal*1234 CODE or PP*1234 CODE Please allow 2 to 3 business days for Where can I find PayPal Reporting information?PayPal's payment solutions have various reports and search tools available to help you with payment reconciliation, forecasting, and order tracking. For a list of available reports and their descriptions and report specifications, see our Reporting page.Where can I find a glossary of PayPal technical terms?The following sections describe the most commonly used PayPal technical terms. A API (Application Programming Interface) A SOAP or REST Web Service that operates in a request-response format over HTTPS. API Certificate See Creating and managing NVP/SOAP API credentials. API profile See Going live with your application. Where can I find PayPal's currency exchange rates?To see our currency exchange rates: Go to your PayPal balance. Click Manage currencies. Select "Balance conversion" or "Payment conversion". Enter the required information under Currency Exchange and click Calculate. Review the displayed exchange rate before you you click Continue to complete your payment. Note: If you use Where can I find PayPal SSL server certificates?Warning: These SSL certificates are for use with legacy implementations ONLY. Do NOT download or install these certificates unless your integration requires an X.509 leaf certificate in your trust store. If you need to import new certificates to your application or system keystore/truststore, you can click to download Where can I find SSL certificates for Payflow Pro and Pilot API servers?The following SSL certificates are currently valid for Payflow Pro servers. Warning: These SSL certificates are for use with legacy implementations ONLY. Do NOT download or install these certificates unless your integration requires an X.509 leaf certificate in your trust store. #besthelp_master_container table.Jstyled{ border: 1px solid Where can I find test credit card numbers?Test credit card numbers are used within PayPal Sandbox to validate the authorization, capture, and credit transaction flows. Because test credit cards don't include a card verification code (CVV), you can use 123 as the CVV for Visa, MasterCard, Discover and Diners Club or 1234 as the CVV Getting support for digital gift card purchases from PayPal Digital Gifts.If you need help with a purchase you made via PayPal Digital Gifts, please: Email us or Call us: 1800 073 263 or +61 2 8223 9500 (outside Australia)* *International call charges may apply PayPal service hours: Monday to Friday: - 6am to 10pm AEST Weekends: - 8am How do I get started with PayPal APIs and SDKs?An Application Programming Interface (API) is a safe gateway to use a company’s code or tool to accomplish a task. Using an API, you can get the local weather, check incoming flights with a certain airline, create a Google Map, or create a payment with PayPal. Requests Which programming languages does PayPal offer examples for?PayPal provides sample code for the most popular programming languages. If you don't find your language of choice, it doesn't mean there's nothing available. You may wish to join a mailing list for the language and ask developers on that list if they know of any available code. Can I request a new PayPal code?Yes. If you have lost or are unable to locate your confirmation code, you can request a new one. Here's how to request a new PayPal code to confirm your credit card: Log in to your account. Click the Profile icon at the top right corner of the page. Click My Our technical support content has moved!To improve and streamline your support experience, we've: Moved our technical support content from www.paypal-knowledge.com to the PayPal Help Center. Moved our technical microsites to www.paypal-notice.com. Technical Support Content To search for information that was previously on www.paypal-knowledge.com, please use the search bar above. Merchant Security Roadmap To What errors can be produced when using PayPal APIs?For a complete list of API error codes, see the API Error and Warning Codes page on the PayPal Developer Portal.How do I whitelist my server’s IP address so it can access PayPal APIs?PayPal doesn't require merchants to whitelist specific IP addresses to access PayPal Classic or REST APIs. However, PayPal does offer optional IP address whitelisting features for Payflow Pro and PayPal Manager. Whitelist access to Payflow Pro To increase security, you can specify up to 16 different IP addresses