Skip to content

Releases: Mangopay/mangopay2-php-sdk

3.4.1

12 May 07:48
Compare
Choose a tag to compare

Changed

  • Updated the links to the MANGOPAY API documentation in the demo

3.4.0

11 May 08:37
e62702d
Compare
Choose a tag to compare

Fixed

IBAN for testing purposes

⚠️ IBAN provided for testing purpose should never be used outside of a testing environement!

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

25 Mar 10:40
Compare
Choose a tag to compare

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

22 Feb 07:34
Compare
Choose a tag to compare

Added

  • 3DS2 integration with Shipping and Billing objects, including FirstName and a LastName fields
    The objects Billing and Shipping 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

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

18 Dec 17:51
Compare
Choose a tag to compare

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

17 Dec 10:49
Compare
Choose a tag to compare

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

23 Oct 15:28
Compare
Choose a tag to compare

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

08 Oct 12:57
3d8e2ad
Compare
Choose a tag to compare

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

28 Sep 08:04
Compare
Choose a tag to compare

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 🔧

Adding KYC status OUT_OF_DATE, MultiCapture Parameter and a RestTool.php fix

28 Aug 12:23
90a9755
Compare
Choose a tag to compare

-> As part of KYC improvements, we are adding an OUT_OF_DATE status for KYC documents 📄
-> New MultiCapture Parameter added to Preauthorization object 💯 (Complete feature not fully activated, please listen for 👂 product announcements)
-> "User-agent" format in the headers changed, aligned to other assets 👤
-> Improvements to error handling for RestTool.php requests 🔨