Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add temporary debug logging for refund notifications on test merchant #5682

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

marcotranchino
Copy link
Contributor

This change adds additional logging to inspect the complete notification payload from Worldpay specifically for refund notifications (REFUND_FAILED and SENT_FOR_REFUND statuses) on the test merchant account (GBSRECABOFFGDSGBPTEST).

The extra logging will help investigate where Worldpay includes the refund request ID in their notifications, since we discovered that the 'reference' field is being used for:

  • authorization code (for successful refunds)
  • failure reason (for failed refunds)

The logging is strictly limited to the test merchant to avoid exposing PII in production environments.

Further information in JIRA.

https://payments-platform.atlassian.net/browse/PP-13416

This change adds additional logging to inspect the complete notification payload
from Worldpay specifically for refund notifications (REFUND_FAILED and
SENT_FOR_REFUND statuses) on the test merchant account (GBSRECABOFFGDSGBPTEST).

The extra logging will help investigate where Worldpay includes the refund
request ID in their notifications, since we discovered that the 'reference'
field is being used for:
- authorization code (for successful refunds)
- failure reason (for failed refunds)

The logging is strictly limited to the test merchant to avoid exposing PII
in production environments.

Further information in JIRA.

https://payments-platform.atlassian.net/browse/PP-13416
@marcotranchino marcotranchino force-pushed the PP-13416-add-logs-for-refunds branch from 10b3f52 to 3f91f21 Compare January 14, 2025 15:50
@marcotranchino marcotranchino merged commit ca03edc into master Jan 14, 2025
12 checks passed
@marcotranchino marcotranchino deleted the PP-13416-add-logs-for-refunds branch January 14, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants