Testing Guide
Test mode, sample data, and integration testing strategies for ContentSellify.
Test Mode
Test mode allows you to simulate transactions, payouts, and workflows without processing real payments or affecting production data.
Enable Test Mode:
- Go to Dashboard โ API Settings
- Toggle "Test Mode" switch
- Use test API keys (start with
csfy_test_) - Transactions marked with ๐งช badge
Test Payment Cards
| Card Number | Brand | Result |
|---|---|---|
| 4242 4242 4242 4242 | Visa | Success |
| 5555 5555 5555 4444 | Mastercard | Success |
| 4000 0000 0000 0002 | Visa | Declined |
| 4000 0000 0000 9995 | Visa | Insufficient Funds |
Note: Use any future expiry date (e.g., 12/25) and any 3-digit CVV.
Sample Data
๐ค Test Users
test-buyer@example.com
Pre-configured buyer account
test-seller@example.com
Pre-configured seller with products
๐ฆ Sample Products
Test mode includes sample products:
- React Course ($49.99)
- Design Assets Bundle ($29.99)
- Python Ebook ($19.99)
Testing Common Workflows
๐๏ธ Purchase Flow
- Add product to cart
- Proceed to checkout
- Use test card: 4242 4242 4242 4242
- Complete purchase
- Verify order in dashboard
๐ธ Payout Testing
- Complete test purchases worth $50+
- Request payout in dashboard
- Simulate approval (auto-approved in test)
- Check payout status (completes instantly)
Testing Best Practices
โ Test both success and failure scenarios - Don't just test happy paths. Use declined cards, invalid data, and edge cases.
โ Keep test and production keys separate - Never use production keys in development or test keys in production.
โ Clean test data regularly - Reset test environment weekly to avoid clutter and ensure consistent results.