Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 7032 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5261 Rev 5382
Line 39... Line 39...
39
		<h2><?php echo __('Zahlungsarten', 'wpsg'); ?></h2>
39
		<h2><?php echo __('Zahlungsarten', 'wpsg'); ?></h2>
40
					
40
					
41
		<div id="wpsg_ppplus"></div>
41
		<div id="wpsg_ppplus"></div>
42
		
42
		
43
		<?php if (wpsg_isSizedString($this->view['wpsg_mod_paypalapi']['error'])) { ?>
43
		<?php if (wpsg_isSizedString($this->view['wpsg_mod_paypalapi']['error'])) { ?>
44
		<div id="wpsg_error" class="published error">
44
		<div id="wpsg_notice" class="published error">
45
			<p><?php echo $this->view['wpsg_mod_paypalapi']['error']; ?>
45
			<p><?php echo $this->view['wpsg_mod_paypalapi']['error']; ?>
46
		</div>		
46
		</div>		
47
		<?php } ?>
47
		<?php } ?>
48
	    
48
	    
49
	</div>
49
	</div>
50
	           
50
	         
-
 
51
	<iframe name="wpsg_hiddenTarget" style="display:none; width:0px; height:0px;"></iframe>  
51
	<script type="application/javascript">/* <![CDATA[ */
52
	<script type="application/javascript">/* <![CDATA[ */
-
 
53
 
-
 
54
		function wpsg_ppp_handleError()
-
 
55
		{
-
 
56
			
-
 
57
			location.href = '<?php echo $this->getUrl(wpsg_ShopController::URL_CHECKOUT); ?>';
-
 
58
			
-
 
59
		}
-
 
60
 
-
 
61
		function wpsg_ppp_run()
-
 
62
		{
-
 
63
 
-
 
64
			PAYPAL.apps.PPP.doCheckout();
-
 
65
 
-
 
66
		}
52
	
67
	
53
		var wpsg_mod_paypalapi_shipping_id = '<?php echo wpsg_getStr($this->view['basket']['checkout']['shipping']); ?>';
68
		var wpsg_mod_paypalapi_shipping_id = '<?php echo wpsg_getStr($this->view['basket']['checkout']['shipping']); ?>';
54
		
69
		
55
		jQuery(document).ready(function() {
70
		jQuery(document).ready(function() {
56
		
71
		
Line 76... Line 91...
76
		function wpsg_mod_paypalapi_load()
91
		function wpsg_mod_paypalapi_load()
77
		{
92
		{
78
	
93
	
79
			jQuery('input[name="wpsg_checkout2"], input[name="wpsg_checkout"]').show().bind('click', function() {
94
			jQuery('input[name="wpsg_checkout2"], input[name="wpsg_checkout"]').show().bind('click', function() {
80
	
95
	
81
				var test = ppp.doContinue();			
96
				PAYPAL.apps.PPP.doCheckout();
82
				return false;
97
				return false;
83
				
98
				
84
			} );
99
			} );
85
		
100
		
86
		}	
101
		}