title: Worldpay Token Confusion
body: <p>Trying to implement Worldpay integration. The docs at <a href="https://online.worldpay.com/docs/take-card-details-templates" rel="nofollow">https://online.worldpay.com/docs/take-card-details-templates</a> mention a token. I have tested the page and I dont get any token. Wandering how i can get this token. </p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="payment2.aspx.cs" Inherits="payment2" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;script src= "https://cdn.worldpay.com/v1/worldpay.js"&gt;
        &lt;/script&gt;        
  
        &lt;script type='text/javascript'&gt;
            window.onload = function () {
                Worldpay.setClientKey('T_C_a453a70e-c5e6-4618-9c7b-96f787f0fa04');
                Worldpay.reusable = false;
                Worldpay.useTemplate('payment-form', 'my_payment_section', 'inline');
            }
        &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
       &lt;form action="/complete" id="payment-form" method="post"&gt;     
  
        &lt;!— all other fields you want to collect, e.g. name
          and shipping address --&gt;  
  
        &lt;div id='my_payment_section'&gt;&lt;/div&gt;
  
        &lt;div&gt;
            &lt;input type="submit" value="Place Order" /&gt;
        &lt;/div&gt;
  
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>