Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corporate proxy #28

Open
dferdoille opened this issue Sep 18, 2019 · 0 comments
Open

Corporate proxy #28

dferdoille opened this issue Sep 18, 2019 · 0 comments

Comments

@dferdoille
Copy link

Hello,

When I use this module behind a corporate proxy, I get on the redirection to paybox : Unable to read response, or response is empty.

If I add a proxy in Model/Paybox.php like :

$clt = new \Magento\Framework\HTTP\ZendClient(
            $url,
            [
            'maxredirects' => 0,
            'useragent' => 'Magento Verifone e-commerce module',
            'timeout' => 5,
            'proxy' => 'http://proxy_host:proxy_port'
            ]
        );

The redirection is ok.

Is it possible to upgrade this module to manage proxies, as the core Magento Paypal module which makes it possible thanks to a configuration like payment/payflow_advanced/proxy_host : cf. https://github.com/magento/magento2/blob/2.2.9/app/code/Magento/Paypal/Model/Payflow/Service/Gateway.php#L70

Is it possible to manage it differently or would the corresponding pull request interest you?

Thanks !

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant