Plugin Directory

Changeset 2580130


Ignore:
Timestamp:
08/09/2021 06:37:41 AM (5 years ago)
Author:
ksherdev
Message:

limit ktc payment >= 2000

Location:
ksher-payment
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ksher-payment/tags/1.0.5/payment/set-payment.php

    r2580103 r2580130  
    266266                    }
    267267                    if ($this->ktc_instal == 'yes') {
    268                         array_push($channel_list, 'ktc_instal');
     268                        if ($total >= 200000) {
     269                            array_push($channel_list, 'ktc_instal');
     270                        }
    269271                    }
    270272                    if ($this->savecard == 'yes') {
  • ksher-payment/trunk/payment/set-payment.php

    r2580103 r2580130  
    266266                    }
    267267                    if ($this->ktc_instal == 'yes') {
    268                         array_push($channel_list, 'ktc_instal');
     268                        if ($total >= 200000) {
     269                            array_push($channel_list, 'ktc_instal');
     270                        }
    269271                    }
    270272                    if ($this->savecard == 'yes') {
Note: See TracChangeset for help on using the changeset viewer.