Missing argument in purchase_done_action caused fatal error

I have added this argument. 
Missing opening tag <?php made problem with showing page at official documentation
Merge pull request #106 from JakubKohout/patch-1

Missing argument in purchase_done_action caused fatal error
Merge branch '0.8'