If you require a tourist visa to enter Jordan and are planning to visit Petra, you should consider purchising a Jordan Pass before you arrive in the country. The Jordan Pass costs between 70 JD and 80 JD and lets you enter over 40 attractions across Jordan, including Wadi Rum. Most importantly, it waives the tourist visa fee (40 JD) and includes a visit to Petra (50JD+). Even if you are only planning to visit Petra and Wadi Rum, the Jordan Pass will save you 25 JD. Read more about the Jordan Pass here.