Commit Graph

5 Commits

Author SHA1 Message Date
c3842dc9c6 Fix: Update integration test to use HTTPS and bypass SSL verification
**Changes:**
- Add `-k` flag to all curl commands to bypass SSL certificate verification
- Update SilverPay URL to use https://bank.dark.side reverse proxy
- Simplify configuration (removed internal IP references)

**Test Results (8/12 passing):**
 LittleShop Admin: HTTP 200 (working)
 Categories API: HTTP 200 (working)
 Products API: HTTP 200 (working)
 SilverPay Home/Health/Wallet: HTTP 200 (working)
 SilverPay Currencies: HTTP 200 (working)
 SilverPay Auth: HTTP 401 (expected)
 Exchange Rate: Connection timeout (Tor routing issue)
 Create Order (SilverPay): Failed (needs investigation)
 Create Order (LittleShop): HTTP 400 (validation issue)
 Payment Integration: Blocked by order creation failures

**Infrastructure Status:**
- LittleShop: Deployed and responding correctly
- SilverPay: Core services operational, Tor routing has timeout issues
- Integration: Basic connectivity confirmed, order flow needs fixes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 15:31:37 +01:00
55303af5fd Update: Integration test URLs for new deployment domains
**Changes:**
- LittleShop Admin: https://admin.dark.side
- SilverPay: Internal LAN only (http://10.0.0.1:8001)
- Bank public URL: https://bank.dark.side (should not be accessible)

Updated configuration to reflect proper security setup where SilverPay is only accessible on internal network, not exposed to public internet.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 15:15:40 +01:00
e2f809c4f3 Fix integration test: correct field name from customerIdentity to identityReference
Fixed:
• Order creation now uses correct 'identityReference' field
• Integration tests now pass at 92% (11/12)
• SilverPAY wallet unlock confirmed working
• Payment address generation validated

Test Results:
• SilverPAY Order Creation:  Working
• Exchange Rates:  Live data (£81,852/BTC)
• Order Creation:  Fixed field validation
• System Status: 92% operational

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 01:38:04 +01:00
127be759c8 Refactor payment verification to manual workflow and add comprehensive cleanup tools
Major changes:
• Remove BTCPay Server integration in favor of SilverPAY manual verification
• Add test data cleanup mechanisms (API endpoints and shell scripts)
• Fix compilation errors in TestController (IdentityReference vs CustomerIdentity)
• Add deployment automation scripts for Hostinger VPS
• Enhance integration testing with comprehensive E2E validation
• Add Blazor components and mobile-responsive CSS for admin interface
• Create production environment configuration scripts

Key Features Added:
• Manual payment verification through Admin panel Order Details
• Bulk test data cleanup with proper cascade handling
• Deployment automation with systemd service configuration
• Comprehensive E2E testing suite with SilverPAY integration validation
• Mobile-first admin interface improvements

Security & Production:
• Environment variable configuration for production secrets
• Proper JWT and VAPID key management
• SilverPAY API integration with live credentials
• Database cleanup and maintenance tools

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 19:29:00 +01:00
d6f8a5e697 Add comprehensive integration test suite with deployment verification
- Created multiple test scripts to verify all system integrations
- test-integration-fixed.sh: Main test suite with all fixes (RECOMMENDED)
- test-integration-simple.sh: Quick verification script
- All 12 tests passing: admin auth, APIs, payments, exchange rates
- Added DEPLOYMENT-VERIFICATION.md with post-deployment testing process
- Tests verify: LittleShop, TeleBot, and SilverPay integration
- Exchange rate fix: Use BTC/GBP format (crypto-to-fiat)
- Payment response updated for new walletAddress field
- Admin login correctly accepts 401 for API testing

IMPORTANT: Run ./test-integration-fixed.sh after EVERY deployment

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 00:04:30 +01:00