Plugin Directory

Changeset 2639245


Ignore:
Timestamp:
12/03/2021 06:01:12 PM (4 years ago)
Author:
qisstpay
Message:

change version and place control on cookie set

Location:
qisstpay/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qisstpay/trunk/class_woo_qp_pgw.php

    r2633623 r2639245  
    3939            function my_nid_script($hook)
    4040            {
    41          
    4241                    $user_ID=uniqid();
    43                     setcookie("UserID", $user_ID);
    44                     session_start();
    45                     $_SESSION['UserID'] = $user_ID;
    46                
     42               
     43                    if(!isset($_COOKIE["UserID"]))
     44                    {
     45                        setcookie("UserID", $user_ID);
     46                        session_start();
     47                        $_SESSION['UserID'] = $user_ID;
     48                    }
     49                   
    4750
    4851                $my_js_ver2  = date("ymd-Gis", filemtime( plugin_dir_path( __FILE__ ) . 'js/nid.js' ));
     
    231234        $phone       = $this->qpayment8911_convertNo($order_billing_phone);
    232235        $params      = [
    233             'plugin_version'    => '2.0.2',
     236            'plugin_version'    => '2.0.6',
    234237            'qisstpay_nid'      => $idd,
    235238            'partner_id'        => 'wordpress',
  • qisstpay/trunk/qpayment-plugin.php

    r2639159 r2639245  
    55 * Plugin URI: https://qisstpay.com/       
    66 * Description: QisstPay - pay in interest free installments.       
    7  * Version: 2.0.5   
     7 * Version: 2.0.6   
    88 * Author: QisstPay     
    99 * Author URI: https://qisstpay.com/       
Note: See TracChangeset for help on using the changeset viewer.