The token is set via javascript.
When the submit button is clicked, the card details are sent to Payeezy via javascript, and when the response comes back the token field is set and filled with the response. Then the form gets submitted to your server for processing. If the javascript encounters an error or fails to get a valid response then the token will not be present, hence the token error you're reporting.
The javascript will also fail to get a valid token if the necessary configuration values are invalid or missing.
Bookmarks