cd scripts/proxy-client
go run ./cmd/serviceBackend runs on: http://localhost:8082
cd atlantic-dashboard
npm run devFrontend runs on: http://localhost:3000
Open: http://localhost:3000/trial
- Enter any email (e.g., test@example.com)
- Click "Continue to Payment - ₦13,080"
You'll be redirected to Paystack's payment page
Test Card Details:
- Card Number:
4084084084084081 - Expiry: Any future date (e.g., 12/25)
- CVV:
408 - PIN:
0000
- Enter card details
- Click "Pay ₦13,080"
- Enter PIN when prompted
- Redirected to: http://localhost:3000/payment/callback
- Payment verified automatically
- Redirected to dashboard
| Item | NGN (₦) | USD ($) |
|---|---|---|
| Refundable Deposit | ₦1,635 | $1.00 |
| First Week (10GB) | ₦11,445 | $6.99 |
| Total | ₦13,080 | $7.99 |
- Card: 4084084084084081
- CVV: 408
- PIN: 0000
- Card: 5060666666666666666
- CVV: 123
- PIN: 0000
- Card: 5060666666666666666
- CVV: 123
- PIN: 0000
POST http://localhost:8082/api/billing/trial/start
Content-Type: application/json
{
"email": "test@example.com"
}Response:
{
"authorization_url": "https://checkout.paystack.com/...",
"reference": "TRIAL-1234567890"
}GET http://localhost:8082/api/billing/verify?reference=TRIAL-1234567890Response:
{
"status": "success",
"message": "Payment verified",
"amount": 1308000
}GET http://localhost:8082/api/billing/statusResponse:
{
"plan": "starter",
"status": "active",
"next_billing_date": "2026-02-06T12:00:00Z",
"data_used": 2684354560,
"data_limit": 10737418240,
"deposit_amount": 1.00,
"deposit_status": "held"
}# Check if port 8082 is in use
lsof -i :8082
# Kill process if needed
kill -9 <PID># Check if port 3000 is in use
lsof -i :3000
# Kill process if needed
kill -9 <PID>- Check Paystack API key in
paystack.go - Verify internet connection
- Check backend logs for errors
- Check reference parameter in URL
- Verify backend is running
- Check Paystack dashboard for transaction status
- ✅ Test successful payment
- ✅ Test failed payment
- ⏳ Implement webhook for subscription renewal
- ⏳ Add email notifications
- ⏳ Store transactions in database
- ⏳ Implement deposit refund automation
- Replace test keys with live keys
- Update callback URL to production domain
- Set up webhook endpoint
- Configure webhook secret
- Add transaction logging
- Add error monitoring
- Test with real cards
- Set up email notifications
- Configure deposit refund automation
- Add payment retry logic
Status: Ready for testing
Time to test: 5-10 minutes