Commit Graph

5 Commits

Author SHA1 Message Date
kbe
a0640b5401 Resolve merge conflicts in payout system implementation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-09-18 00:18:02 +02:00
kbe
6058023f30 fix: remove legacy admin payout process route and reorganize routes
- Remove legacy 'process' route from admin payouts (conflicted with Ruby's process method)
- Reorganize admin routes to logical position with proper section comment
- Simplify admin payout routes to only include actual functionality
- Update admin controller tests to test approval workflow instead of legacy routes
- Add proper test setup with banking info and onboarding completion
- Improve test coverage for admin authentication and payout approval

This resolves admin controller test failures and removes unnecessary legacy code
since the application is not yet published.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 16:51:46 +02:00
kbe
70aa9e9e2a fix : ticket order new 2025-09-17 16:34:41 +02:00
kbe
c74140c431 feat: Add manual payout system for countries without Stripe Global Payouts 2025-09-17 08:35:20 +02:00
kbe
3c1e17c2af feat(payouts): implement promoter earnings viewing, request flow, and admin Stripe processing with webhooks
Add model methods for accurate net calculations (€0.50 + 1.5% fees), eligibility, refund handling
Update promoter/payouts controller for index (pending events), create (eligibility checks)
Integrate admin processing via Stripe::Transfer, webhook for status sync
Enhance views: index pending cards, events/show preview/form
Add comprehensive tests (models, controllers, service, integration); run migrations
2025-09-17 02:07:52 +02:00