tpay-com / tpay-php

MIT License
24 stars 27 forks source link

How to disable curl verbose mode? #32

Closed luigifab closed 2 years ago

luigifab commented 2 years ago

Is there a simple way to disable curl verbose mode?

Like: \tpayLibs\src\_class_tpay\Utilities\Util::$loggingEnabled = false; For example: \tpayLibs\src\_class_tpay\Curl\CurlOptions::$verbose = false;

luigifab commented 2 years ago

If I can update the curl timeout in the same way for BasicReports... because it is slow when with many transactions, even for 1 day.

piotrjozwiak commented 2 years ago

The verbose can be edited the same way like described in https://github.com/tpay-com/tpay-php/issues/33#issuecomment-1004824265

Just use additionally $this->curl->disableVerbose();

The timeout is the same $this->curl->setTimeout(60);