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
- Go to Products > Service Plan.
- Select any Service Plan and on the Subscription Periods tab, select a period to edit.
- Set the Cancellation Fee type to Custom and fill out the Fee field with the
,
symbol, for example,1,000
. - 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.