feat: Implement promoter payout system for event revenue processing
- Add Payout model with associations to User and Event - Create payout requests for completed events with proper earnings calculation - Exclude refunded tickets from payout calculations - Add promoter dashboard views for managing payouts - Implement admin interface for processing payouts - Integrate with Stripe for actual payment processing - Add comprehensive tests for payout functionality Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -78,9 +78,7 @@ Rails.application.routes.draw do
|
||||
|
||||
# === Promoter Routes ===
|
||||
namespace :promoter do
|
||||
get "payouts/index"
|
||||
get "payouts/show"
|
||||
get "payouts/create"
|
||||
resources :payouts, only: [:index, :show, :create]
|
||||
resources :events do
|
||||
member do
|
||||
patch :publish
|
||||
|
||||
Reference in New Issue
Block a user