get_option( 'pelecard_pay_Buttons_termNo' ), 'username' => get_option( 'pelecard_pay_Buttons_username' ), 'password' => get_option( 'pelecard_pay_Buttons_password' ), 'maxPayments' => get_option( 'pelecard_pay_Buttons_max_Payments') , 'logo' => get_option( 'pelecard_pay_Buttons_logo' ), 'smallLogo' => get_option( 'pelecard_pay_Buttons_smallLogo' ), 'hidePciDssLogo' => get_option( 'pelecard_pay_Buttons_hidePciDssLogo' )=='on'?'True':'False', 'hidePelecardLogo' => get_option( 'pelecard_pay_Buttons_hidePelecardLogo' )=='on'?'True':'False', 'styleSheetAddress' => get_option( 'pelecard_pay_Buttons_css' ), 'total' => $atts['value']*100, 'parmx' => $atts['item_name'], 'goodUrl' => get_option( 'pelecard_pay_Buttons_success_url' ), 'errorUrl' => get_option( 'pelecard_pay_Buttons_error_url' ), 'currency' => get_option( 'pelecard_pay_Buttons_currency' ), 'minPaymentsNo' => '', 'Background' => get_option( 'pelecard_pay_Buttons_Background' ), ); foreach($paybutton_pelecard_args as $key => $value){ $paybutton_pelecard_args_array[] = ""; } $result= '
' .implode('', $paybutton_pelecard_args_array) . '
'; return $result; } add_shortcode( 'pelecard_pay_button', 'pelecard_pay_button_func' ); } ?>