Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
o = "<li><label for="payment-cc">Credit Card #<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCard" id="payment-cc" name="payment.cc" size="20" type="text"><\/li>";
o += "</label></li><li><label>Expiration<\/label><select class="creditCardMonthExp" id="payment-mm" name="payment.mm"><option><\/option>";
o += myControl.util.getCCExpMonths(myControl.data.cartItemsList.cart['payment.mm']);
o += "<\/select>";
o += "</option></select><option value=""><\/option>"+myControl.util.getCCExpYears(myControl.data.cartItemsList.cart['payment.yy'])+"<\/select><\/li>";
o += "</option></label></li><li><label for="payment.cv">CVV/CID<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCardCVV" id="payment-cv" name="payment.cv" size="8" type="text"> <span class="ui-icon ui-icon-help"></span><\/li>";
break;
case 'PO':
o = "</label></li><li><label for="payment-po">PO #<\/label><input low="" is="" in="" value="";
if(myControl.data.cartItemsList.cart[" class="purchaseOrder" id="payment-po" name="payment.po" size="2" type="text">"+myControl.ext.convertSessionToOrder.vars.echeck[key]+"<\/label><input value="";
if(myControl.data.cartItemsList.cart[key])
o += myControl.data.cartItemsList.cart[key];
o += "" class="echeck" id=""+safeid+"" name=""+key+"" size="2" type="text"><\/li>";
}
break;
default:
//no supplemental material is present. hide it so no styling shows up. add bottom corners to payment method for consistency (with shipping). corners added on supplemental, when present.
$('#payby_'+paymentID+' .paycon').addClass('ui-corner-bottom');</label></li>
case 'CREDIT':
o = "<li><label for="payment-cc">Credit Card #<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCard" id="payment-cc" name="payment.cc" size="20" type="text"><\/li>";
o += "</label></li><li><label>Expiration<\/label><select class="creditCardMonthExp" id="payment-mm" name="payment.mm"><option><\/option>";
o += myControl.util.getCCExpMonths(myControl.data.cartItemsList.cart['payment.mm']);
o += "<\/select>";
o += "</option></select><option value=""><\/option>"+myControl.util.getCCExpYears(myControl.data.cartItemsList.cart['payment.yy'])+"<\/select><\/li>";
o += "</option></label></li><li><label for="payment.cv">CVV/CID<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCardCVV" id="payment-cv" name="payment.cv" size="8" type="text"> <span class="ui-icon ui-icon-help"></span><\/li>";
break;
case 'PO':
o = "</label></li><li><label for="payment-po">PO #<\/label><input low="" is="" in="" value="";
if(myControl.data.cartItemsList.cart[" class="purchaseOrder" id="payment-po" name="payment.po" size="2" type="text">"+myControl.ext.convertSessionToOrder.vars.echeck[key]+"<\/label><input value="";
if(myControl.data.cartItemsList.cart[key])
o += myControl.data.cartItemsList.cart[key];
o += "" class="echeck" id=""+safeid+"" name=""+key+"" size="2" type="text"><\/li>";
}
break;
default:
//no supplemental material is present. hide it so no styling shows up. add bottom corners to payment method for consistency (with shipping). corners added on supplemental, when present.</label></li>
o = "<li><label for="payment-cc">Credit Card #<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCard" id="payment-cc" name="payment.cc" size="20" type="text"><\/li>";
o += "</label></li><li><label>Expiration<\/label><select class="creditCardMonthExp" id="payment-mm" name="payment.mm"><option><\/option>";
o += myControl.util.getCCExpMonths(myControl.data.cartItemsList.cart['payment.mm']);
o += "<\/select>";
o += "</option></select><option value=""><\/option>"+myControl.util.getCCExpYears(myControl.data.cartItemsList.cart['payment.yy'])+"<\/select><\/li>";
o += "</option></label></li><li><label for="payment.cv">CVV/CID<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCardCVV" id="payment-cv" name="payment.cv" size="8" type="text"> <span class="ui-icon ui-icon-help"></span><\/li>";
break;
case 'PO':
o = "</label></li><li><label for="payment-po">PO #<\/label><input low="" is="" in="" value="";
if(myControl.data.cartItemsList.cart[" class="purchaseOrder" id="payment-po" name="payment.po" size="2" type="text">"+myControl.ext.convertSessionToOrder.vars.echeck[key]+"<\/label><input value="";
if(myControl.data.cartItemsList.cart[key])
o += myControl.data.cartItemsList.cart[key];
o += "" class="echeck" id=""+safeid+"" name=""+key+"" size="2" type="text"><\/li>";
}
break;
default:
//no supplemental material is present. hide it so no styling shows up. add bottom corners to payment method for consistency (with shipping). corners added on supplemental, when present.
$('#payby_'+paymentID+' .paycon').addClass('ui-corner-bottom');</label></li>
case 'CREDIT':
o = "<li><label for="payment-cc">Credit Card #<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCard" id="payment-cc" name="payment.cc" size="20" type="text"><\/li>";
o += "</label></li><li><label>Expiration<\/label><select class="creditCardMonthExp" id="payment-mm" name="payment.mm"><option><\/option>";
o += myControl.util.getCCExpMonths(myControl.data.cartItemsList.cart['payment.mm']);
o += "<\/select>";
o += "</option></select><option value=""><\/option>"+myControl.util.getCCExpYears(myControl.data.cartItemsList.cart['payment.yy'])+"<\/select><\/li>";
o += "</option></label></li><li><label for="payment.cv">CVV/CID<\/label><input value="";
if(myControl.ext.convertSessionToOrder.vars[" class="creditCardCVV" id="payment-cv" name="payment.cv" size="8" type="text"> <span class="ui-icon ui-icon-help"></span><\/li>";
break;
case 'PO':
o = "</label></li><li><label for="payment-po">PO #<\/label><input low="" is="" in="" value="";
if(myControl.data.cartItemsList.cart[" class="purchaseOrder" id="payment-po" name="payment.po" size="2" type="text">"+myControl.ext.convertSessionToOrder.vars.echeck[key]+"<\/label><input value="";
if(myControl.data.cartItemsList.cart[key])
o += myControl.data.cartItemsList.cart[key];
o += "" class="echeck" id=""+safeid+"" name=""+key+"" size="2" type="text"><\/li>";
}
break;
default:
//no supplemental material is present. hide it so no styling shows up. add bottom corners to payment method for consistency (with shipping). corners added on supplemental, when present.</label></li>