#1 (permalink)  
Alt 10.07.2006, 15:29
Erfahrener Benutzer
 
Registriert seit: 12.12.2004
Beiträge: 247
Standard

Hallo,

ich habe XTC installiert und wollte nun, nach dem ich einige Artikel angelegt habe, auch eine Testbestellung machen. Der komplette Bestellvorgang funktioniert auch, jedoch wenn ich die Bestellung absende kommt folgende Meldung:

Code:
Fatal error: Cannot use object of type order as array in /home/httpd/docs/example_de/checkout_process.php on line 106
Im Script steht folgendes:

Code:
'customers_status' => $order['status'],
Hier der gesamte Abschnitt:

Code:
if ($_SESSION['credit_covers']!='1') {
$sql_data_array = array('customers_id' => $_SESSION['customer_id'],
'customers_name' => $order->customer['firstname'] . ' ' . $order->customer['lastname'],
'customers_cid' => $order->customer['csID'],
'customers_company' => $order->customer['company'],
'customers_status' => $order['status'], 
'customers_status_name' => $_SESSION['customers_status']['customers_status_name'],
'customers_status_image' => $order['status_image'],
'customers_status_discount' => $discount,
'customers_status' => $customer_status_value['customers_status'],
'customers_street_address' => $order->customer['street_address'],
'customers_suburb' => $order->customer['suburb'],
'customers_city' => $order->customer['city'],
'customers_postcode' => $order->customer['postcode'],
'customers_state' => $order->customer['state'],
'customers_country' => $order->customer['country']['title'],
'customers_telephone' => $order->customer['telephone'],
'customers_email_address' => $order->customer['email_address'],
'customers_address_format_id' => $order->customer['format_id'],
'delivery_name' => $order->delivery['firstname'] . ' ' . $order->delivery['lastname'],
'delivery_firstname' => $order->delivery['firstname'],
'delivery_lastname' => $order->delivery['lastname'],
'delivery_company' => $order->delivery['company'],
'delivery_street_address' => $order->delivery['street_address'],
'delivery_suburb' => $order->delivery['suburb'],
'delivery_city' => $order->delivery['city'],
'delivery_postcode' => $order->delivery['postcode'],
'delivery_state' => $order->delivery['state'],
'delivery_country' => $order->delivery['country']['title'],
'delivery_country_iso_code_2' => $order->delivery['country']['iso_code_2'],
'delivery_address_format_id' => $order->delivery['format_id'],
'billing_name' => $order->billing['firstname'] . ' ' . $order->billing['lastname'],
'billing_firstname' => $order->billing['firstname'],
'billing_lastname' => $order->billing['lastname'], 
'billing_company' => $order->billing['company'],
'billing_street_address' => $order->billing['street_address'],
'billing_suburb' => $order->billing['suburb'],
'billing_city' => $order->billing['city'],
'billing_postcode' => $order->billing['postcode'],
'billing_state' => $order->billing['state'],
'billing_country' => $order->billing['country']['title'],

'billing_address_format_id' => $order->billing['format_id'],
'payment_method' => $order->info['payment_method'],
'payment_class' => $order->info['payment_class'],
'shipping_method' => $order->info['shipping_method'],
'shipping_class' => $order->info['shipping_class'],
'billing_country_iso_code_2' => $order->billing['country']['iso_code_2'], 
'cc_type' => $order->info['cc_type'],
'cc_owner' => $order->info['cc_owner'],
'cc_number' => $order->info['cc_number'],
'cc_expires' => $order->info['cc_expires'],
 // BMC CC Mod Start
'cc_start' => $order->info['cc_start'],
'cc_cvv' => $order->info['cc_cvv'],
'cc_issue' => $order->info['cc_issue'],
// BMC CC Mod End
'date_purchased' => 'now()',
'orders_status' => $order->info['order_status'],
'currency' => $order->info['currency'],
'currency_value' => $order->info['currency_value'],
'customers_ip' =>$_SERVER['REMOTE_ADDR'],
'language'=>$_SESSION['language'],
'comments' => $order->info['comments']);
 } else {
Vielen Dank f?r Eure Hilfe!

Gru? Bj?rn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
abgesendeter, bestellung, fehler

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 10:39 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand