sveawebpay / php-integration

SDK for Sveas payment methods (standalone and Svea Checkout)
Other
15 stars 19 forks source link

Enable logging for payment plans gives fatal error #112

Open timint opened 1 year ago

timint commented 1 year ago

Trying to enable logging to see what is going produces an error: Call to a member function doRequest() on null

        $result = Svea\WebPay\WebPay::getPaymentPlanParams($config)
                  ->setCountryCode('SE')
                  ->enableLogging(true)
                  ->doRequest();