If I create a recurring fee for a product, say a user fee for an online service, and the customer wants to purchase access for 3 users, changing the quantity of that product doesn't update the recurring charges. If a single user fee is $25 and the user purchases 3 ($75), the recurring fee is still shown as only $25 (PayPal Pro). This issue becomes critical when a user wishes to purchase access for 12 or 15 users -- asking them enter each one individually is asking a lot.

Thank you.

-- Marcel

CommentFileSizeAuthor
#7 uc_recurring-675084-7.patch1.47 KBunivate

Comments

trevorwh’s picture

I'm not sure if this is currently supported by either recurring gateway, but I agree it is a valuable/necessary feature.

Does anyone have any input on how this should be accomplished? Should we just pull the product qty from the order?

This should also probably be independent of the gateway, which means it should be set in the fee amount upstream of the gateways.

Open to suggestions and I'll create the patch.

wftl’s picture

Hello trevorwh,

Interesting that the gateways (e.g. PayPal) don't support this. Seems like a massive oversight for recurring fees. Nevertheless, modifying the recurring fee upstream -- telling PayPal that the recurring fee is $75 for the 3 quantity rather than $25 three times -- seems like the correct approach to me.

-- Marcel

virtualdrupal’s picture

Subscribing..

Does Authorize.net CIM have this same issue?

univate’s picture

We just need a small patch to the uc_recurring order process function to include the quantity in calculating the recurring fee amount.

Willing to accept a patch.

jday’s picture

would changing line 492 work?

$fee->fee_amount = $product_fee->fee_amount == 0 ? ($product['product']->price * $product['product']->qty) : $product_fee->fee_amount;

still missing the shipping cost though

univate’s picture

Category: bug » feature
Priority: Critical » Normal

Something like that is start, although I would also suggest either changing the fee title to show a quantity or store this information in the data field so that on renewal it can be extracted and used in the renewal order and have the invoice actually show quantity properly.

The shipping seems to be related to this issue: #648098: Renewed orders have no line items (e.g. taxes, shipping)

univate’s picture

Status: Active » Needs review
StatusFileSize
new1.47 KB

something like this?

univate’s picture

Status: Needs review » Fixed

Ok committed this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.