You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use hpagent with axios for Apple Pay Merchant Validation with proxy
With this change, we have update the Apple Pay Merchant Validation
implementation in order to use `hpagent` and `axios` in the presence of an
egress proxy, as it's the case on our AWS environments.
This is needed because we want to remove the use of `requestretry`, however
`axios` has a problem preventing it from working with an egress proxy[1].
For this reason, we need to use an HttpsProxyAgent with it.
We would want to use `https-proxy-agent`, however it has its own problem[2].
While we wait for these issues to be fixed, we can use `hpagent` which has
been tested and works well with an egress proxy.
Further information in the JIRA ticket[3].
[1]
axios/axios#4531
[2]
TooTallNate/proxy-agents#235
[3]
https://payments-platform.atlassian.net/browse/PP-12853
Co-authored-by: Jonathan Harden <[email protected]>
Co-authored-by: Dominic Belcher <[email protected]>
Co-authored-by: Marco Tranchino <[email protected]>
0 commit comments