I get the following error when trying to checkout with authorize.net on the order complete page.

Notice: Undefined property: stdClass::$total_amount in uc_recurring_authorizenet_cim_process() (line 61 of /home/nuesol/public_html/drupal.com/sites/all/modules/uc_recurring/includes/uc_recurring.uc_authorizenet.inc).

Also my roles are not being assigned after purchasing the product.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

funkeyrandy’s picture

same here....anyone?

emilymoi’s picture

Subscriptions do not work in the current 7.x alpha version because the subscription rules are not working.

See these for more info:

#992252: uc_recurring Drupal 7 port
#1042262: Port uc_recurring to Rules instead of CA

Xomby’s picture

DigitalFrontiersMedia’s picture

Status: Active » Needs review
FileSize
570 bytes

I believe claney already copied you that there appears to be a patch available re: #1042262: Port uc_recurring to Rules instead of CA. With regard to the "undefined property" error you're receiving, I think this just an instance of a minor error. I currently don't have any UC3 dev sites up to test this, but I believe the problem can be fixed by changing Line 61 of /includes/uc_recurring.uc_authorizenet.inc from

    return uc_authorizenet_charge($order->order_id, $order->total_amount, $data);

to

    return uc_authorizenet_charge($order->order_id, $order->order_total, $data);

I've attached a patch for this. Let us know if this solves the issue for you.

[Edit: Note--this has not been tested.]

InvincibleCreative’s picture

Status: Needs review » Fixed

Thanks DigitalFrontiersMedia the error is no longer occurring.

Status: Fixed » Closed (fixed)

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

tinker’s picture

Status: Closed (fixed) » Reviewed & tested by the community

This was incorrectly marked as fixed. The faulty code still exists in dev. Confirmed that patch in #4 has been tested, fixes the problem correctly, and should be committed.

univate’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

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