$(document).ready(function() {
	
	
	
});

function checkout(form)
{
	$.get('/ajax/ajax_checkout.php', function(resp){
		
		// Allways send the form to payment provider, if fails 'error' will be sent as order id	
		$(form).find('.merchant_order_id').val(resp);
		form.submit();
	});
}

