' ; }); /*=====adding payment options=====*/ var paymentOptions_HTML = ''; paymentOptions.forEach(function(po, i){ paymentOptions_HTML+=''+po.text+''; }); /*=====adding customer addresses=====*/ var customer_addresses_HTML = ''; customer_addresses.forEach(function(address, i){ customer_addresses_HTML+='Address : '+address.city+' : '+address.address1+''; }); if(customer_addresses_HTML !=""){ var selectaddress = '