Releases: stripe/stripe-mirakl-connector
v4.0
v3.2
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:
- Retrieve all associated connect accounts from Stripe using the GET /v1/accounts API call.
- Filter the onboarded accounts from the retrieved ones using the connector data.
- Check whether any onboarded account requires KYC from the Stripe side.
- 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
What's Changed
- Enable ignored Mirakl shops by @fhervieux in #115
- Bump symfony/security-bundle from 4.4.44 to 4.4.50 by @dependabot in #118
- Tax split changes by @tejpal-mirakl in #116
New Contributors
- @tejpal-mirakl made their first contribution in #116
Full Changelog: v3.0.8...v3.1.0
v3.0.8
- Fix seller onboarding checkpoint (#114 thanks @fhervieux)
v3.0.7
- Fix rate limit error due to pending debits endpoint for service orders (#113 thanks @fhervieux)
v3.0.6
- Fix payment split checkpoint for service orders (#112 thanks @fhervieux)
v3.0.5
Fix: take Mirakl's order_tax_mode
into account when calculating transfer amounts.
v3.0.4
- Bump dependencies.
v3.0.3
- Bump dependencies.
v3.0.2
- Fix URL generation when behind a proxy.