Friday, July 12, 2019

Resolve Internal Error in Reference Checkout when Credit Card Number is Entered with Spaces

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
3. Remove

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.

No comments:

Post a Comment