Skip to main content

Timeline for Skipping order id by 1 in Magento 2

Current License: CC BY-SA 4.0

21 events
when toggle format what by license comment
S Feb 8, 2019 at 12:59 history bounty ended amitshree
S Feb 8, 2019 at 12:59 history notice removed amitshree
Feb 8, 2019 at 12:59 vote accept amitshree
Feb 8, 2019 at 10:36 answer added Kamal Paliwal timeline score: 2
Feb 8, 2019 at 10:27 comment added amitshree I have download production db and configured it in my local system. In my local system everything works fine again.
Feb 8, 2019 at 10:26 comment added amitshree @BirjitsinhZala, I have placed two consecutive successful orders and there wasn't any issue. I do not see anything in log also.
Feb 8, 2019 at 10:19 answer added Shoaib Munir timeline score: 3
Feb 7, 2019 at 21:00 history tweeted twitter.com/StackMagento/status/1093615562184409089
S Feb 7, 2019 at 5:29 history suggested fmsthird CC BY-SA 4.0
change some text formatting
Feb 7, 2019 at 5:01 review Suggested edits
S Feb 7, 2019 at 5:29
Feb 5, 2019 at 11:45 comment added Birjitsinh Zala Sometimes this type of situation happens when checkout failure when placing the order. do you have? Please check the error log
Feb 4, 2019 at 11:58 comment added Aasim Goriya @amitshree I had same issue in braintree payment once, and fixed by upgrading extension.
Feb 4, 2019 at 9:55 comment added amitshree I have checked custom modules and there isn't something in any module which is setting reserved order id. Also this module was working fine and suddenly it started skipping order ids on production site. On staging site, it still works fine as expected.
Feb 4, 2019 at 8:52 comment added HelgeB I think that assumption posted by Marius is the right way to find the problem. I would suggest to search all your source code for the calls of the method setReservedOrderId($reservedOrderId) that might guide you to the right point. If you have the possibility, I would suggest to create a plugin and hook it before that method to log all the calls with backtrace, that might give you a hint where the calls come from
Feb 2, 2019 at 5:03 comment added amitshree @PritamInfo24, I am using PayUMoney payment gateway. Though order is placed in Magento as soon as I click "Place Order" button.
Feb 2, 2019 at 5:01 comment added amitshree @Marius, I do have a module which modifies quote and order table. I will try disabling it, if it works.
Feb 1, 2019 at 17:55 comment added Pritam Biswas can you please mention which payment getaway/extension you are using. Sometime payment extension reserve the order Id before redirecting to payment get way and after successful payment order will created with that reserve order id.
Feb 1, 2019 at 13:31 comment added Marius do you have any extensions that might affect the orders? There is a chance that one extension calls reserveOrderId whithout checking if the quote has already a reserved order id. Try disabling all custom extensions and see if it happens.
S Feb 1, 2019 at 13:29 history bounty started amitshree
S Feb 1, 2019 at 13:29 history notice added amitshree Current answers are outdated
Jan 30, 2019 at 10:36 history asked amitshree CC BY-SA 4.0