ladeiko / node-apple-receipt-verify

A Node.js module for In-App-Purchase receipt validation for iOS.
MIT License
91 stars 25 forks source link

Support HTTP proxy in the validation request #33

Closed viktorzavadil closed 2 years ago

viktorzavadil commented 2 years ago

Hi, validator's collaborator :)

We use proxy for all outgoing requests from our servers. It would be great if node-apple-receipt-verify can use HTTP proxy settings. Environment variable HTTP_PROXY is used as standard.

Some hints:

It can be easy to fix but on the other hand, can be tricky because of https. It can be easy to fix but on the other hand, can be tricky because of https. If you will use request lib for requesting apple, it can be easier.

Thank you for your time.

ladeiko commented 2 years ago

Add support for HTTP_PROXY to 1.11.0