Posted: June 11, 2013 at 10:15 pm
|
I’m am having trouble getting Rapid 3.0 working. Upon registration, it returns “An error has occured in the using of the Eway Rapid 3.0 payment gateway. Please try a different gateway” when I select “Pay by Credit Card”. Sandbox mode works perfectly. I’ve contacted eway Australia and they can see my sandbox connection attempts but they cannot even see any connection attempts for the live server. Also, my live api credentials authenticate when using https://api.ewaypayments.com/soap.asmx. It is a new installation of wordpress 3.5.1 and event espresso 3.1.33p. Thanks in advance! |
Hi Shaun, This sort of thing has come up before where live credentials don’t seem to work and a few times it was from an extra leading or trailing white space was accidentally copied and pasted into the API credential fields. Can you check and rule that out? |
|
|
I’ve already checked for leading or trailing white spaces. Could it be something to do with the handling of special characters? I’ve tried to make a live key several times and it always has a / character, whereas the sandbox key doesn’t. |
|
Can you try changing line 71 of eway_rapid3_vars.php to be: <p class="error"><?php _e("An error has occured in the using of the Eway Rapid 3.0 payment gateway. Please try a different gateway","event_espresso");?></p> <?php var_dump($rapid3Response); ?> |
|
That returns NULL in place of the error. |
|
Looking a little deeper I’ve managed find the following error when the connection to eway is attempted: Curl error: SSL: certificate subject name ‘www.eway.com.au’ does not match target host name ‘api.ewaypayments.com’ |
|
I’ve fixed this issue with a workaround.I put: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); before the line: in EWayRapid3Client.class.php. |
I talked to eway support about this, as it sounds like a problem with eway’s SSL certificate.
So basically, they believe the error is actually a bug in your version of libcurl, which doesn’t support SAN (Subject Alternative Name). You can run the following code to get your CURL verison (paste it into your theme’s functions.php file temporarily): |
|
The support post ‘Can't get Eway Rapid 3.0 to work’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.