Custom order processing steps

  • Posts: 23
  • Thank you received: 0
9 years 4 months ago #208669

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.3.28

Hi,

i would like to implement the following order process:

1) customer places an order
2) customer has to wait until the order is checked and set to custom state 'accepted'
3) once set to state 'accepted' the customer can make the payment and a invoice is sent

So the tricky part is to block the payment until the order is in a specific state.

Is this possible at all? And if so please guide me how to do.
thank you in advance.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 4 months ago #208679

Hi,

Yes, that's possible.
Remove the "payment" view from your "checkout workflow" setting of the HikaShop configuration.
That way, no payment will be needed during the checkout.
You want to create an "accepted" status via the menu System>Order statuses.
Then, you want to turn on the "Payment of orders not paid immediately" setting and enter the "accepted" status in the "Unpaid order statuses" setting of your HikaShop configuration.
That way, customers will be able to pay for their "accepted" orders via their orders listing on the frontend. You can create a link to it by creating a menu item of the type "HikaShop order listing" via the Joomla menu manager.

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

  • Posts: 23
  • Thank you received: 0
9 years 4 months ago #208821

thank you.

i followed your guide. Works in general, only 1 issue left:
At the point when i do want to select the payment method and press the button to pay (in the order list overview) i receive the following error message: The payment method could not be found

no matter which payment method i do select. The same configuration of payment methods worked before though.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 4 months ago #208833

Hi,

Do you have the "Allow customers to change their payment method after checkout" setting turn on in the HikaShop configuration ?
If not, make sure it is turned on.
I've checked code but apart from that, I don't see anything else.
If that's not the issue, then we would need to have a look at an order listing page with the pay button in order to check at the issue and a backend access in order to check your payment methods and HikaShop settings.

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

  • Posts: 23
  • Thank you received: 0
9 years 4 months ago #208878

yes i have already enabled this option.

I've sent the credentials via your support contact form.
The user has already an order which is the 'accepted' state and ready to do the payment.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #208926

Hello,
I just tested it on my end and it worked fine, can you give us a temporary FTP access through our contact form so that we can directly test it ?
Thanks.

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

  • Posts: 23
  • Thank you received: 0
9 years 4 months ago #209017

hmm strange. Maybe an issue with the template then.
Nevertheless i've sent the FTP credentials.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #209217

Hello,

1. You didn't had any error message because of your "gk_shop_and_buy" template, if I test it with the "Beez3" template, I correctly have a "The payment method could not be found" error message.
Regarding your template issue, you'll probably find the solution there :

HikaShop uses the core Joomla messaging system to display messages on your website so if you don't see any message when you don't enter correct information during the checkout process, that's probably because your Joomla template does not contain the tag to display Joomla messages: <jdoc:include type="message" />


2. Thanks to your feedback I was able to fix it on your website and for the next Hikashop version.

So I just added a fix on your website and it should work fine now.

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

  • Posts: 23
  • Thank you received: 0
9 years 4 months ago #209269

the error message is displayed (on the very top of the page), that was actually the reason for my question regarding this issue.

Thank you for the fix, everything works now.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum