Since it’s a medical necessity, she can use the spray. However, if the spray goes directly into the lungs, the fast is valid. If some of it swallowed down the esophagus then she breaks her fast and makes it up after the month of Ramadhan. She does not need to pay any Kaffara