• quitting out of safer pay after a failed transaction yields several errors:
    wp-content\plugins\woocommerce-payment-gateway-for-saferpay\class-fnwc-gateway-saferpay.php:359
    $gateway->alert_admin($response);
    should be
    $this->alert_admin($response);
    as gateway is undefined at this point

    \wp-content\plugins\woocommerce-payment-gateway-for-saferpay\fn-saferpay.php:373
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true);
    should be
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
    mode 1 (default value of true) is no longer supported with new versions of the curl lib

    wp-content\plugins\woocommerce-payment-gateway-for-saferpay\class-fnwc-gateway-saferpay.php:360
    there needs to be some sort of feedback here to the user here if something goes wrong. at current the plugin just leaves the user at a blank screen. even something like
    wp_die(“Transaction incomplete”);
    would be usefull

    Also, while I did not actively encounter it….
    \wp-content\plugins\woocommerce-payment-gateway-for-saferpay\fn-saferpay.php:221
    $gateway->alert_admin($msg . “\r\nOrder ID: “. $order->id);
    contains a syntax error as $order is not defined, and will never actually alert the admin

    https://www.ads-software.com/plugins/woocommerce-payment-gateway-for-saferpay/

  • The topic ‘suggested bug fixes for declined card workflow’ is closed to new replies.