News:

Looking for documentation? Take a look on our wiki

Main Menu

Invoice numbers are garbage

Started by BillRayDrums, November 05, 2010, 01:07:56 AM

Previous topic - Next topic

BillRayDrums

Hello Virtumartists

My client is getting random garbage for invoice numbers; can you help me figure out how to make them more normal?

This is the page info returned:

Thank you for your order!

Order Information

Merchant:
Surf Camera
Description:
Purchase Order

Invoice Number:
-257_52f101bda6d3f3d
Customer ID:
-257
PO Number:
-257_52f101bda6d3f3d
Tax Exempt:
No

Thanks!

Jörgen

Hello

This number is the number sent to Your payment gateway. You should look into the code for Your payment gateway. The "normal" ordernumber is an integer stored in $order_id.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

BillRayDrums

So how would I change that to the order number? I'm a rookie code person, but a quick learner. "I know enough to be dangerous" my php buddy says.

Can you point me in a more specific direction?