function frontend_js()
 {
     $general_opts = CE_Options::get_instance();
     $website_logo = $general_opts->get_website_logo();
     $paymill = $this->get_api();
     if (is_page_template('page-post-ad.php')) {
         wp_enqueue_script('paymill-root', 'https://bridge.paymill.com/');
         wp_enqueue_script('paymill-modal', plugin_dir_url(__FILE__) . 'paymill.js', array('jquery', 'backbone', 'underscore', 'ce'), false, true);
         wp_localize_script('paymill-modal', 'ce_paymill', array('public_key' => $paymill["public_key"], 'PAYMILL_PUBLIC_KEY' => $paymill["public_key"], 'currency' => ET_Payment::get_currency(), 'card_number_msg' => __('Card number is invalid.', ET_DOMAIN), 'cvc_msg' => __('Card code is invalid.', ET_DOMAIN), 'exp_msg' => __('The credit card expiration date is invalid .', ET_DOMAIN), 'public_key_msg' => __('Invalid public key.', ET_DOMAIN), 'unknow_error' => __('Unknow error', ET_DOMAIN), 'name_card_msg' => __('Name on card is invalid.', ET_DOMAIN)));
     }
 }
<?php

$general_opts = CE_Options::get_instance();
$website_logo = $general_opts->get_website_logo();
?>
<style type="text/css">
	.ui-popup .modal-body{
		padding: 20px;
	}

	.ui-popup #button_paymill {
		color: #FFF;
		width: 100%;
		padding: 10px;
		font-weight: 600;
		font-size: 16px;
		border: none;
		-moz-box-shadow: inset 0 -3px 3px #327dbd;
		-webkit-box-shadow: inset 0 -3px 3px #327DBD;
		box-shadow: inset 0 -3px 3px #327DBD;
		background-color: #3783C5;
		background-image: -moz-linear-gradient(bottom, #3783c5 0%, #3783c5 100%);
		background-image: -o-linear-gradient(bottom, #3783c5 0%, #3783c5 100%);
		background-image: -webkit-linear-gradient(bottom, #3783C5 0%, #3783C5 100%);
		background-image: linear-gradient(bottom, #3783c5 0%, #3783c5 100%);
		border-radius: 3px !important;
		-moz-border-radius: 3px !important;
		-webkit-border-radius: 3px !important;
	}
	.modal-dialog input.error{
		color: #FA5858;
 function frontend_js()
 {
     $general_opts = CE_Options::get_instance();
     $website_logo = $general_opts->get_website_logo();
     $stripe = $this->get_api();
     if (is_page_template('page-post-ad.php')) {
         wp_enqueue_script('stripe.checkout', 'https://checkout.stripe.com/v2/checkout.js');
         wp_enqueue_script('stripe', 'https://js.stripe.com/v1/');
         wp_enqueue_script('stripe.modal', plugin_dir_url(__FILE__) . '/stripe.js', array('jquery', 'backbone', 'underscore', 'ce'), CE_VERSION, true);
         wp_localize_script('stripe.modal', 'ce_stripe', array('public_key' => $stripe["public_key"], 'currency' => ET_Payment::get_currency(), 'card_number_msg' => __('The Credit card number is invalid.', ET_DOMAIN), 'name_card_msg' => __('The name on card is invalid.', ET_DOMAIN), 'transaction_success' => __('The transaction completed successfull!.', ET_DOMAIN), 'transaction_false' => __('The transaction was not completed successfull!.', ET_DOMAIN)));
     }
 }