Problem: Checkout Not Redirecting to Paypal

  • Posts: 14
  • Thank you received: 0
13 years 2 months ago #24927

Hi everybody, I've been working with Joomla for a long time, but whenever I had an eCommerce project I always used Virtuemart, and this time I wanted to try something different, and I love HikaShop! It seems to be a much more professional feeling solution than Virtuemart.

Anyways, I am running a new installation of Joomla 1.6 at www.StitchPunkDolls.com and need some help with Paypal.

I have enabled the Paypal payment option, and configured it with our paypal address and the "Next" button during checkout does not work. This is the one I'm talking about, lower right corner circled in red:



When I click the button, doing some testing, this particular page simply will refresh itself instead of sending the order to paypal.

Any help is greatly appreciated!
Thank you

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
13 years 2 months ago #24928

You set a weight in your product so the shipping is required (you can see the shipping address selection view).
However, you didn't configure your shipping methods and you still have the shipping view in your checkout workflow, so HikaShop is not letting you finish your checkout and is displaying an error message (which is not displayed by your template by your template is missing the jdoc include tag for messages).

If you remove the weight of your product it will work.

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

  • Posts: 14
  • Thank you received: 0
13 years 2 months ago #24929

And one other detail: I don't know if it's related, but I have one shipping method set up and it is free shipping, so that is not even an option during checkout. Also only one payment method: paypal, so that is not an option either.

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

  • Posts: 14
  • Thank you received: 0
13 years 2 months ago #24930

nicolas wrote:

You set a weight in your product so the shipping is required (you can see the shipping address selection view).
However, you didn't configure your shipping methods and you still have the shipping view in your checkout workflow, so HikaShop is not letting you finish your checkout and is displaying an error message (which is not displayed by your template by your template is missing the jdoc include tag for messages).

If you remove the weight of your product it will work.


Thanks for the quick reply, you even replied faster than I could finish my last message! I appreciate it.

I looked at the weight of the one product in the store and it is set to 0.00 kg by default.

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
13 years 2 months ago #24931

No shipping method is displayed. Which means that you configured it to not be displayed in that case. Maybe you set a weight/zone/price restriction to it?

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
13 years 2 months ago #24932

Then it means that you activated the option "force shipping regardless of weight" in the config.

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

  • Posts: 14
  • Thank you received: 0
13 years 2 months ago #24933

Ok, because of your input I went and looked at the shipping. Looks like I created a shipping method, but never actually turned on the manual shipping option! It's enabled and now it works.

Thanks a lot, again!

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

  • Posts: 13
  • Thank you received: 0
12 years 11 months ago #30696

Hello,

After exhausting the forum, I still can't figure out why I am not being redirected to PayPal in my checkout process.

I have my UPS shipping method set up, PayPal payment plugin set up. They both appear just fine, but every time I choose those options and click "Next," I'm taken right back to the same page.

This also happens if I choose to pay with Credit Card. I'm taken back to the same page.

There are no error messages. Attached is an image of the check out page I'm stuck on.

Any help would be appreciated. Thank you!

Attachments:
Last edit: 12 years 11 months ago by tsmith.

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 11 months ago #30729

First, you should look at your template to make sure that it handles joomla messages:
www.hikashop.com/en/support/documentatio...tibility-issues.html
Then, you might have an error message explaining the problem.

Otherwise, you can activate the debug mode of the joomla configuration and try again. That might also help in displaying an error message of the problem.

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

  • Posts: 13
  • Thank you received: 0
12 years 11 months ago #30735

I turned on the debug and now when I go to the checkout page, I get this message:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 311296 bytes) in /data/www/celabs/components/com_hikashop/views/product/view.html.php on line 365

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 11 months ago #30751

You should increase your PHP memory_limit setting from 16M to 32M and that should solve the problem.
If you don't know how to do that, you should ask your hosting company support.

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

  • Posts: 29
  • Thank you received: 0
12 years 8 months ago #41700

Hello,

