Skip to content

FusionWowCMS/PayPal-PHP-SDK

 
 

Repository files navigation

Deprecation Notice:

This SDK is deprecated. You can continue to use it, but no new features or support requests will be accepted. For alternatives, please visit the current SDK homepage on the PayPal Developer Portal

REST API SDK for PHP

Home Image

Build Status Coverage Status

Welcome to PayPal PHP SDK. This repository contains PayPal's PHP SDK and samples for REST API.

Direct Credit Card Support

Important: The PayPal REST API no longer supports new direct credit card integrations. Please instead consider Braintree Direct; which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods.

Please Note

The Payment Card Industry (PCI) Council has mandated that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections. Click here for more information

Connections to the sandbox environment use only TLS 1.2.

SDK Documentation

Our PayPal-PHP-SDK Page includes all the documentation related to PHP SDK. Everything from SDK Wiki, to Sample Codes, to Releases. Here are few quick links to get you there faster.

Latest Updates

  • SDK now allows injecting your logger implementation. Please read documentation for more details.
  • If you are running into SSL Connect Error talking to sandbox or live, please update your SDK to latest version or, follow instructions as shown here
  • Checkout the latest 1.0.0 release. Here are all the breaking Changes in v1.0.0 if you are migrating from older versions.
  • Now we have a Github Page, that helps you find all helpful resources building applications using PayPal-PHP-SDK.

PayPal Checkout v2

Please note that if you are integrating with PayPal Checkout, this SDK and corresponding API v1/payments are in the process of being deprecated.

We recommend that you integrate with API v2/checkout/orders and v2/payments. Please refer to the Checkout PHP SDK to continue with the integration.

2.0 Release Candidate!

We're releasing a brand new version of our SDK! 2.0 is currently at release candidate status, and represents a full refactor, with the goal of making all of our APIs extremely easy to use. 2.0 includes all of the existing APIs (except payouts), and includes the new Orders API (Disputes and Marketplace coming soon). Check out the FAQ and migration guide, and let us know if you have any suggestions or issues!

Prerequisites

License

Read License for more licensing information.

Contributing

Read here for more information.

More help

Packages

No packages published

Languages

  • PHP 99.8%
  • Ruby 0.2%