Question: type nmtoken must be a name token?
Answer: Attribute value "" of type NMTOKEN must be a name token This is caused by disabling of the credit card storage function. The resolution is to UNtick the following options on the Setup > General Settings > Security tab: Allow Client CC Removal. Disable Credit Card Storage.