Hi All,
It's been a while and I have a debate of sorts with a developer.
In opencart is the order id generated on the checkout/checkout page
Or
Checkout/success page?
I had a feeling there was a step in between when the confirm button is clicked like checkout/confirm.
Any help would be great!
On Success page this order ID actually means something, but on checkout it's mostly "virtual". So no, you should display it on checkout.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Thanks,
What I'm debating is a finance module where they need an orderID (a mandatory part of their system) to be sent but they are getting this from the success page, which empties the cart and creates a order in the database and email....
.... Then they are passing the customer to the finance site to see if they get accepted.
I think from my other finance modules that the virtual orderID like you said is used to pass them over to the finance site then if they get accepted they come back to the success page, if not they come back to the checkout with a full cart and no sale.
If they decide not to buy then I have a gap in my order numbers.
So the next question is.....
Is the virtual order id created when then move from the following
1. Cart to the checkout
2. Open the CHECKOUT page
3. Checkout to success?
Or something else?
Thanks again
What I'm debating is a finance module where they need an orderID (a mandatory part of their system) to be sent but they are getting this from the success page, which empties the cart and creates a order in the database and email....
.... Then they are passing the customer to the finance site to see if they get accepted.
I think from my other finance modules that the virtual orderID like you said is used to pass them over to the finance site then if they get accepted they come back to the success page, if not they come back to the checkout with a full cart and no sale.
If they decide not to buy then I have a gap in my order numbers.
So the next question is.....
Is the virtual order id created when then move from the following
1. Cart to the checkout
2. Open the CHECKOUT page
3. Checkout to success?
Or something else?
Thanks again
If your "finance module" takes order ID from success page, then it is badly coded. Order ID can be taken from session right on checkout.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Who is online
Users browsing this forum: No registered users and 378 guests