Skip to content

Releases: stripe/stripe-mirakl-connector

v4.0

08 Aug 14:45
5906dba
Compare
Choose a tag to compare

What's Changed

  • Added Support for PHP 8.1

Full Changelog: v3.2...v4

v3.2

07 Jun 13:43
dbae8b2
Compare
Choose a tag to compare

Release Notes - Version 3.2.0

New Feature: KYC Monitor and Seller Update Job

Overview

With the introduction of this feature, we are adding a new job that monitors the Know Your Customer (KYC) status of sellers' connect accounts. This development is intended to address issues that arise when there's a further requirement for document verification at Stripe, resulting in the seller's connect account being flagged as "KYC required". This status could impede the account from receiving further payments via API.

Problem Addressed

Previously, the connector jobs payment transfer required KYC-enabled connect accounts for successful execution. If Stripe flagged a connect account as "KYC required", any payment transfer against that account would fail. This issue often resulted in continuous retries and failures on the connector side.

Solution Implemented

The new job checks the KYC status of connect accounts and flags any account requiring KYC as "ignored". If the Mirakl update for KYC disablement is configured as true, it updates the relevant Mirakl shop to KYC required status. It will also notify the operator with an email containing a list of accounts that require KYC update.

How to Use

Command to run the new job:

php bin/console connector:dispatch:monitor-kyc-status -q 2>&1

Configuration setting:

KYC_MIRAKL_SHOP_DISABLE_UPDATE=true

Setting this flag to false, or if it's absent in the .env file, will prevent the job from setting the Mirakl shop KYC status to "KYC required" (S07 API call).

Workflow

Here are the high-level steps of execution flow:

  1. Retrieve all associated connect accounts from Stripe using the GET /v1/accounts API call.
  2. Filter the onboarded accounts from the retrieved ones using the connector data.
  3. Check whether any onboarded account requires KYC from the Stripe side.
  4. If KYC is required:
    a. Set the "ignored" flag as true for the KYC required accounts in the connector DB.
    b. If KYC_MIRAKL_SHOP_DISABLE_UPDATE is set as true, call the Mirakl S07 - Patch update shops API to update the corresponding Mirakl shops to KYC required status. The account link is also updated for KYC.
    c. Notify the operator via an email containing details of the KYC required accounts.

This update significantly enhances the efficiency of the payment transfer process and reduces connector job failures. We encourage everyone to update their systems to version 3.2.0 for a smoother and more streamlined experience.

v3.1.0

13 Mar 12:58
748a983
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.8...v3.1.0

v3.0.8

25 Oct 08:15
Compare
Choose a tag to compare

v3.0.7

18 Oct 09:26
Compare
Choose a tag to compare
  • Fix rate limit error due to pending debits endpoint for service orders (#113 thanks @fhervieux)

v3.0.6

17 Oct 08:48
Compare
Choose a tag to compare
  • Fix payment split checkpoint for service orders (#112 thanks @fhervieux)

v3.0.5

12 Oct 10:26
164594e
Compare
Choose a tag to compare

Fix: take Mirakl's order_tax_mode into account when calculating transfer amounts.

v3.0.4

11 Oct 09:06
28bd82c
Compare
Choose a tag to compare
  • Bump dependencies.

v3.0.3

19 Jul 16:48
9519466
Compare
Choose a tag to compare
  • Bump dependencies.

v3.0.2

25 Mar 11:39
0edafc4
Compare
Choose a tag to compare
  • Fix URL generation when behind a proxy.