After adding a donation of any amount to my shopping cart, the authorize_net.module credit card payment page displays '1 order of Donation at $0.00 each'.
The translation of this string in the code (line 183) makes reference to $p->qty, $p->title but then uses $product->price. I changed this to $p->price and removed $product = product_load($p) on line 181 since $product is not referenced anywhere else.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | authorize.net_.patch | 1.04 KB | brmassa |
| authorize_net.module_0.patch | 984 bytes | zroger |
Comments
Comment #1
dtj commentedThis problem is also present in paypalpro payment module.
Comment #2
brmassa commentedi confirm the error on v4 and v3.
patch to v4 provided
Comment #3
brmassa commentedGuys,
fixed on eC4. eC3 still needs the patch. on eC4, the paypal module has been rewritten and the bug doesnt exits anymore.
regards,
massa
Comment #4
gordon commentedBack ported to 5.x-3.x-dev and 4.7.x-3.x-dev
Comment #5
(not verified) commented