Skip to content

t523e: Log PayPal-Debug-Id response header from API calls #731

@superdav42

Description

@superdav42

Summary

PayPal requires debug IDs from test API calls for the review submission. The PayPal-Debug-Id response header should be captured and logged from every API response.

File

inc/gateways/class-paypal-rest-gateway.phpapi_request() method (or Base_PayPal_Gateway)

Acceptance Criteria

  • PayPal-Debug-Id extracted from every API response via wp_remote_retrieve_header()
  • Debug ID logged alongside existing API response logging

Part of #725


aidevops.sh v3.5.555 plugin for OpenCode v1.3.12 with claude-opus-4-6 spent 14h 19m and 13,232 tokens on this as a headless worker.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions