Hi,
You can go in the menu System>Payment methods, edit your payment methods, and enter the URL you want as thank you page in the "return URL" parameter.
Otherwise, fi you want to customize the default thank you page, you can edit the file "after_end" via the menu Display>Views.