Releases: Mangopay/mangopay2-php-sdk
3.4.2
Bug fixes
3.4.1
Changed
- Updated the links to the MANGOPAY API documentation in the demo
3.4.0
Fixed
IBAN for testing purposes
More information about how to test payments, click here.
Others
- Fix Shipping was missing Libraries\Dto thank you @ericabouaf
- Fix
BankAccount
IBAN reference for tests - FIX path oauth/token erreur 404 url not found. Thank you @rachedbelhadj
Added
New events for PreAuthorization
Some of you use a lot the PreAuthorization feature of our API. To make your life easier, we have added three new events :
- PREAUTHORIZATION_CREATED
- PREAUTHORIZATION_SUCCEEDED
- PREAUTHORIZATION_FAILED
The goal is to help you monitor a PreAuthorization with a webhook.
Example: If a PreAuthorization is desynchronized, when the status is updated, you will be able to know it.
PSR4 / PSR12 compliance
- Thanks to @MockingMagician, the SDK is PSR4 / PSR12 compliant. That help your IDE and make sure you can run tests on case-sensitive system. Plus, docker environments has been added to run tests locally in all PHP major versions.
Changed
- To better illustrate the fact that Rate Limiting Reset is a timestamp, we have change $rateLimits[0]->ResetTimeMillis to $rateLimits[0]->ResetTimeTimestamp
3.3.0
Added
On demand feature for 3DSv2
This on-demand feature is for testing purposes only and will not be available in production
Request
We've added a new parameter Requested3DSVersion
(not mandatory) that allows you to choose between versions of 3DS protocols (managed by the parameter SecureMode
). Two values are available:
V1
V2_1
If nothing is sent, the flow will be 3DS V1.
The Requested3DSVersion
may be included on all calls to the following endpoints:
/preauthorizations/card/direct
/payins/card/direct
Response
In the API response, the Requested3DSVersion
will show the value you requested:
V1
V2_1
null
โ indicates that nothing was requested
The parameter Applied3DSVersion
shows you the version of the 3DS protocol used. Two values are possible:
V1
V2_1
Fixed
- Fixed UBO declaration by adding missing
UserId
- Added missing
Billing
in/payins/card/web
- Test on
IpAddress
presence in/payins/card/direct
3.2.0
Added
- 3DS2 integration with Shipping and Billing objects, including FirstName and a LastName fields
The objectsBilling
andShipping
may be included on all calls to the following endpoints:/preauthorizations/card/direct
/payins/card/direct
/payins/card/web
- Activate Instant Payment for payouts by adding a new parameter
PayoutModeRequested
on the following endpoint/payouts/bankwire
- The new parameter
PayoutModeRequested
can take two differents values : "INSTANT_PAYMENT" or "STANDARD" (STANDARD = the way we procede normaly a payout request) - This new parameter is not mandatory and if empty or not present, the payout will be "STANDARD" by default
- Instant Payment is in beta all over Europe - SEPA region
- The new parameter
Fixed
- Fix inverted params for PHP compatibility : Due to compatibility issues with newer versions of PHP we have inverted params in certain methods, including constructor, please check the release code for further detail ๐
- Fix method ScopeBlocked for blocked status
- Fix BrowserInfo class
Added IpAddress and BrowserInfo parameters, 'NO_CHOICE' value for the SecureMode
Update 3.1.6 ๐
Added IpAddress and BrowserInfo parameters to the following endpoints and corresponding objects
- /payins/card/direct
- /preauthorizations/card/direct
Added 'NO_CHOICE' value for the SecureMode parameter
Regulatory endpoint and hook, Client bank account and payout methods, Removed testing versions
Update 3.1.5 ๐
Removed testing older PHP testing versions โ๏ธ
Added 'Regulatory' endpoint to allow checks of User Block Status ๐ซ
Added support for Regulatory -> Blocked Status Hooks ๐
Added methods for creating Client bank accounts and client payouts
Release includes new PreAuthorizationId/transactions and several fixes - 3.1.4
Update ๐ท๏ธ 3.1.4
๐ New endpoint : GET .../v2.01/ClientId/preauthorizations/PreAuthorizationId/transactions/ which allows multiple transactions to be listed
๐งช Testing config changes for TLS, this was blocking a part of the deploy process
๐งฎ Sorting::_sortFields changed to avoid an error when calling GetSortParameter()
โป๏ธ Changed ignore phpunit-cache and minor "Field" typo
๐๏ธ removed php 5.4 and 5.5 from travis and updated curl ssl version
Minor change to User-agent format
Update 3.1.3
-> "User-agent" format in the headers changed, aligned to other assets ๐ค
New endpoints for Card Validation and adding in RemainingFunds feature, minor fixes v3.1.2
Update ๐ฆ 3.1.2
๐ณ New endpoint to support changes to Card Validation process (please listen out for product announcements ๐ )
๐ฏ New RemainingFunds Parameters (Complete feature not fully activated, please listen for ๐ product announcements)
Fix to PayInWebExtendedView ๐ง