Skip to main content

The order cannot be paid anymore.

More
2 years 8 months ago #358312 by dafyalex
-- 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.

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

More
2 years 8 months ago - 2 years 8 months ago #358315 by Philip
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: 2 years 8 months ago by Philip.

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

More
2 years 8 months ago #358340 by dafyalex
Hi,

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

How can I do ?

Thank's

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

More
2 years 8 months ago #358347 by dafyalex
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.

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

More
2 years 8 months ago #358351 by nicolas
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.

More
2 years 8 months ago #358380 by dafyalex
Hi,

You can see order with admin user I give you.

Thank's

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

More
2 years 8 months ago #358381 by nicolas
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.

More
2 years 8 months ago #358392 by dafyalex
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.

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

More
2 years 8 months ago #358399 by dafyalex
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.

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

More
2 years 8 months ago #358405 by dafyalex
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.

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

More
2 years 8 months ago #358426 by nicolas
Hi,

Then the bug is there even with the option turned off. That's strange.
Try changing the line:
Code:
echo $this->cart->displayButton($text,'pay',$this->params,$url,'document.adminForm_'.$row->order_id.'_pay.submit();return false;','class="hikashop_order_pay_button"');
to:
Code:
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.

More
2 years 8 months ago #358447 by dafyalex
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.339 seconds
Powered by Kunena Forum