I have a similar problem with memory and I changed my memory in my ini file but it did not fix the problem. At first I got the fatal error similar to tsmith but now I have this error:
Maximum execution time of 30 seconds exceeded in .... components/com_hikashop/views/product/view.html.php on line 1025
This is the case, I have a 3 book combo deal and a five book combo deal. The 3 book combo page works just fine. There are 3 drop downs to select which books you want. When I try to add more than 3 drop down for the 5 book combo, I get the error basically because the page takes too long to load I am guessing. I don't see why 5 drop down menus would be so memory intensive. Her is the sample of the 3 book combo:
theuncommonlife.com/store/books-a-guides...t/15595-3-book-combo (the page loads kind of slow.
and here is the 5 book combo that will not load at all.
theuncommonlife.com/store/books-a-guides...t/15813-5-book-combo

I am hoping you have a suggestion as what to do or why it does this. Your help is much appreciated as always, you are great! I currently have memory_limit set to 128mb according to my joomla 1.7 system information which seems like over kill. Maybe there is a better way to create selections for the product that I do not know about or a way to make the page load faster. Thank you in advance.

Attachments:
Last edit: 12 years 8 months ago by jessicapschultz.

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 8 months ago #41732

That's because you're using characteristics where you should instead use custom item fields.
Characteristics will create one variant for each combination of values of the characteristics.
Suppose that you have 10 choices per characteristic. With 5 characteristics, you will get 100000 variants for just one product. That's WAY too much for any server.
Characteristics can be used when you need to handle prices or stock per variant of the product and thus you NEED variants of the product for that and usually you'll have less than 100 variants for a product.

Custom item fields can be configured via the menu Display->custom fields in the business edition:
www.hikashop.com/en/support/documentatio...p-field-listing.html

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

  • Posts: 29
  • Thank you received: 0
12 years 8 months ago #41736

Ok, I am still new to hika, first time. Which table do I use to create these custom item fields, product, item? Multiple drop down or what? :blink:
t

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 8 months ago #41738

It's the table "item".
The type is whatever you want. If you want radio buttons you can use radio, if you want a dropdown, you can use single dropdown, etc.

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

  • Posts: 29
  • Thank you received: 0
12 years 8 months ago #41742

OK and can I give you a scenario? I am trying to wrap my head around this, maybe you could give me a head start....

I have 6 books to choose from and the customer and pick any 5 they want even if they want 3 of the same book and 2 of another book. How would I set this up?

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 8 months ago #41883

I would create 5 custom fields of the table "item" and the type "single dropdown" with the 6 books as options of the dropdown.

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

  • Posts: 29
  • Thank you received: 0
12 years 7 months ago #43463

Couple if things.... first, thank you for always responding quickly, I really appreciate it and it makes me glad that I purchased your product knowing you are always willing to help.

second, I implemented the 5 custom fields just fine but now there is another issue. When you click the buy now button, and the popup comes up with the button to continue to cart, it takes you to the cart instead of making you go to the product page to make a selection of the 5 books. How can I change this so that the buy button takes you to the product page? Before when I tried to use variables, it did force the user to the product page to make a selection.

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

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
12 years 7 months ago #43658

If you're using custom fields, you will either need to display the custom fields directly on the listing of your products ( there is an option to activate that in your products listing menu/module's hikashop options), or deactivate the add to cart buttons on the listing so that they have to click on the product image/name to access the product (same screen a for the other option).

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

  • Posts: 29
  • Thank you received: 0
12 years 7 months ago #43866

I have tried both of those...in Parameters for products, I ticked no for "Display Add to cart' button" and saved, refreshed, cleared cache, and the buttons still remain. I also selected "Display custom item fields".

1. when I select "Display custom item fields", how can I select which fields I want to display. I know you can select which categories to display a field in but none of that makes since if you have the option to "Display custom item fields" on the product page.
2. I have set all my custom fields to "required", this would I thought would force the page to go to the product page rather than the cart.
3. if I have a single drop down and I make it required, how do I set it to be blank rather than the default value be set to an item. This makes it so that there is already something selected and the if the users forgets to make a selection, then the default selection is what is used.... I must be a dummy about this.
4. I don't really get this... (is this something that will help my situation? "Display limited to: Here, you can select another custom field of the same table and the corresponding values for which you would like the current custom field to be displayed."

so to explain my situation, I have some products that the customer needs to add a code to in a custom text field and some products that the customer has to select which books to buy. So far I have figured out to select a category of products that these fields are to display on but if there is something I am missing, please inform.

many thanks
jessica

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

Time to create page: 0.124 seconds
Powered by Kunena Forum