Commit Graph

76 Commits

Author SHA1 Message Date
Jay Patel
27f1d75163 Preparing for v1.12.0 2017-07-11 13:58:13 -05:00
Bryant Luk
bc139915df Avoids calculating header size in curl responses (#677)
- Removes complex conditions around parsing response headers
2017-05-11 12:53:32 -05:00
Massimiliano Torromeo
d56305fe63 Add TLSv1.2 to cipher list (#844)
With openssl 1.1 using only `TLSv1` in the cipher list causes the following exception which is fixed by adding TLSv1.2

    Exception PayPal\Exception\PayPalConnectionException: "PayPal\Exception\PayPalConnectionException: error:141640B5:SSL routines:tls_construct_client_hello:no ciphers available"
2017-05-11 11:45:54 -05:00
WDD-Marv
657fe27e9d negating E_WARNING for strstr(): Empty needle in PayPalConfigManager.php
E_WARNING strstr(): Empty needle (#831)
* negating E_WARNING for "strstr(): Empty needle"
2017-05-04 10:36:53 -05:00
brluk and dkatz
df79671499 Preparing for release 1.11.0 2016-12-14 21:44:04 +00:00
brluk and dkatz
6a8e97db09 Remove automatic retries 2016-12-13 20:56:30 +00:00
Victor Angelier CCX
b51c07d6db Update PayPalHttpConfig.php
To prefent : 
            ErrorException in PayPalHttpConfig.php line 67: substr_compare(): 
            The start position cannot exceed initial string length
Add the extra check on line 67 to check if SSLversion is something. Since Google App Engine does not support CURL this check prevents the application of crashing
2016-11-05 14:56:57 +01:00
jaypatel512 and sdcoffey
f87c4306cc Preparing for release 1.10.0 2016-10-27 16:14:38 -05:00
Jay Patel
5c6bf5ff6f Preparing for release 1.9.0 2016-10-21 13:04:09 -05:00
Ahmad Saad Aldeen
5cec5d9c07 Could not generate new Access token. Invalid response from server
Passing null as length will not make mb_substr use it's default, instead it will interpret it as 0.
$result = mb_substr($result, $responseHeaderSize, null, '8bit');
Instead use:
$result = mb_substr($result, $responseHeaderSize, mb_strlen($result), '8bit');
2016-09-30 20:49:53 +02:00
Jay Patel
e4768e4a03 Preparing for release 1.8.0 2016-09-29 11:35:26 -05:00
Bernd Höhl
667d574ec0 removing newline 2016-09-23 20:13:21 +02:00
Bernd Hoehl
d168a029f9 checking if mb_strlen exists 2016-09-22 14:50:35 +02:00
Bernd Hoehl
fb1be9ca23 turning tabs into spaces 2016-09-22 13:19:49 +02:00
Bernd Hoehl
651835bbf9 using mb_ functions with 8bit encoding 2016-09-22 13:18:18 +02:00
Bryant Luk
e4aad7c1ea Revert OpenID Connect endsession change 2016-08-18 14:10:28 -05:00
Jay
b5c4c6937b Merge pull request #627 from paypal/openidconnect-url-change
Update OpenID Connect URLs to match docs
2016-08-15 11:16:45 -05:00
Bryant Luk
c093d678f8 Update OpenID Connect URLs to match docs
- URLs were updated. See
  https://developer.paypal.com/docs/api/auth-headers/#obtain-users-consent
2016-08-15 11:00:57 -05:00
Bhavani Bheemanadham
d62e8db407 Preparing for 1.7.4
- Updated Changelog
- Updated PayPalConstants.php with latest version
- Added new line at the end of file
2016-07-15 15:42:18 -05:00
Jay Patel
1401d5563d [PSR] Fixed library source
- Using `php-cs-fixer` tool.
2016-07-14 13:10:21 -05:00
kilida
7131cd9f3c Duplicate conditional expression in PayPalCredentialManager.php
Looks like this should be `ClientSecret`?
2016-06-21 17:52:09 -04:00
Bhavani Bheemanadham
2d0aca8405 Preparing for 1.7.3
- Updated change log
	- Update version number in PayPalConstants.php
	- Update releasinator gem version
	- Fixed releasinator search regex
2016-06-21 14:48:47 -05:00
Jay Patel
80dc4e4f95 Added Releasinator. Preparing for 1.7.2 2016-05-12 16:00:38 -05:00
Jay Patel
0753d2fba0 Minor Bug Fix
- Fixes #575
2016-05-10 15:07:10 -05:00
Jay Patel
d2fac37f2c Preparing for release 1.7.1 2016-04-21 22:29:29 -05:00
Jay Patel
0dbcc5d5ff Minor bug fix
- Fixes #559
2016-04-21 22:27:12 -05:00
Jay Patel
0ce097760b Preparing for release 1.7.0 2016-04-18 13:39:04 -05:00
Jay Patel
c0c307f267 Enabled Factory to Inject Logger 2016-04-11 15:45:49 -05:00
Jay Patel
557fb3718f Updating setupLogger to use classname as string
- `:class` not allowed in PHP 5.3 and 5.4
2016-04-06 14:22:33 -05:00
Jay Patel
69886a0741 First pass on implementing PSR logger interface
- Created a separate PayPalLogger as default implementation.
- Enabled `log.Adapter` as a configuration to pass name of custom
  logger.
2016-04-06 14:10:54 -05:00
Jay Patel
d49cc8a88c Preparing for Release 1.6.4 2016-01-20 23:10:19 +05:30
tobeorla
3b7f36c379 SSL connect error
https://github.com/paypal/PayPal-PHP-SDK/issues/474
2016-01-20 17:10:46 +01:00
Jay Patel
67e8d6d3a5 Preparing for Release 1.6.3 2015-12-07 15:30:35 -06:00
Rick Guyer
9f94d9357e Remove duplicate docblock 2015-11-25 13:00:38 -06:00
Jay Patel
8149b098c4 Created TLS Check Sample
- Created Sample to test TLSv1.2 support
- Updated Documentation
- Updated README
2015-11-13 16:54:19 -06:00
Jay Patel
89bc07aa1e Preparing for Release 1.6.1
- Fixing Version Number
- Updating User Agent for Internal Purposes
2015-10-29 13:18:16 -05:00
Jay
879de440d1 Removing the default timezone setting
- It causes the process timezone to change for entire application
- Timezone should be set by the application using the SDK.
2015-09-22 14:55:06 -05:00
Jay Patel
fd6801cda1 Preparing for 1.5.1 release 2015-08-17 14:32:36 -05:00
İrfan Evrens
70fe1941ad Fixed switch case logical problem. 2015-06-26 09:47:54 +03:00
İrfan Evrens
def426fd23 Fixed some lines. 2015-06-26 00:02:26 +03:00
İrfan Evrens
cefecede81 Tiny improvements. 2015-06-25 23:08:11 +03:00
Jay Patel
18e4eaaf31 Preparing for 1.5.0 release 2015-06-25 12:12:03 -05:00
Jay Patel
47fdacd929 Preparing for 1.4.0 release 2015-06-08 13:35:46 -05:00
Jay Patel
ddefd1d633 Fixing Logging Manager to skip if mode not set 2015-06-01 13:44:24 -05:00
Jay Patel
226922bca3 Enabled DELETE to have data
- Fixes #311
2015-05-20 12:56:11 -05:00
Jay Patel
0a32a6323c Preparing for 1.3.2 release 2015-03-18 15:40:42 -05:00
Jay Patel
b4051eeb74 Preparing for 1.3.1 release 2015-03-04 11:57:24 -06:00
Jay Patel
207c2c233e Fixed CURLINFO_HEADER_SIZE miscalculations if Proxy Enabled
- Fixes #258
2015-03-01 16:04:18 -06:00
Jay Patel
7f51b58b69 Preparing for 1.3.0 release 2015-02-27 16:45:52 -06:00
Jay Patel
cfe4d728e8 Preparing for 1.2.1 release 2015-02-23 21:32:13 -06:00