wl-online-payments-direct / sdk-php

Other
5 stars 5 forks source link

Connection timeout feature is missing #12

Open violy opened 1 month ago

violy commented 1 month ago

I've an issue in production, with timeout on Worldline on some payment transactions (more than 300 seconds!) and we are investigating on network/infrastructure layer to fix at this level.

However, the SDK seems not provide a method to set a custom configuration to apply a curl timeout CURLOPT_TIMEOUT (and some others curl_setopt like this, CURLOPT_CONNECTTIMEOUT, …)

curl_setopt($curlHandle, CURLOPT_TIMEOUT, $requestTimeout); 

Did I've miss something ? Thanks.