Adyen / adyen-secured-fields-sample-code

MIT License
9 stars 20 forks source link

curl_init() undefined in Windows 10 #4

Open bsulliva opened 5 years ago

bsulliva commented 5 years ago

I'm not able to run this locally on Windows 10. I get an error, "Call to undefined function curl_init()". Please see the error below. How can I resolve this error?

/api/originKeys.php - Uncaught Error: Call to undefined function curl_init() in C:\adyen-secured-fields-sample-code-master\api\originKeys.php:25 Stack trace:

0 C:\adyen-secured-fields-sample-code-master\api\originKeys.php(58): requestOriginKeys(Array, Array)

1 {main}

thrown in C:\adyen-secured-fields-sample-code-master\api\originKeys.php on line 25

bsulliva commented 5 years ago

Finally got this resolved, but now the AJAX call to 'api/originKeys.php' returns an empty response. Any ideas why this might happen?

sponglord commented 5 years ago

Are your credentials correct in authentication.ini?