Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Payment
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2012 at 15:20 UTC
Updated:
16 Oct 2012 at 17:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
rlmumfordHere's a patch that solves the immediate problem. I don't know if there should be a check that comes before this.
Comment #2
rszrama commentedWhen checking to ensure we have an order, I also like to load the order and ensure a valid order was returned in case the order ID no longer exists for some reason. I also noticed this code could be better optimized, though, so I shortened the function and changed the output of the "raw" display format to match the raw format for price fields.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/b3c349b