Skip to content

Releases: Mangopay/mangopay2-php-sdk

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.

3.9.0

20 Oct 14:24
Compare
Choose a tag to compare

Added

You can now change the status to "ENDED" for a recurring payment.

Fixed

  • "Status" is now available in the response when you request a recurring payment registration.
  • Fix recurring PayIn CIT / MIT create methods return doctype

3.8.0

11 Oct 09:14
Compare
Choose a tag to compare

Added

Payconiq

As requested by numerous clients, we are now providing Payconiq as a new mean-of-payment. To request access, please contact MANGOPAY.

Flags for KYC documents

We provide more information regarding refused KYC documents. Therefore it will be easier for you to adapt your app behavior and help your end user.

You are now able to see the exact explanation thanks to a new parameter called “Flags”.

It has been added to

MangoPay::KycDocument.fetch(new_natural_user['Id'], new_document['Id'])

It will display one or several error codes that provide the reason(s) why your document validation has failed. These error codes description are available here.

3.7.1

10 Aug 14:22
Compare
Choose a tag to compare

Fixed

  • Better support of more PHPUnit versions
  • Cleanup the vendor bundle, to reduce the size of the SDK

Thanks williamdes for your help

3.7.0

10 Aug 09:19
e1a64f0
Compare
Choose a tag to compare

Fixed

  • ChargeDate has been added for PayInPaymentDetailsDirectDebit
  • Change FallbackReason parameter's type to object in PayOutPaymentDetailsBankWire

Added

  • You can now update and view a Recurring PayIn Registration object. To know more about this feature, please consult the documentation here.
  • To improve recurring payments, we have added new parameters for CIT : DebitedFunds & Fees. To know more about this feature, please consult the documentation here

3.6.0

10 Jun 18:11
Compare
Choose a tag to compare

Added

We have added a new feature recurring payments dedicated to clients needing to charge a card repeatedly, such as subscriptions or payments installments.

You can start testing in sandbox, to help you define your workflow. This release provides the first elements of the full feature.

This feature is not yet available in production and you need to contact the Support team to request access.

3.5.0

27 May 18:48
Compare
Choose a tag to compare

Added

Instant payment

Mangopay has introduced few months ago the instant payment mode. It allows payouts (transfer from wallet to user bank account) to be processed within 25 seconds, rather than the 48 hours for a standard payout.

We have added a new feature in the PHP SDK. You can now verify the mode applied to an instant payment.

$payOutGet = $this->_api->PayOuts->GetBankwire($payOut->Id);
// where $payOut->Id is the id of an existing payout

Please note that this feature must be authorized and activated by MANGOPAY. More information here.

Accepted PRs

  • Improved documentation around ubo declaration reason
  • ResponseError object improvement