Is there a way to import non-subscription billing charges to be included in the monthly billing process? For instance, a client is billed x every month for their subscription, but they have also chosen to use a separate service that cannot be charged for in advance, so they must be billed for it after the fact. The system is already in place to accrue those charges, and that data could be automatically imported into the aMember database. So now I just have to figure out how to bill it. As I see it, these are my options: Option 1: Include it in their next monthly billing cycle to be charged automatically Option 2: Bill it outside of aMember, with all of the increased overhead that would entail I realize there is likely nothing off the shelf, but wonder if anyone has built a way to accomplish anything like this...
You already have your cc# in amember, right? I have a script that does something similar and I just run these billable amounts as a separate charge. I set up a dummy product in the amember system that I use for recording the payments. So I query the db for the payment info (which customers, the amounts, etc.), then I set up a payment using the add_waiting_payment() function, using the fake product id and a begin/expire date of the processing day. Then I process it using the cc_bill() function. It's basically the same as /amember/plugins/payment/cc_core/cc_core.inc.php function cc_core rebill, I'm just defining the payment amounts and using a dummy product_id.