Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Jun 2009 at 12:08 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jherencia commentedComment #2
jherencia commentedThis patch might fix this issue.
Comment #3
rszrama commentedComment #4
Rainman commentedThank You for this patch, fixed (same) issue using uc_coupon.
Comment #5
Rainman commentedWell it appeared working at first testing with coupons, but when processing without (using a coupon) it threw uc_order into a loop until it timed out. I did the following modify to fix that issue, it appears that
count($order->line_items)does not work as expected.Code replaced:
Replaced with:
Comment #6
tr commented#5 indicates that the patch doesn't work properly. Need a new patch and a review before this can move forward.
Comment #7
Rainman commentedIt's been so long I don't remember exactly what it was, but I found more situations that caused glitches with it too, so ended up removing the whole line item part.
What I have running now that does work is removed the whole conditional section starting at line 549 and replaced with
Cybersource is picky about line items. by only submitting the total, it never sees the details.. nor does it have a need to know in my case anyhow.
I suppose a more elegant solution than hacking all that out would be to have an option to only submit order total, I think I have seen that in other payment modules.
Comment #8
wodenx commentedPlease see #1321904: CyberSource Checkout fails with UC Coupon.
Comment #9
wodenx commentedHere is the patch from that issue - guess I need to post it here so it can be tested.
Comment #11
wodenx commented#9: 1321904-cybersource-negative-line-items.patch queued for re-testing.
Comment #12
wodenx commentedDunno why it failed before - didn't change anything, and the fail was in a totally unrelated area.
Comment #13
longwaveLooks okay to me, but needs confirmation from someone who uses CyberSource before commit.
Comment #14
wodenx commentedHad some confirmation in the uc_coupon queue at #1321904: CyberSource Checkout fails with UC Coupon #4.
Comment #15
longwaveCommitted to both branches.