Task #830
openEpic #786: Square Payment Gateway Integration
Feature #829: Logging & Configuration
Payment Logging
0%
Description
Log all payment API requests and responses (excluding sensitive data). Include timestamps and correlation IDs.
Updated by Deeksha Singh about 1 month ago
Module: Payment Logging
TC_ID_LOG_01
Title: Verify payment API request is logged
Preconditions: Payment API is triggered
Steps:
Trigger payment API
Check logs
Test Data: API request with amount = 100, currency = USD
Expected Result: Request details are logged
TC_ID_LOG_02
Title: Verify payment API response is logged
Preconditions: Payment API returns response
Steps:
Trigger payment API
Check logs
Test Data: API response with status = SUCCESS
Expected Result: Response details are logged
TC_ID_LOG_03
Title: Verify sensitive data is not logged
Preconditions: Logging enabled
Steps:
Trigger payment API
Check logs
Test Data: Request/response containing sensitive fields
Expected Result: Sensitive data is not present in logs
TC_ID_LOG_04
Title: Verify timestamp is included in logs
Preconditions: Logging enabled
Steps:
Trigger payment API
Check logs
Test Data: Any API request
Expected Result: Each log entry contains a valid timestamp
TC_ID_LOG_05
Title: Verify correlation ID is included in request and response logs
Preconditions: Logging enabled
Steps:
Trigger payment API
Check logs
Test Data: Any API call
Expected Result: Same correlation ID present in both request and response logs
Updated by Abhishek Thakur about 1 month ago
- Status changed from New to Ready for Client