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.php — api_request() method (or Base_PayPal_Gateway)
Acceptance Criteria
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.
Summary
PayPal requires debug IDs from test API calls for the review submission. The
PayPal-Debug-Idresponse header should be captured and logged from every API response.File
inc/gateways/class-paypal-rest-gateway.php—api_request()method (orBase_PayPal_Gateway)Acceptance Criteria
PayPal-Debug-Idextracted from every API response viawp_remote_retrieve_header()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.