简体   繁体   中英

eWAY payment gateway integration

I been searching this error and i have no luck on finding a solution. I am new in this eway payment gateway. I am just trying to understand the process of how to integrate eway payment into php.

i started to follow the sample code given by eway SDK but when i test it

Error: eWAY library has encountered a problem connecting to Rapid.

Maybe i just got confused that hindered me to find the correct solution.

Can anyone point me to the right direction to solve this problem?

Many thanks,

What you need to do is update your certificate.

On your server upload this file - https://curl.haxx.se/ca/cacert.pem

Make sure its not in your www folder, somewhere only apache can access.

Then in your php.ini file add this line to the bottom:

curl.cainfo=C:\\wamp\\certificates\\cacert-2016-11-02.pem

Replace C:\\wamp\\certificates\\cacert-2016-11-02.pem with the path of the certificate you just uploaded. Restart your server. It should now start working.

Here is some more information:

Update WAMP/Apache to use new cacert.pem

https://curl.haxx.se/docs/caextract.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM