@Marie ************
then in Chiang Mai you would need to transfer IN to the country in a thai bank account in your name only at least 800K baht.
You would need to go to the immigration office when you have at LEAST 21 days left on your current stamp and apply for an in country 90 day Non-O visa based on being over 50.
It costs 2000 baht and will go under consideration for 20 days. At the end of that time you go back, get a new 90 day entry stamp AND a Non-O visa inked into your passport.
THEN you wait until your money has been in the account for two months and you go back to the immigration office and apply for a year extension. It will be issued on the the day you apply.
Your first step is getting the money transferred in to a thai bank account in your name from overseas. When you apply for the initial 90 day Non-O visa there is no need to have the money in the account any amount of time (no seasoning), You only show it came from overseas.