feat(razorpay): convert onboarding to multi-stage process#2
Conversation
- Adds `onboarding_data` column to `account_razorpay_platforms` table. - Breaks down `CreateRazorpayLinkedAccount` into `UpdateRazorpayBusinessStage`, `UpdateRazorpayStakeholderStage`, and `UpdateRazorpaySettlementStage`. - Implements frontend changes to support step-by-step saves and resume from saved state. - Expands `RazorpayWebhookHandler` to process `account.instantiated`, `account.under_review`, `account.funds_on_hold`, and `account.status_updated` events. Co-authored-by: on3ss <18282058+on3ss@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Adds `onboarding_data` column to `account_razorpay_platforms` table. - Breaks down `CreateRazorpayLinkedAccount` into `UpdateRazorpayBusinessStage`, `UpdateRazorpayStakeholderStage`, and `UpdateRazorpaySettlementStage`. - Implements frontend changes to support step-by-step saves and resume from saved state. - Expands `RazorpayWebhookHandler` to process `account.instantiated`, `account.under_review`, `account.funds_on_hold`, and `account.status_updated` events. Co-authored-by: on3ss <18282058+on3ss@users.noreply.github.com>
This PR breaks down the Razorpay Linked Account onboarding into three distinct stages (Business, Stakeholder, Settlement) to allow users to incrementally save their progress. It updates the frontend to send data in chunks and resume from the last saved state. It also expands the
RazorpayWebhookHandlerto processaccount.*events that update the local platform onboarding status.PR created automatically by Jules for task 15271982261440284060 started by @on3ss