Hey svennfinnvold,,
Amber here, thanks for contacting SkyVerge about our Sequential Order Numbers plugin! I’m happy to help! 🙂
I understand that you recently changed the Checkout to use the Pay with Vipps and MobilePay for WooCommerce plugin, and in doing so, you’ve noticed a slow order creation. After doing some digging, you’ve found that the issue seems to come from our code in regards to the function set_sequential_order_number() on line 346 there is a query to insert the order id into the orders_meta table. You also noticed that Vipps plugin creates the order before it loads the checkout for the user and therefore the checkout experience is perceived as slow. My sincere apologies that this is happening, let’s take a look!
Thank you for diving in and doing some research of your own, and informing me of what you found. With Sequential Order Numbers, it’s intended to create the order number after the order has been placed. This makes sense as to why there is a delay since the Vipps plugin creates the order before the customer get’s to the checkout.
Since the standard WooCommerce process is creating an order after the checkout has processed, changing the code in our plugin would be considered a customization.
Our plugins are, in general, quite extensive and, wherever possible, we provide detailed developer documentation to allow for a lot of additional functionality. Unfortunately, to achieve what you’re looking for would have to be done as a customization, which isn’t covered under our support policy. As such, implementing this isn’t something we can assist with directly.
If you need help in terms of implementing the functionality you’re looking for, my recommendation would be to reach out to a developer who is experienced in customizing WooCommerce from any of the following organizations:
Wisdm Labs
Codeable.io
WooExperts
I’m sorry I can’t offer more assistance here, though I hope you find this helpful nonetheless.
Is there anything else I can help out with?
All the best,
Amber 🙂
Hello, Amber
I understand, thanks for your swift reply.
Have a great day!
Hey svennfinnvold,
Sure thing! I hope you have a wonderful day as well! I’m going to mark this thread as “closed” for now, but if you run into any other questions or issues, please feel free to reply again to re-open it or create a follow up. We’re happy to help. 🙂