Guest Posted December 14, 2002 Posted December 14, 2002 Can you pass the product info with this? Currently I'm not receiving the product info with my orders, using osCommerce 2.2 with Bao Nguyen's November 10 'ADC Direct Response' contribution. x_Description => 'Your Products Description', Thanks - http://jimfrenchproductions.com
Guest Posted December 14, 2002 Posted December 14, 2002 I added the following code in authorizenet_direct.php to pass the order info. At the top add after: unset($form_data); // set x_PASSWORD to your authorizenet admin password!!! $xx = ''; for ($i=0; $i<sizeof($order->products); $i++) { $xx .= $order->products[$i]['qty'] . '-' . ($order->products[$i]['name']) . '**'; } then in the $form_data list change x_Description to x_Description => "$xx", works for us.....
besheer Posted February 11, 2003 Posted February 11, 2003 then in the $form_data list change x_Description to x_Description => "$xx", works for us..... Is this supposed to be x_Description => "$xx", or x_Description => '$xx', Thank you. Drive it like you stole it.
Guest Posted February 11, 2003 Posted February 11, 2003 we use the syntax above and it has been working for us for the past few months.....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.