Auto payment selection not working / ordernr skips 1

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
8 years 6 months ago #255323

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.6
-- Browser(s) name and version -- : FF

I have 2 major issues:

1. We have only 1 payment method and this payment is not selected by default. Because of that we have to click twice before the order is submitted. After the first submit The payment is added to the "Status field". In the backend we have selected all the automatic options. I added a screenshot with the settings an behaviour.



2. Everytime when we buy a product in the webshop the order gets added but the order number skips 1 number. We have used "O{id size="5"}" in the order number format field.


We also use Hikamarket. I don't know if it's related, but also the invoice number is always empty. We have used "Iid size="5"}" in the invoice number format field.


Thanks in advance!

Attachments:
Last edit: 8 years 6 months ago by Rixters.

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 6 months ago #255396

Hi,

1. When I arrive on your checkout, the payment method is already selected (the radio button is checked).
It's quite strange though because the payment fee isn't added to the cart and it doesn't appear in the status view.
And if I submit the checkout form (by entering a wrong coupon code for example), then the payment method is taken into account. But if I just refresh the page, it doesn't display the payment fee or the payment method in the status view.
I'm not sure why it would do that.
It's as if there is a problem with the session data. Try changing the "session handler" setting of the Joomla configuration.

2. That's normal. If you have HikaMarket, for each order created, a sub order is created for each vendor with a least one product in the order. If you have an order with two products from different vendors, you'll see that it will actually "skip" 2 numbers as each one is used for the sub order of each vendor. That way, each vendor only knows of the products sales he is selling.
Regarding the invoice number, it will only be set when the orders status is changed to "confirmed". This usually happens automatically when the payment gateway you're using notifies HikaShop of the payment of the customer.
With a bank transfer payment, you have to change the status yourself in the backend when you receive the payment and the invoice number is generated at that point.

Please Log in or Create an account to join the conversation.

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
8 years 6 months ago #255416

1. Switching the session handler had no effect. Unfortunately... Do you have on other idea or option?

2. Is this due to the fact that we swiched "Use same order number for sub-orders" on?
It's clear about the invoice number!

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
8 years 6 months ago #255487

Hi,

1. Then I don't know what it could be.
Normally, next version of HikaShop should prevent that due to the way the cart/checkout system will work. So it should not be a problem any with next update. Until then, I could recommend to try on another hosting, or try changing the checkout workflow in several steps.

2. No. Regardless on how you configure that option, the order numbers will be "skipped" as orders and sub orders need to be created in any case.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum