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 have just upgraded to version 2.2 and when I complete an order the site message is displayed as
stdClass Object
(
[order_id] => 30094
[uid] => 1
[order_status] => completed
[order_total] => 6
[primary_email] =>
[delivery_first_name] =>
[delivery_last_name] =>
[delivery_phone] =>
[delivery_company] =>
[delivery_street1] =>
[delivery_street2] =>
[delivery_city] =>
[delivery_zone] => 0
[delivery_postal_code] =>
[delivery_country] => 826
[billing_first_name] => Marcus
[billing_last_name] =>
[billing_phone] =>
[billing_company] =>
[billing_street1] => 88
[billing_street2] =>
[billing_city] => Sheffield
[billing_zone] => 161
[billing_postal_code] => 412
[billing_country] => 826
[payment_method] => credit
[data] => Array
(
[cc_data] => 6Vr >n<;= y|;Z,NP%d6D4!Ue?V:NlR pAB<4w$p@MUB_>IFC+T?owUKMT9s%iujWAB(Wq$&P-xe 1258798826
[modified] => 1258798836
[eticket] => Array
(
[0] => stdClass Object
(
[order_product_id] => 587
[order_id] => 30094
[nid] => 1150
[title] => Shuffle & Club Pony presents Yuksek DJ Set + Joe & Will Ask? (Live) + Duke Dumont + Run Hide Survive + Up & Atom
[manufacturer] =>
[model] => plug-1150
[qty] => 1
[cost] => 0.00000
[price] => 5.00000
[weight] => 0
[data] => a:3:{s:9:"shippable";s:1:"0";s:1:"1";s:6:"module";s:10:"uc_product";}
[confirmed] => 1
)
)
[host] => 90.193.252.194
[product_count] => 1
[products] => Array
(
[0] => stdClass Object
(
[order_product_id] => 587
[order_id] => 30094
[nid] => 1150
[title] => Shuffle & Club Pony presents Yuksek DJ Set + Joe & Will Ask? (Live) + Duke Dumont + Run Hide Survive + Up & Atom
[manufacturer] =>
[model] => plug-1150
[qty] => 1
[cost] => 0.00000
[price] => 5.00000
[weight] => 0
[data] => Array
(
[shippable] => 0
[eticket] => 1
[module] => uc_product
)
[order_uid] => 1
)
)
[payment_details] => Array
(
[cc_number] => 0006
[cc_exp_month] => 1
[cc_exp_year] => 2028
[cc_type] => Visa
)
[line_items] => Array
(
[0] => Array
(
[line_item_id] => subtotal
[type] => subtotal
[title] => Subtotal
[amount] => 5
[weight] =>
[data] =>
)
[1] => Array
(
[line_item_id] => 256
[type] => fee
[title] => Booking Fee
[amount] => 1.00000
[weight] => 7
[data] =>
)
)
)
Comments
Comment #1
marcus178 CreditAttribution: marcus178 commentedIn addition this means I can't upgrade to the lastest version because of this problem and as this is a security update I could do with getting this resolved asap. Any suggestion as to way this is happening.
Comment #2
TR CreditAttribution: TR commentedI don't know if you ever figured this out, but what you're seeing is apparently the output from a print_r($order). That isn't being done in Ubercart core, and no-one else has mentioned a similar problem when upgrading to 2.2, so I suspect it's either a contributed module or something you put in yourself to help debugging (then forgot about).
Comment #3
marcus178 CreditAttribution: marcus178 commentedYes you are right, no idea what it was, as it was on my test site, but got it working now.