Support

Home Forums Event Espresso Premium Paypal express integration problem

Paypal express integration problem

Posted: March 17, 2017 at 11:21 pm


scottyjacks

March 17, 2017 at 11:21 pm

Click on the event -> Register now(Button).
Register now button
After click the register now button, registration form appear.
I fill the registration form then click on the Proceed to Payment Options.
Register now button
Redirect to :
Proceed to Finalize Registration
While clicking on Proceed to Finalize Registration not redirecting to Payment.
Error :
payment-error
How can I resolve this error.
Please help.


Tony

  • Support Staff

March 18, 2017 at 6:10 am

Hi there,

Theres a JS error being thrown on the checkout page – http://take.ms/JfUDH

It looks like the ‘conntections’ plugin is removing the version of jquery.validate that is shipped with WP and registering its own version.

If you temporarily disable that plugin and retest does it work?

As PayPal Express is currently in debug mode are you using a sandbox account login details within the payment method?


scottyjacks

March 20, 2017 at 12:06 am

Thank you for your valuable reply.
I print the error while checkout to the payment gateway.
wp-content/plugins/event-espresso-core-reg/payment_methods/Paypal_Express/EEG_Paypal_Express.gateway.php

Here is the code where error occurred :
// Request Customer Details.
$request_response = wp_remote_post(
$this->_base_gateway_url,
array(
‘method’ => ‘POST’,
‘timeout’ => 45,
‘httpversion’ => ‘1.1’,
‘cookies’ => array(),
‘headers’ => array(),
‘body’ => http_build_query( $dtls )
)
);
// Log the response.
$this->log( array( $request_text . ‘ Response’ => $request_response), $payment );
print_r($request_response);

Response of request response :

WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => cURL error 35: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
)

)

[error_data] => Array
(
)

)


Lorenzo Orlando Caum

  • Support Staff

March 20, 2017 at 8:31 am

Hello,

The sandbox for PayPal needs an SSL certificate on your site to work.

Do you have an active SSL on the site?

If not, then you can test by creating a new event with some low cost pricing options like $1 and then purchase them.

Afterwards, then you can refund the charge.


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

March 20, 2017 at 9:31 am

Hello,

I made an error on my earlier reply. PayPal had made some changes including required TLS 1.2 or newer:

https://devblog.paypal.com/upcoming-security-changes-notice/

The connection is being rejected as it is an older technology.

Could you reach out to your web host about updating the server to meet those requirements?


Lorenzo

The support post ‘Paypal express integration problem’ 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.

Event Espresso