Releases: Adyen/adyen-php-api-library
Adyen PHP API Library 8.0.0
Important note
This release will break some old implementation because of the new features of the new API version (v64) listed below. Therefore we are releasing this update as new major version.
- Returns an error if unsupported fields (fields that are currently not in our API specifications) are provided in the payment request.
- Pending is now the response type instead of PresentToShopper for both bcmc_mobile_QR and wechatpayQR
- Added the configuration object to the /paymentMethods response for the API. Example can be found here: https://docs.adyen.com/api-explorer/#/CheckoutService/v64/post/paymentMethods__example_paymentMethods-basic (Click run to get the example response)
- Now returns an error when sanitising invalid origin keys in the /payments flow.
- Now returns an error when the length of the origin in the /payments request exceeds 80 characters.
The feature: https://docs.adyen.com/api-explorer/#/CheckoutService/v64/post/paymentLinks is supported but the GET ( https://docs.adyen.com/api-explorer/#/CheckoutService/v64/get/paymentLinks/{linkId} ) and PATCH ( https://docs.adyen.com/api-explorer/#/CheckoutService/v64/patch/paymentLinks/{linkId} ) endpoints are still not.
Features:
#224 add missing php extesions to composer requires
#223 Feature/add orders api support
#230 [PW-2982] Upgrade checkout API endpoint from v52 to v64
Fixed issues:
#222 Update Checkout API version
Supported API versions:
- Checkout API version: v64
- Payments API version: v51
- Recurring API version: v49
- Payouts API version: v51
- Account API version: v5
- Fund API version: v5
- Notification Configuration API version: v5
Adyen PHP API Library 7.1.0
Adyen PHP API Library 7.0.0
Important note:
In this release we drop support for PHP version 5.3, 5.4 and 5.5
Please note if you still want to use these PHP versions you need to keep using the library version 6.x
We are still going to patch the version 6 if there is a request from merchants or if it's used for one of our plugins.
Features:
#203 [PW-2381] Drop support for PHP 5.3, 5.4 and 5.5
#204 [PW-2266] Add request validator for the payments call
#192 [PW-2248]: Outsourcing of methods to library
Adyen PHP API Library 6.3.0
Adyen PHP API Library 6.2.0
With this release the library supports PHP version 5.3 and above for production environments and php 7.3 and above for development.
A new Adyen IP check function is being introduced to validate the IP address of commonly used Adyen hostnames.
Fixes
#189 Fix config typehint
#186 Fix client types declarations
#185 Remove duplicated classmap
#184 Added .gitattributes to remove useless files for production from package
#182 Update composer.lock
Features
#194 GitHub Actions workflow
#193 Adyen IP validation function
Adyen PHP API Library 6.1.0
Adyen PHP API Library 6.0.1
Fixes:
#173 fixed issue during installation monolog/monolog 2.0.2 with Laravel
Adyen PHP API Library 6.0.0
Because of the update to the latest API version (#162), this is a major release.
Please check our API Explorer for more details: https://docs.adyen.com/api-explorer
#144 Add /getCostEstimate endpoint support
#165 Remove escaping from HMAC notifications
#162 #160 Update to API versions:
- Payments v51
- BinLookup v50
- Payout v51
- Recurring v49
- Checkout v52
- Notification v5
#164 Mask encrypted/sensitive data in the logs
Adyen PHP API Library 5.0.1
#141 Add ApplicationInfo into Terminal API requests
Adyen PHP API Library 5.0.0
Added New contribution guidelines
#134 Add composer.lock
#139 PW-1904 Upgrade checkout API endpoint from v49 to v51
Important note:
Multibanco resultCode changes from Received to PresentToShopper
Example response from v49
{
"additionalData": {
"comprafacil.deadline": "1",
"comprafacil.reference": "111 111 1111",
"paymentMethod": "multibanco",
"refusalReasonRaw": "Setup performed successfully",
"comprafacil.entity": "11111",
"merchantReference": "0001",
"comprafacil.amount": "10.00",
"acquirerCode": "***",
"acquirerReference": "111 111 111"
},
"pspReference": "***",
"resultCode": "Received",
"merchantReference": "0001"
}
Example response from v51:
{
"resultCode": "PresentToShopper",
"action": {
"expiresAt": "2019-12-12T12:55:25",
"initialAmount": {
"currency": "EUR",
"value": 1000
},
"merchantName": "****",
"merchantReference": "0001",
"paymentMethodType": "multibanco",
"reference": "111 111 111",
"totalAmount": {
"currency": "EUR",
"value": 1000
},
"type": "voucher"
}
}