ThankYouPage getOrder() not working

there is new feature was release 2 weeks ago.
i’m trying to make it work but its not working as it should

the new getOrder feature:


the error i getting:


did someone test this new feature?