Finish button on checkout not redirecting

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148158

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.5

Not sure what happened but now the Finish button on the last page of the checkout is not working. The user just gets redirected back to the home page. The order is created and my configuration is to have the cart cleaned after the order is created and the URL where to redirect when the cart is empty is to the home page. I have not changed any settings so not sure why this is all of the sudden not working.

Also I just updated my HikaShop version to see if that would help but still having a problem. After updating though, now the product currency is italicized and the word "Finish" on the button is not visible. I do not want the currency italicized. Please see pic.

My site is live so I had to disable the user from checking out so you cannot try it on my site, but I would be more than happy to give you login details to see the problem.

Thanks for the help.

Attachments:
Last edit: 11 years 3 months ago by dbarnhart863.

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 3 months ago #148177

Hi,

Please provide a screenshot of your checkout workflow.

About the design, HikaShop 2.3.0 now include new styles.
You can use the "old" style in the HikaShop configuration in order to retrieve the old style when the price is not in italic etc.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148198

Thank you for the help Jerome. Here's the pics of my checkout. I was just messing around with it and added payment to the workflow and then tried it. I get the error "Wrong_Shipping_Address". So it must be due to shipping? How do I 'turn off' shipping altogether? I am only selling memberships so there is nothing to ship.






Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #148223

Hi,

You checkout workflow is not correct, you need to have the steps "Address", needed in the order for the billing address.
And generally the "Payment" step is asked, without this step it's normal that the customer is redirected to the home page.
But with this step, the customer is redirected to the payment page.

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148277

I had Payment in the workflow originally and it stopped working. I took it out and that's the workflow I took pics of to show you. I have put Payment back in. My users can either sign up for membership and register then pay or they already have a membership but need to renew so they log in and then pay. So the checkout workflow has them register if they are not already.

Here's the revised checkout workflow and the errors I am getting. Both of my products, membership and renew membership do not have any weight associated with them. The error pics are from the view of a user who is already registered and trying to renew and pay. This is the same thing that happens if a new user registers on my site and tries to pay. Why is the error saying wrong shipping address?











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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #148282

Hello,
Can you test it with the address step added to the first step of your checkout workflow ("Hikashop->System->Configuration->Checkout") ?
Thanks.

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148360

I appreciate everyone's help on this. I just added Address to the first step in the checkout workflow and I am still getting the same error Wrong_Shipping_Address and when I try to process the payment anyway clicking on Next then Finish it just goes back to the home page and not to Authorize's payment form. The order is created in the backend though.

More suggestions?

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148467

Ok I was able to get the error Wrong_Shipping_Address to go away. It was the TaxCloud plugin!! When I updated Hikashop, I enabled this plugin to hopefully starting using TaxCloud. So I disabled this plugin and the error is gone, BUT I am still only redirected to the home page when I click on the Finish button when I should be redirected to Authorize.net's payment form.

I really need this fixed as my site is live! Please, more help will be greatly appreciated! Thank you!

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #148558

Hello,
Can you show me how did you configured your Authorize.net payment method through some screenshots ?

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148572

Thanks for the help. Here's the screenshots:





Attachments:
Last edit: 11 years 3 months ago by dbarnhart863.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #148660

Hi,
Note that you should also complete the "Your MD5 Hash on Authorize.net" option of your Authorize.net payment method.

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 3 months ago #148683

Thanks for the reply but that is not why the Finish button is still not working. I didn't have a MD5 Hash before and my cart and checkout was working fine.

I really need help in why this isn't working. My site is live and my users cannot purchase membership right now.

What can I check? What can I do? to get the finish button to direct to Authorize.net's payment page???

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #148707

Ok,
Can you :
- give me a link to your shop so that I can directly test it ?

- go to "Hikashop->System->Configuration->Checkout"
- set the "Advanced checkout workflow edition" option to NO
- Show me a screenshot of your checkout workflow

Thank you.

The following user(s) said Thank You: dbarnhart863

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 2 months ago #148830

Thank you! I will send you a pm with the details of the login. My site is live so users cannot register on it right now. But I have a menu item published for logged in users so that you can test it. Please log in, go to Renew Membership on the main menu to test.

Here's a screen shot of the checkout workflow with the Advanced Workflow set to No. That's the only thing that I changed so everything else looks the same and can be seen in the above pics in the previous screenshots.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #148998

Hello,

I just checked your website and I think that the problem is probably coming from the checkout views customization that you've done through "Hikashop->Display->Views".
Can you remove (by using the "trash" icon) the customization that you have made through these "checkout" view's files :

- end
- payment
- registration_bootstrap

And test it again ?

Thank you.

Last edit: 11 years 2 months ago by Mohamed Thelji.

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 2 months ago #149017

I deleted the customization in file 'end' in checkout view and that fixed the redirection!! Thank you!

HOWEVER, the customization that I had for the checkout file in 'end' logs the user out. After the user registers and pays, then they are redirected back to the site still logged in from their registration. But upon registration and payment they are put into the Paid Members group. In order for the user to see the restricted content for the Paid Members group, the user now needs to log out and log back in. This is very confusing as the user has no idea that they need to do this.

I need to have the user logged out after payment. How can I force the user to log out after payment? Please see this thread - www.hikashop.com/forum/customers/861525-...l-user-logs-out.html . This is the code I used to force the user to log out.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #149072

Hi,

Do you had only added the following code in the "end" view ?

<?php
$this->after_end();
$app = JFactory::getApplication();
$app->logout( $this->order->customer->user_cms_id );
?>

You will probably have to use this kind of code in a plugin, in the function onAfterOrderConfirm();
Here is some documentation about plugins:
www.hikashop.com/support/support/documen...r-documentation.html

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 2 months ago #149124

Thanks for the reply. I am not a developer. Creating a plugin is over and above what I am capable of.

The code that I had in the 'end' file under checkout was working fine. I had been using the customization to the end file for months. Why did it stop working? I need my users to be logged out after they checkout.

Could you please tell the code that is needed (and where to put the code) to log out the user after checkout?

Thank you.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #149127

Hello,
Note that if you are using the "User group after purchase" option of your product configuration page, you users should automatically be logged out after the purchase, so can you tell me if your are using that option ? and if that's not the case, can you tell me what are you using ?
Thank you.

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

  • Posts: 54
  • Thank you received: 3
  • Hikashop Business
11 years 2 months ago #149187

I am using User Group After Purchase. After successful purchase, my users are put into the group Paid Members. I just registered as a user and when I was returned back to my site I am directed to the page that I have specified but I am logged in. So using User Group After Purchase is not logging out the user before they are redirected back to the site from the payment gateway. Please let me know how to fix this.

Thank you.

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

Time to create page: 0.136 seconds
Powered by Kunena Forum