980 B
980 B
10 Sandbox Testing
Checklist:
- Create a dedicated TESTING app in Uber Developer Dashboard
- Use sandbox domains in
.env:UBER_OAUTH_BASE_URL=https://sandbox-login.uber.comUBER_API_BASE_URL=https://test-api.uber.com
- Ensure domain pairing is valid:
- Testing:
sandbox-login.uber.com -> test-api.uber.com - Production:
auth.uber.com -> api.uber.com
- Testing:
- Test OAuth connect flow
- Test menu upload/get
- Test order lifecycle actions
- Test webhook receipt and persistence
- Validate retry and duplicate event handling
Validation sequence:
- Authentication token generation and authorized call test
- Store status/hours API smoke tests
- Full menu replacement test via PUT
- Order webhook receipt and lifecycle action tests
- Error and retry behavior checks
Troubleshooting quick checks:
- Verify test credentials belong to TESTING app type
- Token/API domain mismatch is the most common failure
- Sandbox data can reset; do not rely on persistence