Skip to content

Instantly share code, notes, and snippets.

View swipswaps's full-sized avatar

#swipswaps swipswaps

View GitHub Profile
@swipswaps
swipswaps / gist:7f2c5076c12ec5ebb03765ac52a5085e
Created August 17, 2026 01:04
Payment flow test result
{"success": true, "form_visible": true, "response": "{\n \"payment_id\": \"auto_test_001\",\n \"amount\": 10,\n \"currency\": \"USD\",\n \"current_state\": \"completed\",\n \"failure_reason\": null\n}", "screenshot_base64": "iVBORw0KGgoAAAANSUhEUgAABQAAAALQCAIAAABAH0oBAAAQAElEQVR4nOzdBbxVZdo34EVKl3RKCAKCiYrF2ImKGCAqKiDGOKMYqDN2MsYoioodYI6iYncgii1hIyrSCCKl5Hd71rz723OAAyJY67p+8zvvs571rGfFPi/H/77XXrvk0qVLEwAAAPizK54AAABABgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkggAMAABAJgjAAAAAZIIADAAAQCYIwAAAAGSCAAwAAEAmCMAAAABkQskEyLKF05PP/pbMfCZZPCdZS0pWS6rvmzS/fhWHt2rV6qOPPlrR2ho1aqy//vpNmzZt06ZNr169qlSpkvD7MH
@swipswaps
swipswaps / gist:78b0c8bbf3b559bbb8d05b0c2531dfb9
Created August 17, 2026 00:49
Frontend final deployment capture
{"console": [{"type": "error", "text": "Failed to load resource: the server responded with a status of 404 ()"}, {"type": "error", "text": "Failed to load resource: the server responded with a status of 404 ()"}], "network": [{"url": "https://swipswaps.github.io/resilient-payment-gateway", "status": 301}, {"url": "https://swipswaps.github.io/resilient-payment-gateway/", "status": 200}, {"url": "https://swipswaps.github.io/assets/index-Cdb0u770.js", "status": 404}, {"url": "https://swipswaps.github.io/assets/index-0N8X_cIM.css", "status": 404}], "root_content": "", "form_visible": false}
Failed to load resource: the server responded with a status of 404 ()
Failed to load resource: the server responded with a status of 404 ()
@swipswaps
swipswaps / gist:8ee461411598acb32718947a0e65b8ec
Created August 16, 2026 22:10
Frontend deployment verification logs
no configuration file provided: not found
No logs available
@swipswaps
swipswaps / gist:74cab9bd676ab2fac867eb46e13bf4ff
Created August 16, 2026 21:13
Payment gateway Redis injection fix logs
app-1 | {"asctime": "2026-08-16T21:12:04Z", "levelname": "INFO", "correlation_id": null, "message": "Payment gateway starting up"}
app-1 | {"asctime": "2026-08-16T21:12:05Z", "levelname": "INFO", "correlation_id": null, "message": "CORS origins: ['http://localhost:5173', 'http://localhost:3000', 'https://swipswaps.github.io']"}
app-1 | INFO: Started server process [1]
app-1 | INFO: Waiting for application startup.
app-1 | {"asctime": "2026-08-16T21:12:05Z", "levelname": "INFO", "correlation_id": null, "message": "ProviderHealthChecker started (interval: 10s)"}
app-1 | {"asctime": "2026-08-16T21:12:05Z", "levelname": "INFO", "correlation_id": null, "message": "AsyncJobScheduler started"}
app-1 | INFO: Application startup complete.
app-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
app-1 | INFO: 172.20.0.1:60606 - "GET /metrics HTTP/1.1" 307 Temporary Redirect
app-1 | INFO: 172.20.0.1:60606 - "GET /metrics/ HTTP/1.1" 200 OK
@swipswaps
swipswaps / gist:ad5b9f49968e956e2fae27b4b270c201
Created August 16, 2026 20:06
Payment gateway verification logs
app-1 | {"asctime": "2026-08-16T20:00:13Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-16T20:00:37Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 1/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-16T20:00:39Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 2/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-16T20:00:43Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 3/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-16T20:00:43Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-16T20:01:07Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_
@swipswaps
swipswaps / gist:e69126b8bca3bd08738bcf89801ca260
Created August 16, 2026 18:50
Payment gateway deployment logs
invalid interpolation format for services.langconnect.environment.[].
You may need to escape any $ with another $.
LANGCONNECT_API_KEY=${{LANGCONNECT_API_KEY}}
@swipswaps
swipswaps / gist:3d5260612a3c76bcaadb80e37f41b0bc
Created August 15, 2026 17:55
Payment gateway rate limiting test logs
app-1 | {"asctime": "2026-08-15T17:52:54Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 1/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:52:56Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 2/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:00Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_retry_processor attempt 3/3 failed: 'NoneType' object has no attribute 'rpop'"}
app-1 | {"asctime": "2026-08-15T17:53:00Z", "levelname": "ERROR", "correlation_id": null, "message": "Job webhook_retry_processor exhausted all retries"}
app-1 | {"asctime": "2026-08-15T17:53:24Z", "levelname": "INFO", "correlation_id": null, "message": "Job transaction_reconciliation completed successfully"}
app-1 | {"asctime": "2026-08-15T17:53:24Z", "levelname": "WARNING", "correlation_id": null, "message": "Job webhook_ret
@swipswaps
swipswaps / gist:563ec213d28edffcead08e118a9e7c1d
Created August 15, 2026 17:38
Payment gateway rate limiting test logs
app-1 | INFO: Started server process [1]
app-1 | INFO: Waiting for application startup.
app-1 | {"asctime": "2026-08-15T17:37:23Z", "levelname": "INFO", "correlation_id": null, "message": "ProviderHealthChecker started (interval: 10s)"}
app-1 | {"asctime": "2026-08-15T17:37:24Z", "levelname": "INFO", "correlation_id": null, "message": "AsyncJobScheduler started"}
app-1 | {"asctime": "2026-08-15T17:37:24Z", "levelname": "INFO", "correlation_id": null, "message": "All background services started"}
app-1 | INFO: Application startup complete.
app-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
app-1 | {"asctime": "2026-08-15T17:37:42Z", "levelname": "INFO", "correlation_id": null, "message": "Available providers: ['mockpaymentprovider', 'stripepaymentprovider']"}
app-1 | {"asctime": "2026-08-15T17:37:42Z", "levelname": "INFO", "correlation_id": null, "message": "Requested provider: mock_payment_provider (normalized: mockpaymentprovider)"}
app-1 | {"asctime": "2026
@swipswaps
swipswaps / gist:279120e1f2256cd77c510bb01a7577a3
Created August 15, 2026 16:38
Payment gateway app logs (fix_idempotency)
app-1 | {"asctime": "2026-08-15T16:37:13Z", "levelname": "INFO", "correlation_id": null, "message": "Payment gateway starting up"}
app-1 | INFO: Started server process [1]
app-1 | INFO: Waiting for application startup.
app-1 | {"asctime": "2026-08-15T16:37:13Z", "levelname": "INFO", "correlation_id": null, "message": "ProviderHealthChecker started (interval: 10s)"}
app-1 | {"asctime": "2026-08-15T16:37:13Z", "levelname": "INFO", "correlation_id": null, "message": "AsyncJobScheduler started"}
app-1 | {"asctime": "2026-08-15T16:37:13Z", "levelname": "INFO", "correlation_id": null, "message": "All background services started"}
app-1 | INFO: Application startup complete.
app-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
app-1 | {"asctime": "2026-08-15T16:37:28Z", "levelname": "INFO", "correlation_id": null, "message": "{\"correlation_id\": \"3dab1dcf-2ba6-43e5-9514-7142888bf966\", \"user_id\": \"anonymous\", \"idempotency_key\": \"test-001\", \"method\": \"POST\"