-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Is your feature request related to a problem? Please describe.
Description:
Currently, Stripe Express in Dokan supports delayed payouts, where the admin sets a period before vendor payouts are processed. However, this system does not handle cases such as returns, cancellations, or early delivery confirmations, which can lead to payout timing issues.
The proposed feature adds a secondary trigger for payouts based on customer confirmation of delivery, alongside the existing delayed period, making payouts safer and more flexible.
Describe the solution you'd like
Payout Conditions:
Payout to the vendor should occur when either of the following conditions is met:
The delayed period set by admin has passed (existing functionality).
The customer marks the order as delivered/completed, even before the delayed period ends.
If the customer does not confirm delivery by the last day of the delayed period, the payout should automatically be processed to avoid indefinite holds.
Customer Workflow:
After delivery, the customer receives an email notification prompting them to mark the order as delivered.
Once the customer confirms delivery, Dokan triggers the payout immediately (assuming no pending issues), regardless of the delayed period.
Admin Workflow:
Admin can configure:
Delayed payout period (existing functionality).
Option to require customer confirmation for payouts.
Automatic fallback if no confirmation is received by the end of the delayed period.
Technical Requirements:
Extend Stripe Express integration to check both conditions before initiating payout.
Trigger an email notification to the customer after shipping or order completion.
Track delivery confirmations and link them to payout triggers.
Ensure compatibility with existing delayed payout functionality.
Describe alternatives you've considered
No response
Additional context
Benefits:
Reduces risk for marketplace owners in case of returns or disputes.
Protects customers by allowing payouts only after delivery confirmation.
Improves vendor experience by enabling early payouts if the customer confirms delivery.
Maintains fallback to ensure delayed payouts occur automatically if confirmation is not received.
Aligns with marketplace best practices, similar to eBay or Etsy.