Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When logging a gateway error response there is a params field, which provides extra information about the request. That information can include useful information like the payment amount, but it can also include PII such as a full billing address. By logging the full error response in yaml that PII can end up in your logs, which is not desirable and potentially against the law. Therefore we should only log the minimal information needed from the response.
- Loading branch information