When trying to set a Cancellation Fee of a Subscription period in a Service plan, the error appears:

Incorrect Cancellation Fee formula. Unexpected character ',' after '1' at position 1

Symptoms

  1. Go to Products > Service Plan.
  2. Select any Service Plan and on the Subscription Periods tab, select a period to edit.
  3. Set the Cancellation Fee type to Custom and fill out the Fee field with the , symbol, for example, 1,000.
  4. After clicking Save the above-mentioned error occurs.

Cause

Billing does not analyze regional settings to treat possible separators.

Resolution

When setting the fee amount, always use a dot as separator (not comma) regardless of the current user’s locale.

Internal content