Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Authorize.net x_Description => 'Your Products Description


Guest

Recommended Posts

Posted

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

Posted

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.....

  • 1 month later...
Posted
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.

Posted

we use the syntax above and it has been working for us for the past few months.....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...