- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
20 lines
716 B
PHP
20 lines
716 B
PHP
<?php
|
|
// Square API Configuration
|
|
return [
|
|
'square' => [
|
|
'application_id' => 'YOUR_SQUARE_APP_ID',
|
|
'access_token' => 'YOUR_SQUARE_ACCESS_TOKEN',
|
|
'location_id' => 'YOUR_SQUARE_LOCATION_ID',
|
|
'environment' => 'sandbox', // Change to 'production' when going live
|
|
'currency' => 'USD',
|
|
'min_donation' => 1.00,
|
|
'max_donation' => 1000.00,
|
|
'default_amounts' => [5, 10, 25, 50, 100],
|
|
'webhook_secret' => 'YOUR_WEBHOOK_SECRET'
|
|
],
|
|
'streamer' => [
|
|
'min_balance' => 10.00, // Minimum balance before payout
|
|
'payout_fee' => 2.9, // Square payout fee percentage
|
|
'payout_fee_fixed' => 0.30 // Fixed fee per payout
|
|
]
|
|
];
|