Author Topic: Invoice numbers are garbage  (Read 6203 times)

BillRayDrums

  • Beginner
  • *
  • Posts: 13
Invoice numbers are garbage
« on: November 05, 2010, 01:07:56 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2177
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Invoice numbers are garbage
« Reply #1 on: November 05, 2010, 01:35:19 am »
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.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

BillRayDrums

  • Beginner
  • *
  • Posts: 13
Re: Invoice numbers are garbage
« Reply #2 on: November 05, 2010, 03:34:35 am »
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?