Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | uc_recurring-uc_authorizenet-inc-undefined-property-1355396-4.patch | 570 bytes | DigitalFrontiersMedia |
Comments
Comment #1
funkeyrandy CreditAttribution: funkeyrandy commentedsame here....anyone?
Comment #2
emilymoi CreditAttribution: emilymoi commentedSubscriptions 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
Comment #3
Xomby CreditAttribution: Xomby commentedCheck out #1042262: Port uc_recurring to Rules instead of CA for progress (I hope)
Comment #4
DigitalFrontiersMediaI 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
to
I've attached a patch for this. Let us know if this solves the issue for you.
[Edit: Note--this has not been tested.]
Comment #5
InvincibleCreative CreditAttribution: InvincibleCreative commentedThanks DigitalFrontiersMedia the error is no longer occurring.
Comment #7
tinker CreditAttribution: tinker commentedThis 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.
Comment #8
univate CreditAttribution: univate commentedCommitted.