Try the RIGHT SQL function: http://technet.microsoft.com/en-us/library/ms177532.aspx
(But the resulting code will not be unique)
Try removing the space : [Order:PayType]
(But the resulting code will not be unique)
Try removing the space : [Order:PayType]