I'm totaling Ubercart orders grouped by credit card type (VISA, MC, etc). Given the order id, I can
1. load the order object using
2. and use
$order_obj->payment_details['cc_type'] to get the card type.
However, my query is resulting in a long list of order_ids, so I'd be loading a lot of order objects.
My page hangs when my query returns more than around 10 order ids, showing only
The service is temporarily unavailable. Please try again later.
Which goes away when I comment out the object loading.
So I'm guessing I have too many order objects loaded. I tried using the reset argument to uc_order_load, but saw no effect. I've seen this before with custom objects. So how do I manage this load of objects, please?