News:

Support the VirtueMart project and become a member

Main Menu

order number from 2CO

Started by John Sawatdee, July 05, 2008, 17:02:11 PM

Previous topic - Next topic

John Sawatdee

I have been testing the store (1.1.1) with the 2checkout option in demo mode. Everything seems to go well but when I received the email back from 2CO I don't get a proper order number. It is like a long code. Which means I cannot match it up with the order email I receive.

Has anyone being able to use 2CO with the latest version of Virtuemart?

rossi256

i got the same problem - anybody has a solution yet?

rossi256

when i get orders through 2checkout - it says cart number: user-id followed by a _ and a lot of numbers

John Sawatdee

To answer my own question.....

In config, look for...

    'x_invoice_num' => $db->f("order_number"),

and change to .....

    'x_invoice_num' => $db->f("order_id"),

That worked for.

Ruppert

Quote from: John Sawatdee on July 17, 2008, 17:55:10 PM
    'x_invoice_num' => $db->f("order_number"),
and change to .....
    'x_invoice_num' => $db->f("order_id"),

Won't that cause a problem when 2Checkout.com calls your http://www.yoursitename.com/2checkout_notify.php to confirm the order. It will probably send the order_id back to VM to identify the order, and maybe it actually needs the order_number instead. Would have to check the code to be sure.

Does the order confirmation work for you?
Ruppert.

________________________
VM 1.1.3
Joomla 1.5.9

fly-line

Hi
I have the same problem! Anyone tried the solutuin over and can confirm that it works? The confirmation from 2checkout looks like Sh*** whith all the random numbers...

Michele


Did anyone find a solution to replace that loooooong number?

It looks terrible and confuses the buyer!  ???