Commit Graph

218 Commits

Author SHA1 Message Date
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
mrak and sdcoffey
c2947ff409 Update payments API to v1.9 2016-10-27 14:05:56 -07:00
mrak and sdcoffey
7c5ea8b997 Proper changes to samples for Credit Card 2016-10-25 17:40:37 -05:00
sdcoffey
7b380a1447 Deprecate unused PayoutSenderBatchHeader#batch_status 2016-10-21 13:21:51 -07:00
Jay Patel
5c6bf5ff6f Preparing for release 1.9.0 2016-10-21 13:04:09 -05:00
Steve Coffey
aca727eee6 Merge pull request #692 from paypal/payouts-v1.2
Update Payouts API to v1.2
2016-10-19 14:38:18 -07:00
Steve Coffey
e33a5594c2 Merge pull request #682 from paypal/payments-experience-v1.3
Payments experience v1.3
2016-10-18 13:49:17 -07:00
Jay Patel
ae31151ba3 Use PaymentCard instead of CreditCard
- Fixed deprecation messages.
- Fixes #639.
- Fixes #648.
- Updated Samples.
2016-10-17 17:15:04 -05:00
sdcoffey
0f3a5e6548 Update Payouts to v1.2 2016-10-13 14:20:27 -07:00
mrak and stevecoffey
3f909f7f5e Update Payment Experience API to v1.3 2016-10-10 10:45:55 -07:00
Jay
d51a8d39ac Merge pull request #665 from ahmad-saad/master
Error: Could not generate new Access token. Invalid response from server
2016-10-03 11:39:45 -05:00
Jay Patel
b4371abcd8 Adds missing imports
- Fixes #667.
2016-10-03 11:36:32 -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
Jay
8757cdbc36 Merge pull request #655 from bhoehl/master
bugfix: UTF8 encoding in result response from sandbox, corrupts json response
2016-09-26 11:27:43 -05:00
Bernd Höhl
667d574ec0 removing newline 2016-09-23 20:13:21 +02:00
Jay
470736897a Merge pull request #653 from paypal/webhooks-update
Update webhooks to API version 1.7
2016-09-22 13:42:31 -05: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
jaypatel512 and sdcoffey
af4648bdfd Update Webhooks API 2016-09-20 14:01:47 -07:00
Jay Patel
f0feddc8f2 Add samples for Invoice Template API 2016-09-19 16:22:06 -05:00
Jay Patel
4f20bc4b97 Updated Invoice API 2016-09-19 14:32:33 -05:00
Phelipe Alves de Souza
fcaebe7c1f update documentation of type of variable 2016-09-16 18:06:01 -03: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
Jay Patel
dcec4f8c8e Removed v1 from openIdConnect url 2016-08-15 11:10:06 -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
modGTB
1ed0d8cb99 set expiryBufferTime
possibility to set expiryBufferTime for OAuthTokenCredential
2016-08-04 20:50:07 +02: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
Jay Patel
c714f77980 Updated Invoicing APIs
- Updated Model objects.
- Updated Samples.
- Updated Tests.
2016-07-13 15:57:58 -05:00
Jay Patel
50e41e8068 Added missing reference field to Invoice 2016-07-11 11:36:43 -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
56f1be3c73 Enabled Third Party Invoicing 2016-05-31 12:45:52 -05:00
Jay Patel
80dc4e4f95 Added Releasinator. Preparing for 1.7.2 2016-05-12 16:00:38 -05:00
Jay Patel
18e1c58d93 Updated Vault API 2016-05-11 16:41:29 -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
ea45ad6ea1 Merge pull request #543 from paypal/logger-interface
First pass on implementing PSR logger interface
2016-04-14 15:53:49 -05:00
German Sibay
fb27a2dfa0 Fixed type hinting for relatedResrources. It's an array. 2016-04-13 14:31:16 +01: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