bunq / sdk_php

PHP SDK for bunq API
MIT License
84 stars 54 forks source link

Fout! Use of undefined constant CURLOPT_PINNEDPUBLICKEY - assumed 'CURLOPT_PINNEDPUBLICKEY' (this will throw an Error in a future version of PHP) #178

Closed udsolutions closed 5 years ago

udsolutions commented 5 years ago

Steps to reproduce:

  1. Assign Bunq API key to a third party software

What should happen:

  1. Connection establishment instead of error

What happens:

  1. Error occurs when trying to establish a connection with API: Fout! Use of undefined constant CURLOPT_PINNEDPUBLICKEY - assumed 'CURLOPT_PINNEDPUBLICKEY' (this will throw an Error in a future version of PHP)

Traceback

SDK version and environment

Response id

Extra info:

Using Firefly iii PHP Version 7.3.8

PGPNINJA commented 5 years ago

commenting out now line 315 (CURLOPT_PINNEDPUBLICKEY) ApiClient.php will solve this for now