Open dferdoille opened 5 years ago
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.
Unable to read response, or response is empty
If I add a proxy in Model/Paybox.php like :
Model/Paybox.php
$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
payment/payflow_advanced/proxy_host
Is it possible to manage it differently or would the corresponding pull request interest you?
Thanks !
David
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 :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#L70Is it possible to manage it differently or would the corresponding pull request interest you?
Thanks !
David