- Posts: 50
- Thank you received: 1
How do save only confirmed status orders?
8 years 6 months ago #289753
by Hikarioo
How do save only confirmed status orders? was created by Hikarioo
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.0.25
-- Browser(s) name and version -- : Google Chrome 65.0.3325.162
Under Orders > Orders Hika saves "All Statuses". On my site this creates a lot of database records that I don't need. Is it possible to setup HikaShop to keep/save only Confirmed orders?
Thanks!
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.0.25
-- Browser(s) name and version -- : Google Chrome 65.0.3325.162
Under Orders > Orders Hika saves "All Statuses". On my site this creates a lot of database records that I don't need. Is it possible to setup HikaShop to keep/save only Confirmed orders?
Thanks!
Please Log in or Create an account to join the conversation.
8 years 6 months ago #289758
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How do save only confirmed status orders?
Hello,
Even if you don't think they matters, you need to keep these orders.
You can use a plugin to "cancel" the "created" order after some time ; but every orders are important not just the "confirmed" one.
Regards,
Even if you don't think they matters, you need to keep these orders.
You can use a plugin to "cancel" the "created" order after some time ; but every orders are important not just the "confirmed" one.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
8 years 6 months ago #289807
by Hikarioo
Replied by Hikarioo on topic How do save only confirmed status orders?
These don't appear to be what I would consider orders but rather carts that have never made it to PayPal checkout. I have dozens. Anyone that adds an item to a cart, clicks Proceed to Checkout and NEVER checks out or pays has this "order" or shopping cart saved. I don't understand the importance of these orders and you don't explain why they are critical.
Can I have only processed orders or orders that are paid saved?
Can I have only processed orders or orders that are paid saved?
Please Log in or Create an account to join the conversation.
8 years 6 months ago #289811
by nicolas
Replied by nicolas on topic How do save only confirmed status orders?
Hi,
You're wrong. Carts are stored as carts, not as orders.
If an order is created, it means that the customer went through all the checkout and clicked on the finish button of the checkout and was then redirected to the payment gateway.
If the order status is created and not confirmed, it means that upon arriving on the payment gateway, the customer didn't pay.
It is critical for HikaShop to convert a cart into an order before the redirection to the payment gateway.
Otherwise, the customer would be able to modify his cart while on the payment gateway and then you would have situations where the amount paid by the customer doesn't correspond to what is in the cart.
With an order, nothing can be changed by the customer after it is created so what HikaShop receives the payment notification from the payment gateway, it is guaranteed to match.
All ecommerce solutions work like that.
As Jerome said, you can potentially cancel the orders after a while.
You can even use a mass action to delete the created orders after a while.
But accounting wise, it's better to keep the created orders and change their status to cancelled. From the point of view of accounting, it's better to have incremental order_ids without holes so that if the administration checks your orders/invoices it's not suspicious.
You're wrong. Carts are stored as carts, not as orders.
If an order is created, it means that the customer went through all the checkout and clicked on the finish button of the checkout and was then redirected to the payment gateway.
If the order status is created and not confirmed, it means that upon arriving on the payment gateway, the customer didn't pay.
It is critical for HikaShop to convert a cart into an order before the redirection to the payment gateway.
Otherwise, the customer would be able to modify his cart while on the payment gateway and then you would have situations where the amount paid by the customer doesn't correspond to what is in the cart.
With an order, nothing can be changed by the customer after it is created so what HikaShop receives the payment notification from the payment gateway, it is guaranteed to match.
All ecommerce solutions work like that.
As Jerome said, you can potentially cancel the orders after a while.
You can even use a mass action to delete the created orders after a while.
But accounting wise, it's better to keep the created orders and change their status to cancelled. From the point of view of accounting, it's better to have incremental order_ids without holes so that if the administration checks your orders/invoices it's not suspicious.
Please Log in or Create an account to join the conversation.
Time to create page: 0.198 seconds