Skip to content

Add Proxy connection options to HttpClient  #34

Description

@costama6

Hello,

It is currently not possible to establish a connection to the PayPlug API from behind firewalls that require a proxy for external access. Specifically, the following CURL options would be necessary for such effect:

file: lib/Payplug/core/HttpClient.php
function: request()
new lines:

        $request->setopt(CURLOPT_PROXY, #proxy url#);
        $request->setopt(CURLOPT_PROXYUSERPWD, #proxy authentication#);

Currently I have modified HttpClient.php for such purposes with success, but this will break future updates to the library (where I must perform the changes again).

So I ask that these configuration options are added.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions