Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

permissions-sdk-php

PHP SDK for integrating with PayPal's Permissions API

Subscribe to updates I use permissions-sdk-php


Statistics on permissions-sdk-php

Number of watchers on Github 12
Number of open issues 0
Average time to close an issue 6 months
Main language PHP
Average time to merge a PR 14 days
Open pull requests 0+
Closed pull requests 0+
Last commit over 1 year ago
Repo Created almost 7 years ago
Repo Last Updated over 1 year ago
Size 345 KB
Organization / Authorpaypal
Latest Releasev3.9.1
Contributors14
Page Updated
Do you use permissions-sdk-php? Leave a review!
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating permissions-sdk-php for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)
permissions-sdk-php list of languages used
permissions-sdk-php latest release notes
v3.9.1 TLSv1.2 Update
  • Enabled samples to verify it TLSv1.2 is supported
  • Replace mode in configurations from sandbox to tls to verify
v3.9.0 SDK Core Dependency
v3.8.107 Poodle Fix - PHP 5.3 or higher (Recommended)

POODLE Update

  • Because of the Poodle vulnerability, PayPal has disabled SSLv3.
  • To enable TLS encryption, the changes were made to PPHttpConfig.php in SDK Core to use a cipher list specific to TLS encryption.
    /**
     * Some default options for curl
     * These are typically overridden by PPConnectionManager
     */
    public static $DEFAULT_CURL_OPTS = array(
        CURLOPT_SSLVERSION => 1,
        CURLOPT_CONNECTTIMEOUT => 10,
        CURLOPT_RETURNTRANSFER => TRUE,
        CURLOPT_TIMEOUT        => 60,   // maximum number of seconds to allow cURL functions to execute
        CURLOPT_USERAGENT      => 'PayPal-PHP-SDK',
        CURLOPT_HTTPHEADER     => array(),
        CURLOPT_SSL_VERIFYHOST => 2,
        CURLOPT_SSL_VERIFYPEER => 1,
        CURLOPT_SSL_CIPHER_LIST => 'TLSv1',
    );
  • There are two primary changes done to curl options:
    • CURLOPT_SSLVERSION is set to 1 . See here for more information
    • CURLOPT_SSL_CIPHER_LIST was set to TLSv1, See here for more information

All these changes are included in the recent release, along with many other bug fixes. We highly encourage you to update your versions, by either using composer or running this command shown below:

curl -k -L https://raw.githubusercontent.com/paypal/permissions-sdk-php/stable-php5.3/samples/install.php | php
        OR
wget  https://raw.githubusercontent.com/paypal/permissions-sdk-php/stable-php5.3/samples/install.php
php install.php
Other projects in PHP