Coder Social home page Coder Social logo

Comments (6)

yasirrose avatar yasirrose commented on July 16, 2024 2

Thanks, I already following it. I have set
curl.cainfo=c:\php\cacert.pem in my php.ini.

Thank you again. :)

from adyen-php-api-library.

yasirrose avatar yasirrose commented on July 16, 2024 1

Yes, all that is working. I am able to resolve it. I need to set the certificate for curl in php.ini. Or i need to add the line in curlhttp that it should not verify the ssl. thanks.

from adyen-php-api-library.

ivodvb avatar ivodvb commented on July 16, 2024

What happens if you go to https://pal-test.adyen.com/pal/servlet/Payment/v18/authorise in your browser? Is the certificate accepted? Is the datetime of your computer up-to-date?

from adyen-php-api-library.

ivodvb avatar ivodvb commented on July 16, 2024

Just a tip... I'd never disable SSL verification in any HTTP request, you want to be sure you're connecting to the correct server and you want your data to be encrypted to prevent MITM attacks.
Best is to configure your CURL setup to be able to verify the validity of SSL certs.

from adyen-php-api-library.

yasirrose avatar yasirrose commented on July 16, 2024

Thanks for the tip. So for this purpose, i need to set it like that in curlclient?
curl_setopt ($ch, CURLOPT_CAINFO, "PATH_TO/cacert.pem");

from adyen-php-api-library.

ivodvb avatar ivodvb commented on July 16, 2024

No, it's better to configure PHP properly on your Windows machine. See http://stackoverflow.com/questions/2694787/how-can-i-set-curlopt-cainfo-globally-for-php-on-windows for more info about that.

from adyen-php-api-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.