Payment System that supports PHP Callbacks

Hi all,

I've been looking recently for a payment system add-on for XenForo which allows me to run PHP code when the payment is completed, specifically I would like to execute a MySQL statement but all I really need is to be able to run PHP on a successful purchase.

If you know any add-ons which support this, I would be much appreciated if you can direct me to it