Applicable to the following version:
Reference Checkout 2.01 (Bundle 41420)
Reference Checkout 2.02 (Bundle 49333)
In Reference Checkout, an Internal Error is generated when a shopper tries to enter a Credit Card number with spaces. To resolve this issue:
1. Copy CreditCard.Views.js from the Reference Checkout folder to the Custom Checkout folder in a similar path: Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - Checkout > Reference Checkout > js > src > app > modules > CreditCard
2. Edit Credit Card.Views.js
and replace it with
The replaced line in the script removes the spaces in the field as soon as the shopper moves to the next field in checkout.
4. Save the file.