I have gone through the posts listed at the bottom. Using some help from those topics and code listed I tried to setup a hook that fires the Facebook purchase pixel event. I want it to output the Facebook purchase event if ispaid=true on the ShoppingCartCheckoutCompletePage hook. I just amended @brian!'s code from one of the posts. The code is as listed as follows, but it does not work. Any ideas?
<?php
# Facebook Pixel Output Hook
# Written by brian!
function facebook_pixel_hook_purch