Cancelled and canceled are two correct spellings of the past tense verb “to cancel.” However, AP style advises to use canceled, with one “l”, because this is common in American English.
It’s important to choose one and use it consistently. The QuillBot Grammar Checker can help you with this.