diff --git a/CHANGELOG.md b/CHANGELOG.md index b95e14b..881ce26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,24 @@ PayPal PHP SDK release notes ============================ +1.7.4 +----- +* Fixed Duplicate conditional expression in PayPalCredentialManager.php [#594](https://github.com/paypal/PayPal-PHP-SDK/pull/594). +* Updated Invoicing APIs [#605](https://github.com/paypal/PayPal-PHP-SDK/pull/605). +* Fixed PSR code style errors [#607](https://github.com/paypal/PayPal-PHP-SDK/pull/607). + 1.7.3 ----- -* Enabled Third Party Invoicing [#581](https://github.com/paypal/PayPal-PHP-SDK/pull/581) +* Enabled Third Party Invoicing [#581](https://github.com/paypal/PayPal-PHP-SDK/pull/581). 1.7.2 ---- -* Vault API updates -* Fixes #575 +* Vault API updates. +* Fixes #575. 1.7.1 ---- -* Fixes #559 +* Fixes #559. 1.7.0 ---- @@ -21,236 +27,236 @@ PayPal PHP SDK release notes 1.6.4 ---- -* SSL Connect Error Fix -* Fixes #474 +* SSL Connect Error Fix. +* Fixes #474. 1.6.3 ---- -* Fixes Continue 100 Header -* Minor Bug Fixes #452 +* Fixes Continue 100 Header. +* Minor Bug Fixes #452. 1.6.2 ---- -* TLS Check Sample Added -* Updated README +* TLS Check Sample Added. +* Updated README. 1.6.1 ---- -* User Agent Changes -* SDK Version Fix +* User Agent Changes. +* SDK Version Fix. 1.6.0 ---- -* Updated Payments API to latest version -* Removed ModelAccessValidator -* Minor Bug Fixes #399 +* Updated Payments API to latest version. +* Removed ModelAccessValidator. +* Minor Bug Fixes #399. 1.5.1 ---- -* Fixed a bug #343 in Future Payment -* Minor Improvements -* Updates to Sample Docs +* Fixed a bug #343 in Future Payment. +* Minor Improvements. +* Updates to Sample Docs. 1.5.0 ---- -* Enabled Vault List API -* Added More Fields to Vault Credit Card Object -* Minor Fixes +* Enabled Vault List API. +* Added More Fields to Vault Credit Card Object. +* Minor Fixes. 1.4.0 ---- -* Ability to validate Webhook -* Fixes to Logging Manager to skip if mode is not set -* SDK updates and fixes +* Ability to validate Webhook. +* Fixes to Logging Manager to skip if mode is not set. +* SDK updates and fixes. 1.3.2 ---- -* Minor Fix for Agreement Details +* Minor Fix for Agreement Details. 1.3.1 ---- -* PayPalModel to differentiate between empty objects and array -* Fixed CURLINFO_HEADER_SIZE miscalculations if Proxy Enabled +* PayPalModel to differentiate between empty objects and array. +* Fixed CURLINFO_HEADER_SIZE miscalculations if Proxy Enabled. 1.3.0 ---- -* Updated Payment APIs -* Updating ModelAccessValidator to be disabled if not set explicitly +* Updated Payment APIs. +* Updating ModelAccessValidator to be disabled if not set explicitly. 1.2.1 ---- -* Ability to handle missing accessors for unknown objects in json +* Ability to handle missing accessors for unknown objects in json. 1.2.0 ---- -* Order API Support +* Order API Support. * Introduced DEBUG mode in Logging. Deprecated FINE. -* Ability to not Log on DEBUG, while on live environment -* Vault APIs Update API Support -* Transaction Fee Added in Sale Object -* Fixed #237, #234, #233, #215 +* Ability to not Log on DEBUG, while on live environment. +* Vault APIs Update API Support. +* Transaction Fee Added in Sale Object. +* Fixed #237, #234, #233, #215. 1.1.1 ---- -* Fix to Cipher Encryption (Critical) +* Fix to Cipher Encryption (Critical). 1.1.0 ---- -* Enabled Payouts Cancel API Support for Unclaimed Payouts -* Encrypting Access Token in Cached Storage -* Updated Billing Agreement Search Transaction code to pass start_date and end_date -* Updated OAuthToken to throw proper error on not receiving access token -* Minor Bug Fixes and Documentation Updates +* Enabled Payouts Cancel API Support for Unclaimed Payouts. +* Encrypting Access Token in Cached Storage. +* Updated Billing Agreement Search Transaction code to pass start_date and end_date. +* Updated OAuthToken to throw proper error on not receiving access token. +* Minor Bug Fixes and Documentation Updates. 1.0.0 ---- -* Enabled Payouts API Support -* Authorization Cache Custom Path Directory Configuration -* Helper Functions to retrieve specific HATEOS Links -* Default Mode set to Sandbox +* Enabled Payouts API Support. +* Authorization Cache Custom Path Directory Configuration. +* Helper Functions to retrieve specific HATEOS Links. +* Default Mode set to Sandbox. * Enabled Rest SDK to work nicely with Classic SDKs. -* If missing annotation of return type in Getters, it throws a proper exception -* `echo` on PayPalModel Objects will print nice looking JSON -* Updated Invoice Object to retrieve payments and refunds +* If missing annotation of return type in Getters, it throws a proper exception. +* `echo` on PayPalModel Objects will print nice looking JSON. +* Updated Invoice Object to retrieve payments and refunds. > ## Breaking Changes -* Removed Deprecated Getter Setters from all Model Classes - * All Camelcase getters and setters are removed. Please use first letter uppercase syntax - * E.g. instead of using get_notify_url(), use getNotifyUrl() instead -* Renamed Classes - * PayPal\Common\PPModel => PayPal\Common\PayPalModel - * PayPal\Common\ResourceModel => PayPal\Common\PayPalResourceModel - * PayPal\Common\PPUserAgent => PayPal\Common\PayPalUserAgent - * PayPal\Core\PPConfigManager => PayPal\Core\PayPalConfigManager - * PayPal\Core\PPConstants => PayPal\Core\PayPalConstants - * PayPal\Core\PPCredentialManager => PayPal\Core\PayPalCredentialManager - * PayPal\Core\PPHttpConfig => PayPal\Core\PayPalHttpConfig - * PayPal\Core\PPHttpConnection => PayPal\Core\PayPalHttpConnection - * PayPal\Core\PPLoggingLevel => PayPal\Core\PayPalLoggingLevel - * PayPal\Core\PPLoggingManager => PayPal\Core\PayPalLoggingManager - * PayPal\Exception\PPConfigurationException => PayPal\Exception\PayPalConfigurationException - * PayPal\Exception\PPConnectionException => PayPal\Exception\PayPalConnectionException - * PayPal\Exception\PPInvalidCredentialException => PayPal\Exception\PayPalInvalidCredentialException - * PayPal\Exception\PPMissingCredentialException => PayPal\Exception\PayPalMissingCredentialException - * PayPal\Handler\IPPHandler => PayPal\Handler\IPayPalHandler - * PayPal\Transport\PPRestCall => PayPal\Transport\PayPalRestCall -* Namespace Changes and Class Naming Convention - * PayPal\Common\FormatConverter => PayPal\Converter\FormatConverter - * PayPal\Rest\RestHandler => PayPal\Handler\RestHandler - * PayPal\Rest\OauthHandler => PayPal\Handler\OauthHandler -* Fixes to Methods - * PayPal\Api\Invoice->getPaymentDetails() was renamed to getPayments() - * PayPal\Api\Invoice->getRefundDetails() was renamed to getRefunds() +* Removed Deprecated Getter Setters from all Model Classes. + * All Camelcase getters and setters are removed. Please use first letter uppercase syntax. + * E.g. instead of using get_notify_url(), use getNotifyUrl() instead. +* Renamed Classes. + * PayPal\Common\PPModel => PayPal\Common\PayPalModel. + * PayPal\Common\ResourceModel => PayPal\Common\PayPalResourceModel. + * PayPal\Common\PPUserAgent => PayPal\Common\PayPalUserAgent. + * PayPal\Core\PPConfigManager => PayPal\Core\PayPalConfigManager. + * PayPal\Core\PPConstants => PayPal\Core\PayPalConstants. + * PayPal\Core\PPCredentialManager => PayPal\Core\PayPalCredentialManager. + * PayPal\Core\PPHttpConfig => PayPal\Core\PayPalHttpConfig. + * PayPal\Core\PPHttpConnection => PayPal\Core\PayPalHttpConnection. + * PayPal\Core\PPLoggingLevel => PayPal\Core\PayPalLoggingLevel. + * PayPal\Core\PPLoggingManager => PayPal\Core\PayPalLoggingManager. + * PayPal\Exception\PPConfigurationException => PayPal\Exception\PayPalConfigurationException. + * PayPal\Exception\PPConnectionException => PayPal\Exception\PayPalConnectionException. + * PayPal\Exception\PPInvalidCredentialException => PayPal\Exception\PayPalInvalidCredentialException. + * PayPal\Exception\PPMissingCredentialException => PayPal\Exception\PayPalMissingCredentialException. + * PayPal\Handler\IPPHandler => PayPal\Handler\IPayPalHandler. + * PayPal\Transport\PPRestCall => PayPal\Transport\PayPalRestCall. +* Namespace Changes and Class Naming Convention. + * PayPal\Common\FormatConverter => PayPal\Converter\FormatConverter. + * PayPal\Rest\RestHandler => PayPal\Handler\RestHandler. + * PayPal\Rest\OauthHandler => PayPal\Handler\OauthHandler. +* Fixes to Methods. + * PayPal\Api\Invoice->getPaymentDetails() was renamed to getPayments(). + * PayPal\Api\Invoice->getRefundDetails() was renamed to getRefunds(). 1.0.0-beta ---- -* Namespace Changes and Class Naming Convention -* Helper Functions to retrieve specific HATEOS Links -* Default Mode set to Sandbox +* Namespace Changes and Class Naming Convention. +* Helper Functions to retrieve specific HATEOS Links. +* Default Mode set to Sandbox. 0.16.1 ---- -* Configurable Headers for all requests to PayPal -* Allows adding additional headers to every call to PayPal APIs -* SDK Config to add headers with http.headers.* syntax +* Configurable Headers for all requests to PayPal. +* Allows adding additional headers to every call to PayPal APIs. +* SDK Config to add headers with http.headers.* syntax. 0.16.0 ---- -* Enabled Webhook Management Capabilities -* Enabled Caching Abilities for Access Tokens +* Enabled Webhook Management Capabilities. +* Enabled Caching Abilities for Access Tokens. 0.15.1 ---- -* Enabled Deleting Billing Plans -* Updated Samples +* Enabled Deleting Billing Plans. +* Updated Samples. 0.15.0 ---- -* Extended Invoicing Capabilities -* Allows QR Code Generation for Invoices -* Updated Formatter to work with multiple locales -* Removed Future Payments mandate on Correlation Id +* Extended Invoicing Capabilities. +* Allows QR Code Generation for Invoices. +* Updated Formatter to work with multiple locales. +* Removed Future Payments mandate on Correlation Id. 0.14.2 ---- -* Quick Patch to Unset Cipher List for NSS +* Quick Patch to Unset Cipher List for NSS. 0.14.1 ---- -* Updated HttpConfig to use TLSv1 as Cipher List -* Added resetRequestId in ApiContext to enable multiple create calls in succession -* Sanitize Input for Price Variables -* Made samples look better and work best +* Updated HttpConfig to use TLSv1 as Cipher List. +* Added resetRequestId in ApiContext to enable multiple create calls in succession. +* Sanitize Input for Price Variables. +* Made samples look better and work best. 0.14.0 ---- -* Enabled Billing Plans and Agreements APIs -* Renamed SDK name to PayPal-PHP-SDK +* Enabled Billing Plans and Agreements APIs. +* Renamed SDK name to PayPal-PHP-SDK. 0.13.2 ---- -* Updated Future Payments and LIPP Support -* Updated Logging Syntax +* Updated Future Payments and LIPP Support. +* Updated Logging Syntax. 0.13.1 ---- -* Enabled TLS version 1.x for SSL Negotiation -* Updated Identity Support from SDK Core -* Fixed Backward Compatibility changes +* Enabled TLS version 1.x for SSL Negotiation. +* Updated Identity Support from SDK Core. +* Fixed Backward Compatibility changes. 0.13.0 ---- -* Enabled Payment Experience +* Enabled Payment Experience. 0.12.0 ---- -* Enabled EC Parameters Support for Payment APIs -* Enabled Validation for Missing Accessors +* Enabled EC Parameters Support for Payment APIs. +* Enabled Validation for Missing Accessors. 0.11.1 ---- -* Removed Dependency from SDK Core Project -* Enabled Future Payments +* Removed Dependency from SDK Core Project. +* Enabled Future Payments. 0.11.0 ---- -* Ability for PUT and PATCH requests -* Invoice number, custom and soft descriptor -* Order API and tests, more Authorization tests -* remove references to sdk-packages -* patch for retrieving paid invoices -* Shipping address docs patch -* Remove @array annotation -* Validate return cancel url -* type hinting, comment cleaning, and getters and setters for Shipping +* Ability for PUT and PATCH requests. +* Invoice number, custom and soft descriptor. +* Order API and tests, more Authorization tests. +* remove references to sdk-packages. +* patch for retrieving paid invoices. +* Shipping address docs patch. +* Remove @array annotation. +* Validate return cancel url. +* type hinting, comment cleaning, and getters and setters for Shipping. 0.10.0 ----- -* N/A +* N/A. 0.9.0 ----- -* N/A +* N/A. 0.8.0 ----- -* Invoicing API support added +* Invoicing API support added. 0.7.1 ----- -* Added support for Reauthorization +* Added support for Reauthorization. 0.7.0 ----- -* Added support for Auth and Capture APIs -* Types modified to match the API Spec -* Updated SDK to use namespace supported core library +* Added support for Auth and Capture APIs. +* Types modified to match the API Spec. +* Updated SDK to use namespace supported core library. 0.6.0 ----- -* Adding support for dynamic configuration of SDK (Upgrading sdk-core-php dependency to V1.4.0) +* Adding support for dynamic configuration of SDK (Upgrading sdk-core-php dependency to V1.4.0). * Deprecating the setCredential method and changing resource class methods to take an ApiContext argument instead of a OauthTokenCredential argument. 0.5.0 ----- -* Initial Release +* Initial Release. diff --git a/lib/PayPal/Core/PayPalConstants.php b/lib/PayPal/Core/PayPalConstants.php index 239943f..9ef145c 100644 --- a/lib/PayPal/Core/PayPalConstants.php +++ b/lib/PayPal/Core/PayPalConstants.php @@ -12,7 +12,7 @@ class PayPalConstants { const SDK_NAME = 'PayPal-PHP-SDK'; - const SDK_VERSION = '1.7.3'; + const SDK_VERSION = '1.7.4'; /** * Approval URL for Payment diff --git a/sample/doc/billing/CreateBillingAgreementWithCreditCard.html b/sample/doc/billing/CreateBillingAgreementWithCreditCard.html index e7950d3..a44290c 100644 --- a/sample/doc/billing/CreateBillingAgreementWithCreditCard.html +++ b/sample/doc/billing/CreateBillingAgreementWithCreditCard.html @@ -77,4 +77,4 @@ Please note that the plan Id should be only set in this case.
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY