<form action="https://select.worldpay.com/wcc/purchase" method=POST>
                                                       <input type=hidden name="instId" value="$wid"><input type=hidden name="cartId" value="$template{'invoice_id'}"> 
                                                       <input type=hidden name="amount" value="$ammount"><input type=hidden name="currency" value="$cur"> 
                                                       <input type=hidden name="desc" value="$plan_name"><input type=hidden name="testMode" value="$wtest"> 
                                                       <input type=hidden name="name" value="$template{'fname'} $template{'lname'}"><input type=hidden name="address" value="$template{'address'}"><input type=hidden name="postcode" value="$template{'zip'}"><input type=hidden name="tel" value="$template{'phone'}"> 
                                                       <input type=hidden name="email" value="$template{'email'}"><br><br><div align=center> 
                                                       <input type=submit value="Complete Payment" class="forminput"> </div><br><br></form> 