Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4246 daniel 1
<?php
2
 
3
	/**
4
	 * Einstellungen für das Modul "CrefoPay"
5
	 */
6
 
7
?>
8
 
4280 daniel 9
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_crefopay_sandbox', __('Sandbox Modus', 'wpsg'), $this->get_option('wpsg_mod_crefopay_sandbox'), array('help' => 'wpsg_mod_crefopay_sandbox')); ?>
4246 daniel 10
<?php echo wpsg_drawForm_Input('wpsg_mod_crefopay_merchantID', __('Merchant ID', 'wpsg'), $this->get_option('wpsg_mod_crefopay_merchantID'), array('help' => 'wpsg_mod_crefopay_merchantID')); ?>
11
<?php echo wpsg_drawForm_Input('wpsg_mod_crefopay_shopID', __('Shop ID', 'wpsg'), $this->get_option('wpsg_mod_crefopay_shopID'), array('help' => 'wpsg_mod_crefopay_shopID')); ?>
12
<?php echo wpsg_drawForm_Input('wpsg_mod_crefopay_privateKey', __('Privater Schlüssel', 'wpsg'), $this->get_option('wpsg_mod_crefopay_privateKey'), array('help' => 'wpsg_mod_crefopay_privateKey')); ?>
4294 daniel 13
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_crefopay_autocapture', __('Autocapture (Nur fullcapture möglich / DIRECT)', 'wpsg'), $this->get_option('wpsg_mod_crefopay_autocapture'), array('help' => 'wpsg_mod_crefopay_autocapture')); ?>
14
<?php echo wpsg_drawForm_Select('wpsg_mod_crefopay_capturestatus', __('Bestellstatus für CAPTURE (Nur RETAIL)', 'wpsg'), $this->arStatus, $this->get_option('wpsg_mod_crefopay_capturestatus'), array('help' => 'wpsg_mod_crefopay_capturestatus')); ?>
4246 daniel 15
<?php echo wpsg_drawForm_Select('wpsg_mod_crefopay_riskclass', __('Risiko Klasse', 'wpsg'), array(
16
	'0' => __('Gering', 'wpsg'), // trusted transaction
17
	'1' => __('Normal', 'wpsg'), // default risk transaction
18
	'2' => __('Stark', 'wpsg') // high risk transaction
19
), $this->get_option('wpsg_mod_crefopay_riskclass'), array('help' => 'wpsg_mod_crefopay_riskclass')); ?>
20
<?php echo wpsg_drawForm_Input('wpsg_mod_crefopay_currency', __('Währungscode (Standard: EUR)', 'wpsg'), $this->get_option('wpsg_mod_crefopay_currency')); ?>
21
 
22
<br />
23
 
4295 daniel 24
<?php echo wpsg_drawForm_Input('wpsg_mod_crefopay_frameheight', __('Höhe des IFrames in px', 'wpsg'), $this->get_option('wpsg_mod_crefopay_frameheight'), array('help' => 'wpsg_mod_crefopay_frameheight')); ?>
4294 daniel 25
 
5922 hartmut 26
<?php echo wpsg_drawForm_Link('wpsg_mod_crefopay_link', __('MNS Statuswechsel', 'wpsg'),
27
		__('Bearbeiten', 'wpsg'), array('class' => 'wpsg_mod_crefopay_switchstatemapping')); ?>
28
 
4294 daniel 29
<div class="wpsg_mod_crefopay_mnsstatemapping">
30
	<?php foreach ($this->view['transactionMapping'] as $crefopay_status => $wpsg_status) { ?>
31
	<?php echo wpsg_drawForm_Select('wpsg_mod_crefopay_statemapping_'.$crefopay_status, __($wpsg_status[1], 'wpsg'), wpsg_array_merge(array('-1' => __('Kein Wechsel', 'wpsg')), $this->arStatus), $this->get_option('wpsg_mod_crefopay_statemapping_'.$crefopay_status)); ?>
32
	<?php } ?>
33
	<br />
34
</div>
35
 
36
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_crefopay_mns_notice', __('Kunden über Statuswechsel informieren', 'wpsg'), $this->get_option('wpsg_mod_crefopay_mns_notice'), array('labelright' => true)); ?>
37
 
38
<script type="text/javascript">/* <![CDATA[ */
39
 
40
	jQuery(document).ready(function() {
41
 
42
		jQuery('.wpsg_mod_crefopay_switchstatemapping').bind('click', function() {
43
 
44
			jQuery('.wpsg_mod_crefopay_mnsstatemapping').toggle();
45
 
46
			if (jQuery('.wpsg_mod_crefopay_mnsstatemapping').is(':visible')) jQuery(this).html('<?php echo __('Ausblenden', 'wpsg'); ?>');
47
			else jQuery(this).html('<?php echo __('Bearbeiten', 'wpsg'); ?>');
48
 
49
			return false;
50
 
51
		} );
52
 
53
	} );
54
 
55
/* ]]> */</script>
56
 
57
<br />
58
 
4352 daniel 59
<?php echo wpsg_drawForm_Input('', __('Redirect URL', 'wpsg'), $this->view['url']['redirect_url'], array('readonly' => true, 'nohspc' => true)); ?>
60
<?php echo wpsg_drawForm_Input('', __('Warenkorb URL', 'wpsg'), $this->view['url']['basket_url'], array('readonly' => true, 'nohspc' => true)); ?>
61
<?php echo wpsg_drawForm_Input('', __('AGB URL', 'wpsg'), $this->view['url']['agb_url'], array('readonly' => true, 'nohspc' => true)); ?>
62
<?php echo wpsg_drawForm_Input('', __('MNS URL', 'wpsg'), $this->view['url']['mns_url'], array('readonly' => true, 'nohspc' => true)); ?>
63
<?php echo wpsg_drawForm_Input('', __('Jump URL', 'wpsg'), $this->view['url']['jump_url'], array('readonly' => true, 'nohspc' => true)); ?>