Fatal error: Call to a member function Encrypt() on boolean
-
Hey,
when I click on the payment button on the checkout the following fatal error is generated:PHP Fatal error: Uncaught Error: Call to a member function Encrypt() on boolean in /home/.../www/wp-content/plugins/gestpay-for-woocommerce/gestpay-for-woocommerce.php:522 Stack trace: #0 /home/.../www/wp-content/plugins/gestpay-for-woocommerce/gestpay-for-woocommerce.php(788): WC_Gateway_Gestpay->gestpay_encrypt(Object(stdClass), 21320) #1 /home/.../www/wp-content/plugins/gestpay-for-woocommerce/gestpay-for-woocommerce.php(442): WC_Gateway_Gestpay->get_ab_params(Object(WC_Order)) #2 /home/.../www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(888): WC_Gateway_Gestpay->process_payment(21320) #3 /home/.../www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1081): WC_Checkout->process_order_payment(21320, 'wc_gateway_gest...') #4 /home/.../www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(435): WC_Checkout->process_checkout() #5 /home/.../www/wp-includes/class-wp-hook.php(286): WC_AJAX::checkout('') #6 /home/.../www/wp-includes/clas in /home/.../www/wp-content/plugins/gestpay-for-woocommerce/gestpay-for-woocommerce.php on line 522
This may be or may be not related to this other error I get in gestpay log:
05-20-2019 @ 15:30:23 - ################### [INFO][wc_gateway_gestpay] Processing payment... 05-20-2019 @ 15:30:23 - [INFO] Retrieving args for the order 21320 05-20-2019 @ 15:30:23 - >> Using currency array ( 'iso' => '242', 'desc' => 'Euro', 'min' => 0.01, 'max' => 7000000, 'decimal' => 2, ) 05-20-2019 @ 15:30:23 - [GESTPAY ENCRYPT PARAMETERS] stdClass::__set_state(array( 'shopLogin' => 'foo', 'uicCode' => '242', 'shopTransactionId' => bar, 'amount' => '148.00', 'apikey' => 'OTA5OTQ1NiMjS0FP...', )) 05-20-2019 @ 15:31:24 - [FATAL ERROR]: Soap Client Request Exception with error SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://ecomms2s.sella.it/gestpay/GestPayWS/WSCryptDecrypt.asmx?WSDL' : failed to load external entity "https://ecomms2s.sella.it/gestpay/GestPayWS/WSCryptDecrypt.asmx?WSDL"
OpenSSL is enabled in PHP.
Thanks for your support
A
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error: Call to a member function Encrypt() on boolean’ is closed to new replies.