Hello. I can knock this out for you, have used CCBill on one site before and similar systems (PayPal IPN for example) on many others.
The documentation seems explanatory enough.
Let me know if you want to see some of my projects or have any questions!
(I'm Swedish, account shows Thailand because I live here ;))