1 function get_code($order, $payment){ 2 $version = '2.2'; 3 $charset = '1'; 4 $language = '1'; 5 $signType = '1'; 6 $tranCode = '8888'; 7 $merchantID = '0000001502'; 8 $merOrderNum = $order['order_sn']; 9 $tranAmt = $order['order_amount']; 10 $feeAmt = ''; 11 $currencyType = '156';