Aktive-Merchant icon indicating copy to clipboard operation
Aktive-Merchant copied to clipboard

Options for cUrl adapter

Open akDeveloper opened this issue 3 years ago • 0 comments

Options do not merge correctly when re-using cUrl adapter for concurrent requests.

https://github.com/akDeveloper/Aktive-Merchant/blob/master/lib/AktiveMerchant/Http/Adapter/cUrl.php#L231

Array in $default variable holds the new data including the new url and should replace any data in $this->options array.

A temporary workaround is to overwrite the getAdapter method in a Gateway class and always return a new instance of cUrl adapter.

akDeveloper avatar Apr 02 '21 13:04 akDeveloper