This error is being encountered when:
- Process a Sales Order generated from Web Store
- Sales Order is billed via Transactions > Sales > Bill Sales Order.
- Customer record have both:
- Term assigned in the Financial > Terms field.
- Credit Card number assigned under Financial > Credit Cards and Default Credit Card = T
For customers who offer the options to use either Credit Card or Terms/Invoices as payment method during checkout. Ensure that the form assigned for Invoice Form field under Setup > Site Builder > Set up Web Site > Shopping subtab, is not the same with the Credit Card Form. Use or customize an Invoice Form not a Cash Sale Form.