Skip to content

Releases: Mangopay/mangopay2-php-sdk

3.4.2

12 May 08:08
ae60c61
Compare
Choose a tag to compare

Bug fixes

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 ๐Ÿ”ง