Subversion Repositories wpShopGermany4

Rev

Rev 7317 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7317 Rev 8040
Line 17... Line 17...
17
		"onContinue": function(event) {
17
		"onContinue": function(event) {
18
			
18
			
19
			jQuery('#wpsg_basket_form').attr('target', 'wpsg_hiddenTarget');
19
			jQuery('#wpsg_basket_form').attr('target', 'wpsg_hiddenTarget');
20
			jQuery('#wpsg_basket_form').append('<input name="wpsg_checkout" value="ppp" id="wpsg_hidden_action" />');
20
			jQuery('#wpsg_basket_form').append('<input name="wpsg_checkout" value="ppp" id="wpsg_hidden_action" />');
21
			jQuery('#wpsg_basket_form').append('<input name="wpsg[checkout][payment]" value="ppp" id="wpsg_hidden_payment" />');
21
			jQuery('#wpsg_basket_form').append('<input name="wpsg[checkout][payment]" value="ppp" id="wpsg_hidden_payment" />');
22
			jQuery('#wpsg_basket_form').submit();
22
			jQuery('#wpsg_basket_form').trigger('submit');
23
			jQuery('#wpsg_basket_form').removeAttr('target');
23
			jQuery('#wpsg_basket_form').removeAttr('target');
24
			jQuery('#wpsg_hidden_action').remove();
24
			jQuery('#wpsg_hidden_action').remove();
25
			jQuery('#wpsg_hidden_payment').remove();
25
			jQuery('#wpsg_hidden_payment').remove();
26
			
26
			
27
			//PAYPAL.apps.PPP.doCheckout();
27
			//PAYPAL.apps.PPP.doCheckout();