Using billing plugins

There is a howto on creating billing plugins called README.BILLING_PLUGINS in the main phpaga directory. Read that for details. You'll basically put a new php file into lib/bill/ and then select it in your "Sitewide Settings" so it will be the default. You can copy one of the existing ones in that directory, and edit it as appriate.