Skip to content

Releases: Mangopay/mangopay2-php-sdk

3.16.2

26 Oct 10:02
Compare
Choose a tag to compare

Fixed

  • #565 : Add Id on PayInRecurringRegistration
  • #564 : Fix type hint for RemainingFunds
  • #563 : Added CardId property to PayInExecutionDetailsDirect and used β€œint” as types for identifiers

Thanks @AntoineLemaire & @garsaud

3.16.1

18 Oct 11:49
Compare
Choose a tag to compare

Fixed

Tests have been fixed due to API updates

3.16.0

07 Sep 06:11
Compare
Choose a tag to compare

Added

New country authorizations endpoints

Country authorizations can now be viewed by using one of the following endpoints:

View a country's authorizations
View all countries' authorizations

With these calls, it is possible to check which countries have:

  • Blocked user creation
  • Blocked bank account creation
  • Blocked payout creation

Please refer to the Restrictions by country article for more information.

3.15.0

29 Jun 09:30
Compare
Choose a tag to compare

Added

Recurring: €0 deadlines for CIT

Setting free recurring payment deadlines is now possible for CIT (customer-initiated transactions) with the FreeCycles parameter.

The FreeCycles parameter allows platforms to define the number of consecutive deadlines that will be free. The following endpoints have been updated to take into account this new parameter:

Create a Recurring PayIn Registration
View a Recurring PayIn Registration
This feature provides new automation capabilities for platforms with offers such as β€œGet the first month free” or β€œfree trial” subscriptions.

Please refer to the Recurring payments overview documentation for more information.

3.14.1

23 May 15:31
Compare
Choose a tag to compare

Fixed

Implementation of UserCategory has been simplified

3.14.0

20 May 14:30
Compare
Choose a tag to compare

Added

UserCategory management

Users can now be differentiated depending on their MANGOPAY usage.

This is possible with the new UserCategory parameter, whose value can be set to:

  • Payer – For users who are only using MANGOPAY to give money to other users (i.e., only pay).
  • Owner – For users who are using MANGOPAY to receive funds (and who are therefore required to accept MANGOPAY’s terms and conditions).

Please note that the following parameters become required as soon as the UserCategory is set to β€œOwner”:

  • HeadquartersAddress
  • CompanyNumber (if the LegalPersonType is β€œBusiness”)
  • TermsAndConditionsAccepted.

The documentation of user-related endpoints has been updated and reorganised to take into account the new parameter:

Create a Natural User (Payer)
Create a Natural User (Owner)
Update a Natural User
Create a Legal User (Payer)
Create a Legal User (Owner)
Update a Legal User
View a User
List all Users

Differentiating the platform users results in a smoother user experience for β€œPayers” as they will have less declarative data to provide.

RecurringPayinRegistrationId in all PayIn GET calls

A PR to add the missing RecurringPayinRegistrationId to all PayIn get calls to match the MangoPay API calls. Thanks @H4wKs

#552

Fix in ReportRequest Entity

#551

Thanks @Asenar

3.13.0

12 May 10:17
Compare
Choose a tag to compare

Added

Terms and conditions acceptance parameter

The acceptance of the MANGOPAY terms and conditions by the end user can now be registered via the SDK.

This information can be managed by using the new TermsAndConditionsAccepted parameter added to the User object.

The following API endpoints have been updated to take into account the new TermsAndConditionsAccepted parameter:

Create a Natural User
Update a Natural User
Create a Legal User
Update a Legal User
View a User

Please note that:

  • Existing users have to be updated to include the terms and conditions acceptance information.
  • Once accepted, the terms and conditions cannot be revoked.

3.12.0

31 Mar 17:04
Compare
Choose a tag to compare

Added

Instant payment eligibility check

With the function
PayOuts->CheckInstantPayoutEligibility($params);
the destination bank reachability can now be verified prior to making an instant payout. This results in a better user experience, as this preliminary check will allow the platform to propose the instant payout option only to end users whose bank is eligible.

3.11.0

18 Mar 15:28
Compare
Choose a tag to compare

Fixed

We are now compatible with psr/log 1 to psr/log 3.

3.10.0

19 Nov 08:36
Compare
Choose a tag to compare

Added

We are now providing new hooks for our new feature Instant payouts :

  • INSTANT_PAYOUT_SUCCEEDED
  • INSTANT_PAYOUT_FALLBACKED

It will allow you to trigger an action depends on the Instant Payout treatment.