๐งช Complete Sandbox Testing Guide
This comprehensive guide provides all the credentials and test data you need to integrate and test with Hesabe's sandbox environment safely and effectively.
๐ฏSandbox Environment Benefits
No real money transactions - test freely without financial risk
๐ Unlimited Testing: Test all payment scenarios, edge cases, and error handling
๐ Real-time Monitoring: View all test transactions in the sandbox merchant panel
๐ Step-by-Step Testing Setupโ
Step 1: ๐ Access Sandbox Merchant Panelโ
๐คMerchant Panel Login
๐ Login Steps:
- Click the portal URL above to open the sandbox merchant panel
- Enter username:
test
- Enter password:
Test@1234
- Navigate through the dashboard to monitor your test transactions
- Access API settings, reports, and transaction history
Step 2: ๐ Configure API Credentialsโ
๐Sandbox API Credentials
โ ๏ธIMPORTANT: Sandbox Only
These credentials are for sandbox testing only. Never use these in production environment.
๐ง Integration Instructions:
- Copy all credentials to your development environment configuration
- Use the Base URL for all API endpoint calls
- Keep Secret Key and IV Key secure - never expose in client-side code
- Test authentication before proceeding to payment testing
Step 3: ๐ณ Test Payment Cardsโ
๐ณTest Card Details for Payment Testing
โ
Safe Testing Cards
All card numbers below are for testing only - no real charges will occur. Use these to test different payment scenarios and card types.
๐ฆ KNET (Kuwait Local Cards)โ
๐ MasterCardโ
๐ฐ American Express (AMEX)โ
๐ท Visa (Cybersource)โ
๐ฐ AMEX (Cybersource)โ
Step 4: ๐งช Execute Your Testsโ
๐งชComprehensive Testing Checklist
โ
Required Test Scenarios:
๐ Authentication Testing:
- Verify API credentials work correctly
- Test invalid credential scenarios
- Check token generation and validation
๐ณ Payment Flow Testing:
- Test each card type (KNET, MasterCard, Visa, AMEX)
- Process successful payment transactions
- Test different payment amounts and currencies
- Verify payment confirmation callbacks
โ Error Scenario Testing:
- Test invalid card numbers and expired cards
- Simulate payment failures and declined transactions
- Test network timeout scenarios
- Verify proper error message handling
๐ Integration Verification:
- Monitor transactions in merchant panel
- Verify webhook/callback functionality
- Test refund processes (if applicable)
- Confirm reporting accuracy
Step 5: ๐ Prepare for Productionโ
๐Ready for Production Migration?
Once all sandbox testing is complete and successful, you're ready to migrate to the production environment with real payment processing.
๐Next Step:Follow Production Migration Guide
๐๏ธIntegration Docs:API Documentation