Commit Graph

235 Commits

Author SHA1 Message Date
Anton Rusakov
8d157c3233 Use restCall object for functions that makes requests (#841)
* Use restCall object for functions that makes requests
2017-05-11 11:46:16 -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
Xiaolei Wheelock
4b23764120 Delete bank info vault samples, update index.php according and note the deprecated status of BankAccount Status (#849)
* Delete bank info vault samples, update index.php according and note the deprecated status of BankAccount Status

* Change comments in bankAccount.php file

* Change the comment of bankAccount file
2017-05-11 11:43:42 -05:00
Tomcraft1980
f7bd2c90fe Update PayPalLogger.php
Fix time format
2017-05-05 16:12:01 +02:00
Xiaolei Wheelock
d375c6d4c6 Merge pull request #836 from xiaoleih41/master
Add getToken() to Payment class to get the EC token from the Approval URL
2017-05-04 11:46:09 -05:00
Xiaolei Wheelock
fa2d202970 Remove unnecessary check 2017-05-04 11:03:33 -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
Xiaolei Wheelock
1d1f1d46ad Add getToken() function to Payment class by getting the EC token from the Approval URL 2017-05-02 15:19:41 -05:00
Xiaolei Wheelock
ea0897544c Add getToken() to Payment class to get the EC token from the Approval URL 2017-05-02 14:50:20 -05:00
brluk and japatel
bf3f436523 Add request body for VerifyWebhookSignature
- Fixes #798
2017-03-22 17:16:35 -05:00
jaypatel512 and sdcoffey
fbb764f57c Check if links is an array 2017-01-18 13:17:08 -06:00
Jay
1f87129870 Don't iterate if object is null
- Fixes #766.
2017-01-16 16:41:54 -06:00
brluk and dkatz
df79671499 Preparing for release 1.11.0 2016-12-14 21:44:04 +00:00
brluk and dkatz
77c7589753 Only add the PayPal-Request-Id header if the value is set 2016-12-14 21:10:32 +00:00
brluk and dkatz
97684cd6a4 Deprecate resetRequestId and generateRequestId 2016-12-14 19:46:04 +00:00
brluk and dkatz
6a8e97db09 Remove automatic retries 2016-12-13 20:56:30 +00:00
brluk and dkatz
a2c75921cb Stop auto-generating PayPal-Request-Id
- Allow manual setting of PayPal-Request-Id
2016-12-13 20:47:37 +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
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