Setup Square Application
From GLMWiki
Login to the square account.
Then goto https://connect.squareup.com/apps
Click on the Add new application and choose a name for the app like 'Online Payment Form'
Once the application is created it shows the production and sandbox info for it.