Calling a script when purchasing account upgrades


Is there an option to call a script when someone purchases an account upgrade? I know this isn't in the core but I couldn't seem to find any plugins that offer this.

Anyone know?

Basically, when someone buys an account upgrade, I want xF to call a script which allows me to send data to another database.