JSFiddle - React, Tailwind, and code Playground

HTML

<div class="payment_processor-section">
 <input id="input_0" class="form-radio" type="radio" checked="checked"  name="payment_processor" value="1">
 <label for="input_0">Credit Card</label>
 <input id="input_1" class="form-radio" type="radio" name="payment_processor" value="0">
 <label for="input_1" style="">I will send payment by check</label>
</div>

CSS

.abc{
    padding:12px;
    border: 1px solid #ccc;
    display:inline-block;
}

JavaScript

$('.payment_processor-section input').map(function(index){
 $(this).add($("label[for='"+this.id+"']")).wrapAll('<div class="abc">');
});