| Symptom | Likely Fix | |--------------------------------------|----------------------------------------------| | 401 Unauthorized on API calls | Check secret_key, environment (test/live) | | Redirect to success but no webhook | Verify webhook URL is reachable, HTTPS only | | checkout_url returns 404 | Payment intent expired – recreate | | iframe blocked by X-Frame-Options | Use redirect instead; embedding may be disabled |