Plugin Directory

Changeset 3432377


Ignore:
Timestamp:
01/05/2026 04:39:30 AM (3 months ago)
Author:
fraudlabspro
Message:

Fixed SMS Verification not working in WooCommerce Checkout page

Location:
fraudlabs-pro-sms-verification/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fraudlabs-pro-sms-verification/trunk/fraudlabspro-sms-verification.php

    r3386790 r3432377  
    33Plugin Name: FraudLabs Pro SMS Verification
    44Description: SMS verification help merchants to authenticate the client's identity by sending them a SMS for verification.
    5 Version: 1.11.2
     5Version: 1.11.3
    66Author: FraudLabs Pro
    77Author URI: https://www.fraudlabspro.com
  • fraudlabs-pro-sms-verification/trunk/includes/class-wc-fraudlabspro-sms-verification.php

    r3386790 r3432377  
    426426        $orderId = $order->get_id();
    427427        $verified = get_post_meta($orderId, '_fraudlabspro_sms_vrf');
    428         if ($verified[0] == 'yes') {
    429             return;
     428        if ($verified) {
     429            if ($verified[0] == 'yes') {
     430                return;
     431            }
    430432        }
    431433
     
    606608            if (get_option('fraudlabs_pro_sms_verification_wc_default_checkout_form') == 0) {
    607609                $this->write_debug_log('SMS Verification on WooCommerce Checkout Form not enabled. SMS Verification will not be performed.');
    608                 return;
     610                return $block_content;
    609611            }
    610612            elseif ((trim(get_option('fraudlabs_pro_sms_verification_api_key')) == '')) {
    611613                $this->write_debug_log('FraudLabs Pro API Key not inserted. SMS Verification will not be performed.');
    612                 return;
     614                return $block_content;
    613615            }
    614616
  • fraudlabs-pro-sms-verification/trunk/readme.txt

    r3414862 r3432377  
    55Requires at least: 4.6
    66Tested up to: 6.9
    7 Stable tag: 1.11.2
     7Stable tag: 1.11.3
    88
    99Description: SMS verification help merchants to authenticate the client's phone number via SMS verification to prevent fraudulent orders.
     
    4949== Changelog ==
    5050
     51* 1.11.3 Fixed SMS Verification not working in WooCommerce Checkout page.
    5152* 1.11.2 Fixed SMS Verification issue in WooCommerce Checkout Block.
    5253* 1.11.1 Fixed security vulneralbilities.
Note: See TracChangeset for help on using the changeset viewer.