The step (Payment method) repeats

  • Posts: 47
  • Thank you received: 0
8 years 6 days ago #255716

-- url of the page with the problem -- : theretis.com.au/index.php/hikashop-menu-.../category/13-aquatic
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.6.27
-- Browser(s) name and version -- : Chrome 54.0.2840.87

Checkout flow is: cart,payment,terms_confirm,end
I have only one payment method - HikaShop Paypal payment plugin.

I choose the product from the product listings.
Clicking on 'Choose Options' goes to a screen where I select variants and item custom fields.
Clicking "Add to cart" goes to checkout showing a cart which displays the selected product, variants and item fields.
Clicking 'next' goes to a screen showing the payment method (step-1 in the URL).
Clicking 'next' repeats the same screen (but shows as step-2 in the URL).
Clicking 'next' goes to a screen showing the terms & conditions (also showing as step-2 in the URL).

I have selected 'yes' to both 'Auto select default shipping and payment methods' & 'Auto submit shipping and payment methods selection'.
Choosing 'if only one method is available' makes no difference.

I have read numerous entries on this topic.
Please help.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 6 days ago #255764

Hello,

Can you provide a screenshot of your checkout, take care to show us ALL the checkout part AND Shipping & Payment part, please.

Awaiting news from you.

Regards

Last edit: 8 years 6 days ago by Philip.

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

  • Posts: 47
  • Thank you received: 0
8 years 5 days ago #255810

Screenshots attached.
Appreciate the help.

Attachments:

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 5 days ago #255853

Hi,

Try removing the code:

if(($old_payment_id!=$payment_id || $old_payment_method!=$payment) || @$old_payment_data->payment_price!=$paymentData->payment_price && ($this->_getStep('cart',(int)$this->previous)===(int)$this->previous || $this->_getStep('confirm',(int)$this->previous)===(int)$this->previous)){
				return false;
			}
from the file components/com_hikashop/controllers/checkout.php
It should help avoid the problem.

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

  • Posts: 47
  • Thank you received: 0
8 years 5 days ago #255873

I removed the code.
It stopped the step repeating but now my order (confirmed) shows the product details but no longer shows the name, email or billing/shipping address.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 4 days ago #255903

Hi,

That has nothing to do with that change and that's normal since you removed the "login" and "address" view from your checkout workflow.
Without them, the customer isn't asked for his email address, nor billing/shipping address.

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

  • Posts: 47
  • Thank you received: 0
8 years 4 days ago #255918

But I was getting them before (presumably from Paypal).

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 3 days ago #255987

Hi,

The standard PayPal plugin of HikaShop cannot get the data from PayPal. Only the PayPal Express Checkout payment plugin can do that as it's goal is to actually skip the checkout on your website. If that's what you want, then you should use PayPal Express Checkout instead.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum