If all you need is the MOFA stamp, it is 20 QR per education document, payable only by credit card (debit card may also be acceptable, but I am not sure). Other than the main office of the MOFA in the Diplomatic area, you can use a few other offices for attestation. I used the the Mesaimeer Passport & Immigration Office, which has morning and afternoon/evening hours (about a 45-minute wait each time):

https://www.google.com.qa/maps/place/Mesaimeer+Passport+%26+Immigration+...@25.234814,51.509429,17z/data=!3m1!4b1!4m2!3m1!1s0x3e45d0222f7f8b5f:0x4a9580276ede507d