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

function HideAllPaymentButtons(){
  $('.TShopShippingGroup .TShopPaymentMethod input:submit').hide();
}

function SetSubmitToInputButtonForAllPayments(){
  $('.TShopStepShipping input:button').click(function(){
    $('.TShopShippingGroup input:radio:checked').parent('.radioButton ').parent('.user-input').children('.paymenthandler').children("form:first").submit();
    return false;
  });
}
