Recurring Payment Based on Order Total

Contrib type: 
Code/CSS Snippet
Initial upload
Awaiting moderation


Ubercart 1.x

This code in a custom module will allow for recurring billing through based on order total.
The use case for this is recurring shippable physical goods. This will take into account things like coupons, taxes, discounts, and shipping. The use case would be a recurring physical good shipment like fruit of the month, flowers of the month, book of the month, or anthing you need to bill for and have the order total be the recurring fee.

function example_recurring_fee($order, $fee) {
$fee->fee_amount = $order->order_total;


uc_authorizenet_arb_create($order, $fee);
Related threads: 

yurtboy's picture
Joined: 01/22/2009
Juice: 25
Any status on this for 2.x

seems like uc_recurring does not include shipping?