VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Double numbering orders for one order

Double numbering orders for one order 27 Dec 2017 12:05 #1

Hi,

When create new order your plugin crate double order number for same order. Two times meta_key _oton_number_ordernumber
Attachments:
The administrator has disabled public write access.

Double numbering orders for one order 31 Dec 2017 15:03 #2

Dear Yumit,
Sorry to hear you are running into this issue. Having duplicate post metas is indeed a bad thing and should never happen. Codewise, we are using WooCommerce's WC_Order::update_meta_data, which should replace an existing post meta. We are not manipulating the database directly, where such duplicates might be expected.
Do you see those duplicate post metas with each order, or just with some orders?
I have tried reproducing this issue here at our local installations, but I couldn't. Here, each order (with the same ordernumber settings as shown in your screenshot) always gets just one post meta with key _oton_number_ordernumber...

Which versions of (a) our plugin, (b) WooCommerce, (c) WordPress and (d) PHP do you use? Do you have any other plugins installed that might internally use sub-orders or the like? It's probably easiest if you can create the WooCommerce system report (in the backend, go to "WooCommerce -> Status", button "Get system report", then "Copy for support" and paste everything into an email to This email address is being protected from spambots. You need JavaScript enabled to view it.
That report contains detailed information about your installation, but should not contain any sensitive information. It might help us figure out what causes those duplicate post metas.

Best regards,
Reinhold
The administrator has disabled public write access.

Double numbering orders for one order 01 Jan 2018 18:48 #3

Hi,

Thank you for your reply!

Duplicate post metas with each order.

a: 1.4.3
b: 3.2.6
c: 4.9.1
d: 7.0
No, I have not. But I have tested this plugin just one time but I deleted this plugin.

And I send mail to This email address is being protected from spambots. You need JavaScript enabled to view it.

Thank you !
The administrator has disabled public write access.

Double numbering orders for one order 09 Jan 2018 13:40 #5

I don't know why it seems solved on topic but I have same problem.
The administrator has disabled public write access.

Double numbering orders for one order 19 Jan 2018 11:09 #6

Hi,

I didn't get any response. How is going?
The administrator has disabled public write access.

Double numbering orders for one order 08 Jan 2018 16:17 #4

I have the same problem and also sent you an email
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular