Plugin Directory

Changeset 3340401


Ignore:
Timestamp:
08/06/2025 01:32:22 PM (8 months ago)
Author:
bitsstech
Message:

bug fixes

Location:
otpfy-your-website/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • otpfy-your-website/trunk/otpfy-for-wordpress.php

    r3340368 r3340401  
    1212 * Plugin URI:        https://otpfy.in
    1313 * Description:       OTPfy almost anything in your wordpress website!! OTP based Login, Signup, Order Confirmation, just anything you can imagine. Integrate OTP based 2 factor authentication using our developer hooks.
    14  * Version:           1.0.3.2
     14 * Version:           1.0.3.3
    1515 * Author:            Bitss Techniques
    1616 * Author URI:        https://bitss.tech
     
    3131 * Rename this for your plugin and update it as you release new versions.
    3232 */
    33 define( 'OTPFY_FOR_WORDPRESS_VERSION', '1.0.3.2' );
     33define( 'OTPFY_FOR_WORDPRESS_VERSION', '1.0.3.3' );
    3434
    3535/**
  • otpfy-your-website/trunk/public/class-otpfy-for-wordpress-public.php

    r3340368 r3340401  
    466466        $get_checkout_verify = $this->settings->get_checkout_verify();
    467467        if($get_checkout_verify == "off") return;
    468         if($get_checkout_verify == "cod" && !isset($_POST['payment_method']) && !isset($_POST['payment_method_cod'])){
     468        if($get_checkout_verify == "cod" && (!isset($_POST['payment_method']) || !isset($_POST['payment_method_cod']))){
    469469            return; // Skip OTP for non-COD payments
    470470        }
Note: See TracChangeset for help on using the changeset viewer.