Digitain Integration Test List.
Comprehensive checklist for end-user testing. The responsible team for each test task is indicated.
Team Status
Preparation
Pre-integration configuration checks
Are Digitain API credentials entered in test env?
CRITICALIs the Callback URL provided to Digitain?
CRITICALIs Stripe test mode active? (pk_test_...)
CRITICALIs Ziina test/sandbox mode active?
CRITICALIs Admin Panel access granted?
HIGHAre PM2 logs being monitored? (pm2 logs pay-app)
HIGHCredit Card - Stripe
End-to-end test scenarios for Stripe integration
Initiate 500 TL payment
CRITICAL→ Popup opens, Stripe form visible
Enter test card: 4242...
CRITICAL→ Payment successful
Is Success page displayed?
HIGH→ ✓ mark and amount shown
Is transaction visible in Admin Panel?
HIGH→ Status: completed
Is Digitain callback sent?
CRITICAL→ callbackSent: true
Is invoice email received?
MEDIUM→ With Invoice PDF attachment
Credit Card - Ziina
Ziina integration and currency conversion tests
Switch provider to Ziina (settings)
HIGH→ defaultProvider: ziina
Initiate 1000 TL payment
CRITICAL→ Popup opens, Ziina form visible
Pay with test card
CRITICAL→ Payment successful
Is FX conversion correct?
HIGH→ TRY → AED/USD (check logs)
Visible in Admin Panel?
HIGH→ Status: completed
Callback sent?
CRITICAL→ callbackSent: true
Crypto (USDT TRC-20)
Blockchain-based crypto payment tests
Select 1000 TL crypto payment
CRITICAL→ QR code and wallet address visible
Is USDT amount correct?
HIGH→ Calculated via Binance rate
Make test transfer to wallet
CRITICAL→ Visible on Blockchain
Did ScanWallet detect it?
CRITICAL→ Log: "matched"
Transaction auto-completed?
HIGH→ Status: completed
Callback sent?
CRITICAL→ callbackSent: true
Error Scenarios
Negative testing and error handling
Decline card: ...0002
HIGH→ Error message displayed
Insufficient funds card: ...9995
HIGH→ Appropriate error message
Close popup (no payment)
MEDIUM→ "Payment cancelled" message
Enter 499 TL (below min)
HIGH→ "Minimum 500 TL" error
Enter 51000 TL (above max)
HIGH→ "Maximum 50,000 TL" error
Try 11th tx with same email
CRITICAL→ Compliance limit error
Callback Tests
Webhook integration and retry mechanism
Successful Payment → Digitain callback
CRITICAL→ HTTP 200, balance updated
Is Callback signature valid?
CRITICAL→ Verified by Digitain
Pay while Callback URL is down
HIGH→ Added to retry queue
Is retry queue processing?
HIGH→ Retry after 1m, 5m, 15m
Send manual callback from Admin
MEDIUM→ Operation successful
Is externalRef (User ID) correct?
CRITICAL→ Check on Digitain side
Admin Panel Tests
Admin panel functionality check
Does Dashboard load?
HIGH→ Statistics visible
Click transaction detail
MEDIUM→ Modal opens, all info visible
Change transaction status
MEDIUM→ Written to Audit log
Resend Callback
HIGH→ Reached Digitain
Resend Invoice Email
LOW→ Email received
Initiate Refund (Stripe)
HIGH→ Visible in Stripe dashboard
Does Compliance page open?
HIGH→ Limits and usage visible
Are Audit logs visible?
MEDIUM→ Recent actions listed
Integration Tests
End-to-end integration check with Digitain
Generate payment link from Digitain
CRITICAL→ /pay?... URL opens
Are URL params parsed?
HIGH→ amount, email, userId correct
Redirect after payment completion
HIGH→ redirect to returnUrl if exists
Is Digitain balance updated?
CRITICAL→ Visible in user account
Retry payment with same externalRef
MEDIUM→ New transaction created
Send invalid webhook signature
HIGH→ Returns 401 Unauthorized
Performance & Security
Security and performance testing
10 concurrent payment requests
HIGH→ Rate limit active
Request with invalid API key
CRITICAL→ 401 error
SQL injection attempt
CRITICAL→ Sanitized, no error
XSS attempt (email field)
CRITICAL→ Escaped
Webhook replay attack
HIGH→ Signature verification failed
Check for PM2 memory leak
MEDIUM→ Check after 24h
Invoice & Email
Automated invoice generation and email sending
Is Invoice Number format correct?
HIGH→ VT-2025-000XXX
Is Invoice site mapping correct?
HIGH→ theme/vault based on amount
Is email content correct?
MEDIUM→ Logo, amount, invoice no
Does PDF attachment open?
MEDIUM→ HTML invoice visible
Send to different emails
MEDIUM→ Gmail, Outlook, corporate
Is it going to Spam?
HIGH→ Should be in Inbox
Webhook Proxy
Stripe webhook proxy configuration tests
xtheme.co webhook working?
CRITICAL→ /api/payment/webhook → hizlikasa
vaultv.co webhook working?
CRITICAL→ /api/payment/webhook → hizlikasa
clickad.ai webhook working?
CRITICAL→ nginx proxy → node → hizlikasa
Pre-Go-Live Final Check
Final checks before switching to Production
Switched form Test to Production mode?
CRITICALProduction API keys entered?
CRITICALWebhook URLs updated in Stripe/Ziina?
CRITICALSSL certificates valid?
CRITICALPM2 startup script configured?
HIGHBackup/monitoring active?
HIGHFirst real payment test done? (small amount)
CRITICALStripe Test Cards
| Card Number | Scenario | |
|---|---|---|
| 4242 4242 4242 4242 | Successful Payment | |
| 4000 0000 0000 0002 | Card Declined | |
| 4000 0000 0000 9995 | Insufficient Funds | |
| 4000 0000 0000 3220 | 3D Secure Required | |
| 4000 0025 0000 3155 | 3D Secure Failed |
