<?php

	/**
	 * Template für die Einstellungen des FlexiPay Moduls
	 */

?>
<?php echo wpsg_drawForm_Select('wpsg_mod_flexipay_integratormode', __('Integrationsmodus', 'wpsg'), array(
	'INTEGRATOR_TEST' => 'INTEGRATOR_TEST',
	'CONNECTOR_TEST' => 'CONNECTOR_TEST',
	'LIVE' => 'LIVE'
), $this->get_option('wpsg_mod_flexipay_integratormode')); ?>

<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_sender', __('Sender ID', 'wpsg'), $this->get_option('wpsg_mod_flexipay_sender'), array('help' => 'wpsg_mod_flexipay_sender')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_channelid', __('Channel ID', 'wpsg'), $this->get_option('wpsg_mod_flexipay_channelid'), array('help' => 'wpsg_mod_flexipay_channelid')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_userid', __('UserID', 'wpsg'), $this->get_option('wpsg_mod_flexipay_userid'), array('help' => 'wpsg_mod_flexipay_userid')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_password', __('Passwort', 'wpsg'), $this->get_option('wpsg_mod_flexipay_password'), array('help' => 'wpsg_mod_flexipay_password')); ?>

<br />

<?php echo wpsg_drawForm_Checkbox('wpsg_mod_flexipay_activ', __('Zahlungsart aktiv', 'wpsg'), $this->get_option('wpsg_mod_flexipay_activ')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_flexipay_paymenttypes', __('Zahlungsarten', 'wpsg'), array(
	'AMEX' => 'American Express',
	'BARPAY' => 'BarPay',
	'BOLETO' => 'Boleto',
	'CARTEBLEUE' => 'Carte Bleue',
	'CHINAUNIONPAY' => 'China UnionPay',
	'DANKORT' => 'Dankort',
	'DINERS' => 'Diners',
	'DIRECTDEBIT_SEPA' => 'Direct Debit Sepa',
	'DIRECTDEBIT_SEPA_MIX_DE' => 'Direct Debit Germany and Sepa',
	'DIRECTDEBIT_SEPA_MIX_AT' => 'Direct Debit Austria and Sepa',
	'DIRECTDEBIT_DE' => 'Direct Debit Germany',
	'DIRECTDEBIT_AT' => 'Direct Debit Austria',
	'DISCOVER' => 'Discover',
	'GIROPAY' => 'Giropay',
	'IDEAL' => 'iDeal',
	'INVOICE' => 'Invoice',
	'JCB' => 'JCB',
	'MAESTRO' => 'Maestro',
	'MASTER' => 'MasterCard',
	'PASTEANDPAY_V' => 'PasteAndPay',
	'PAYPAL' => 'PayPal',
	'POSTEPAY' => 'PostePay',
	'SOFORTUEBERWEISUNG' => 'sofort Überweisung',
	'UKASH' => 'Ukash',
	'VISA' => 'Visa',
	'VISADEBIT' => 'Visa Debit',
	'VISAELECTRON' => 'Visa Electron',
	'VPAY' => 'V PAY',
	'VSTATION_V' => 'Voucher Station',
	'AXESS' => 'AXESS',
	'BONUS' => 'Bonus',
	'MAXIMUM' => 'Maximum',
	'WORLD' => 'World',
	'CARDFINANS' => 'CardFinans',
	'ADVANTAGE' => 'Advantage',
	'QOOQO' => 'Qooqo',
	'KLARNA_INVOICE' => 'Klarna Invoice',
	'KLARNA_INSTALLMENTS' => 'Klarna Installments',
	'ASYACARD' => 'AsyaCard'
), @explode(' ', $this->get_option('wpsg_mod_flexipay_paymenttypes')), array('multiple' => '8', 'help' => 'wpsg_mod_flexipay_paymenttypes', 'hint' => __('STRG für Mehrfachauswahl', 'wpsg'))); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_name', __('Bezeichnung der Zahlungsart', 'wpsg'), $this->get_option('wpsg_mod_flexipay_name'), array('help' => 'wpsg_mod_flexipay_name')); ?>
<?php echo wpsg_drawForm_Textarea('wpsg_mod_flexipay_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_flexipay_hint'), array('help' => 'wpsg_mod_flexipay_hint')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_logo', __('Alternative Logo URL', 'wpsg'), $this->get_option('wpsg_mod_flexipay_logo'), array('help' => 'wpsg_mod_flexipay_logo')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_flexipay_language', __('Sprache', 'wpsg'), array(
	'auto' => __('Automatisch', 'wpsg'),
	'de' => __('Deutsch', 'wpsg'),
	'en' => __('Englisch', 'wpsg')
), $this->get_option('wpsg_mod_flexipay_language'), array('help' => 'wpsg_mod_flexipay_language')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_flexipay_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_flexipay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_flexipay_gebuehr')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_flexipay_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_flexipay_mwst')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_flexipay_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_flexipay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?>			
<br />

<?php echo wpsg_drawForm_Select('wpsg_mod_flexipay_successPage', __('Seite nach erfolgreicher Zahlung', 'wpsg'), $this->view['wpsg_mod_flexipay']['arPages'], $this->get_option('wpsg_mod_flexipay_successPage'), array('help' => 'wpsg_mod_flexipay_successPage')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_flexipay_errorPage', __('Seite nach fehlgeschlagener Zahlung', 'wpsg'), $this->view['wpsg_mod_flexipay']['arPages'], $this->get_option('wpsg_mod_flexipay_errorPage'), array('help' => 'wpsg_mod_flexipay_errorPage')); ?>
