I have installed PayPal plus extension from Iways, on magento version 1.9.2.2. Locally works everything fine, on my dev environment I receive the error

Provided credentials not valid.
Webhook creation failed.

I have sandbox account everything is ok. I have checked the client id and the Secret key, no errors. The lib folder from the extension is also there.
I really don't understand why I receive this error that the credentials are not valid.

Anybody any other idea, I will appreciate.

closed as off-topic by sv3n, Manoj Deswal, Jai, liyakat, Keyur Shah Mar 6 at 2:27

  • This question does not appear to be about the Magento e-Commerce platform within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

I had the same problem and solved it as followed:

In my php pool configuration, I added the following command to secure my php:

php_admin_value[disable_functions] = dl,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source

After that I get the same error: Provided credentials not valid. Webhook creation failed.

I changed it in:

php_admin_value[disable_functions] = dl,exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source

after that I restarted my php service:

service php5-fpm restart

and flushed the Magento cache, this worked for me, I hope this solve your problem too.

  • 0 down vote accept The problem was with the Server configuration. An old curl version. It doesn't work with curl 7.19. Recommendation curl > 7.36. – ZUk Apr 5 '16 at 12:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.