Platform Guides

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:

  1. Go to Dashboard โ†’ API Settings
  2. Toggle "Test Mode" switch
  3. Use test API keys (start with csfy_test_)
  4. Transactions marked with ๐Ÿงช badge

Test Payment Cards

Card NumberBrandResult
4242 4242 4242 4242VisaSuccess
5555 5555 5555 4444MastercardSuccess
4000 0000 0000 0002VisaDeclined
4000 0000 0000 9995VisaInsufficient 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

  1. Add product to cart
  2. Proceed to checkout
  3. Use test card: 4242 4242 4242 4242
  4. Complete purchase
  5. Verify order in dashboard

๐Ÿ’ธ Payout Testing

  1. Complete test purchases worth $50+
  2. Request payout in dashboard
  3. Simulate approval (auto-approved in test)
  4. 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.