Gets the order associated with the current page.
The getOrder()
function returns a Promise that is resolved when
the information about the order associated with the ThankYouPage
is
retrieved.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.