Skip to main content

๐Ÿงช 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
๐Ÿ”‘ Username๐Ÿ” Password๐ŸŒ Portal URL
testTest@1234

merchant.hesbstaging.com/merchant

๐Ÿ“ Login Steps:
  1. Click the portal URL above to open the sandbox merchant panel
  2. Enter username: test
  3. Enter password: Test@1234
  4. Navigate through the dashboard to monitor your test transactions
  5. 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.

๐Ÿท๏ธ Parameter๐Ÿ’พ Value๐Ÿ“‹ Copy๐Ÿ“ Description
Merchant Code842217

Your unique merchant identifier

Access Codec333729b-d060-4b74-a49d-7686a8353481

API access token for authentication

Secret KeyPkW64zMe5NVdrlPVNnjo2Jy9nOb7v1Xg

Encryption key for secure communication

IV Key5NVdrlPVNnjo2Jy9

Initialization vector for encryption

Base URLhttps://sandbox.hesabe.com

Sandbox API endpoint base URL

๐Ÿ”ง 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)โ€‹

๐Ÿ›๏ธ Bank๐Ÿ’ณ Card Number๐Ÿ“… Expiry๐Ÿ”ข PIN๐Ÿ“‹ Copy
KNET Test Card [KNET1]888888000000000109/251234

๐Ÿ’Ž MasterCardโ€‹

๐Ÿ’ณ Card Number๐Ÿ“… Expiry Date๐Ÿ”’ CVV๐Ÿ“‹ Copy
545301000009553912/25300
5555 5555 5555 444409/25123

๐Ÿ’ฐ American Express (AMEX)โ€‹

๐Ÿ’ณ Card Number๐Ÿ“… Expiry Date๐Ÿ”’ Security Code๐Ÿ“‹ Copy
34567890123456409/251234

๐Ÿ”ท Visa (Cybersource)โ€‹

๐Ÿ’ณ Card Number๐Ÿ“… Expiry Date๐Ÿ”’ CVN๐Ÿ“‹ Copy
400000000000000209/251234

๐Ÿ’ฐ AMEX (Cybersource)โ€‹

๐Ÿ’ณ Card Number๐Ÿ“… Expiry Date๐Ÿ”’ CVN๐Ÿ“‹ Copy
34000000000270809/251234

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.

๐Ÿ—๏ธIntegration Docs:API Documentation

๐Ÿ“ž Testing Support & Assistanceโ€‹

๐Ÿ”งTechnical Support:itsupport@hesabe.com
๐Ÿ‘คMerchant Support:support@hesabe.com