The order cannot be paid anymore.

  • Posts: 96
  • Thank you received: 1
10 months 4 days ago #358312

-- url of the page with the problem -- : www.mauritiusproducts.com/fr/categories/...ck-historic-marine-3
-- HikaShop version -- : 2.6.4
-- HikaAuction version -- : 1.2.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : The order C1A0J66 cannot be paid anymore.

Hi,

When the auction is finished, I click on the link "Paid now" of mail, but I have the message "The order C1A0J66 cannot be paid anymore."

What is the problem ?

I give you some screen shots to help.

Thank's.

Attachments:

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

  • Posts: 4738
  • Thank you received: 644
  • MODERATOR
10 months 4 days ago #358315

Hello,

Can you check that your order statuses is well configured, see my screenshot :



You have to authorized the "created" order status can be paid status (not like on my screenshot).
regards

Last edit: 10 months 4 days ago by Philip.

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

  • Posts: 96
  • Thank you received: 1
10 months 3 days ago #358340

Hi,

I don't have the same screen that you have (see attached file).

How can I do ?

Thank's

Attachments:

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

  • Posts: 96
  • Thank you received: 1
10 months 3 days ago #358347

Hi,

I add "created" status in "Status of unpaid orders" of Order Configuration.

And now, I have the "Pay now" button on Orders page (see attached files).

But when I click on it, nothing happens.

What is missing ?

Regards.

Attachments:

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
10 months 3 days ago #358351

Hi,

Check that "Payment of orders not paid immediately" option is on "Yes" in the HikaShop configuration.

The issue you have with the "pay now" button could be a javascript error (and one which doesn't exist anymore in recent versions of HikaShop). Do you see any error in the console of your browser when you click on the button ?
Could you provide access to that page so that we could directly look at the situation ?

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

  • Posts: 96
  • Thank you received: 1
10 months 3 days ago #358380

Hi,

You can see order with admin user I give you.

Thank's

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
10 months 2 days ago #358381

Hi,

From what I can see it's a bug of your HikaShop version when you have the "Allow customers to change their payment method after checkout" setting turned on. Try turning it off and the "pay now" button should work.
We fixed this with the new interface we implemented in the order history of HikaShop. So I'm afraid you would have to update your HikaShop to fix the issue with that setting turned on.

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

  • Posts: 96
  • Thank you received: 1
10 months 2 days ago #358392

Hi,

I turned off the "Allow customers to change their payment method after checkout" setting. (See attached file).

But it doesn't work better.

Regards.

Attachments:

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

  • Posts: 96
  • Thank you received: 1
10 months 1 day ago #358399

Hi,

I give you log get with Chrome (see attached file).

And some errors that seem strange with Firefox :

POST
www.mauritiusproducts.com/index.php?opti..._hikashop&ctrl=order
État
303
See Other
VersionHTTP/2
Transfert25,08 Ko (taille 184,61 Ko)
Politique de référentstrict-origin-when-cross-origin
Priorité de la requêteHighest

GET
www.mauritiusproducts.com/fr/templates/r...egular-webfont.woff2
État
404
Not Found
VersionHTTP/2
Transfert19,79 Ko (taille 141,57 Ko)
Politique de référentstrict-origin-when-cross-origin
Priorité de la requêteHigh

Do you see a problem in Checkout flow configuration (see attached file) ?

Thank's for your help.

Attachments:

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

  • Posts: 96
  • Thank you received: 1
10 months 22 hours ago #358405

Hi,

When I click on paiement button with debugging mode I see the message : "Notice: Trying to get property of non-object in /home/chch9172/public_html/components/com_hikashop/views/product/view.html.php on line 2181" (see attached file).

In view.html.php file, we have this :

if($cart_id){
$cartClass->cart_type = $cart_type;
$cartInfo = $cartClass->loadCart($cart_id);
$currUser = hikashop_loadUser(true);
$session = JFactory::getSession();
if(@$currUser->user_cms_id != $cartInfo->user_id && $session->getId() != $cartInfo->session_id){
$notice_html = '';
$this->assignRef('notice_html', $notice_html);
return;
}
}

I don't understand what is the issue here.

I am still waiting for a solution.

Thank's.

Attachments:

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
10 months 5 hours ago #358426

Hi,

Then the bug is there even with the option turned off. That's strange.
Try changing the line:

echo $this->cart->displayButton($text,'pay',$this->params,$url,'document.adminForm_'.$row->order_id.'_pay.submit();return false;','class="hikashop_order_pay_button"');
to:
echo $this->cart->displayButton($text,'pay',$this->params,$url,'return true;','class="hikashop_order_pay_button"');
in the view file order / listing via the menu Display>Views. It might help.

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

  • Posts: 96
  • Thank you received: 1
9 months 4 weeks ago #358447

Hi,

It works fine !

Thank you very much. :)

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

Moderators: Mohamed Thelji
Time to create page: 0.083 seconds
Powered by Kunena Forum