VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Payment Modules => Topic started by: mixrecords on March 14, 2006, 20:12:25 PM

Title: Send order_id rather than order_number to Authorize.net?
Post by: mixrecords on March 14, 2006, 20:12:25 PM
I've been having quite the time trying to get the order_id to be sent to Authorize.net in place of the order_number, and can't seem to get it. 

            // Invoice Information
            'x_invoice_num' => substr($d['order_number'], 0, 20),
            'x_description' => '',


This seems the most logical place it would be changed, but I'm not having any luck.  I'm not a coder at all, just a designer.

Any ideas?  Basically, the order_number is just too long and irrelevant to be sent to Authorize, the client wants to see the actual order_id which is created by Virtuemart.

Thanks,

B
Title: Re: Send order_id rather than order_number to Authorize.net?
Post by: osmosisinc on December 17, 2009, 17:11:34 PM
Having the same issue. This issue is all over the boards and the only solution posted doesnt work....
Title: Re: Send order_id rather than order_number to Authorize.net?
Post by: razor7 on July 13, 2010, 19:28:30 PM
How about this $db->f("order_id")