vpClient.addMethods({
	 initPayment : function(){
	 	// get payment-buttons;
	 	this.validateForm();
	 	var paymentButtons = document.getElementsByClassName('paymentButton');
	 	$A(paymentButtons).each(
	 		(function(elem){
		 		this.addEvent(elem, 'click', this.startPayment.bind(this));
	 		}).bind(this)
	 	)
	 },
	 
	 startPayment : function(event){
	 	// store basket as new order:
	 	this.deliveryInfo.set('deliveryCosts', this.deliveryCosts);
	 	this.shopObj.setOrderVariables(this.deliveryInfo);
	 	this.shopObj.storeOrder(event);
	 }
});