/** * Returns an array of javascript script params to localize for the * checkout/pay page javascript. Mostly used for i18n purposes * * @since 1.0 * @see SV_WC_Payment_Gateway::get_js_localize_script_params() * @return array associative array of param name to value */ protected function get_js_localize_script_params() { // add the "require_csc" param, which is needed to properly handle the checkout page tokenization logic return array_merge(parent::get_js_localize_script_params(), array('require_csc' => $this->csc_required())); }