Problem: Checkout Not Redirecting to Paypal

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

1. All of the fields which are for the current category will be displayed when that option is turned on. There is no selection of the custom fields to be displayed there.

2. That's not related. It will only be the case once the fields are displayed in the listing.

3. Just add a value with an empty 'value' field and use it as default value of the custom field. That way, if the user clicks on add to cart before selecting something else, it won't let him and will display an error message;

4. No that's not related.

If you don't see the custom fields in the listing even though you activated the option "Display custom item fields" and that you still see the add to cart button even though you turned off the option "Display Add to cart' button", it means that you didn't do that at the correct place.
Please go in the menus Display->Content menus and Display->Content modules and edit each products listing menu/module and set these options properly. Then it will definitely work.

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

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

I have definitely done what you said to do. I do not have a problem seeing the custom fields on the product page as they are definitely there, my problem is;

1. I cannot get either the buy button to go away even though I have set menus Display->Content menus and Display->Content modules and edit each products listing menu/module and set these options properly."
2. when I go to a page ( www.theuncommonlife.com/store/books-a-gu...main/combo-discounts and I have set this menu item to not show buy button) when user clicks the buy button, it adds it to the cart instead of taking them to the product page to make the required selection.

Let say that I still wanted to display the buy buttons even though I have tried to turn them off, then if I have fields on a product page that are required, why would it allow me to go straight to the cart? Do I need to disable the pop up "go to cart"?

Last edit: 12 years 7 months ago by jessicapschultz.

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

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

I can see that some of the view files on that page have been customized.
The add to cart button is under the price in the default layout.
So I suppose that the problem comes from this:
You edited the layout in a previous version of HikaShop where these options were not available (it has only been added since 1.5.6 I think). Then you updated. But since the overridden views still use the previous version display code, the new options don't have any impact on the display.
Please try to delete the customization of the file "listing_img_desc" of the view "product" via the menu Display->Views and that should hopefully make these options work properly. Then you can reapply your modifications to the new version of the view.

The following user(s) said Thank You: jessicapschultz

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

  • Posts: 75
  • Thank you received: 1
11 years 1 week ago #129441

Hi Nicolas
sorry to bother you again. I have the same issue. After clicking next in checkout, something is proceeding, but it stays at checkout. I already read all threads, but I could not fix it. The point is, paypal payment has already works. I already did following checks:
-no messages in payment log file and debug system
-payment method and ups plugin is displayed
-Refresh IPs at paypal plugin do not work: field empty
-paypal setting "allow payment notifications from paypal" has been turned on
-htaccess is the standard Joomla file.
- no ssl
-no IP's have been changed.

Did I change something?
The only change I make was coming from Jerome:
_____________________________________________
Hi,

The message you got is a redirection which is made by a system plugin in order to add the language as parameter.

Please edit the file "administrator/components/com_hikashop/classes/field.php" and replace
if($allFields == null || $allValues == null) {
$doc = JFactory::getDocument();
$js = 'do_nothing( function() {
var el = document.getElementById(\''.$this->prefix.$field->field_namekey.$this->suffix.'\');
window.hikashop.changeState(el,\''.$stateId.'\',\''.$field->field_url.'field_type='.$form_name.'&field_id='.$stateId.'&field_namekey='.$stateNamekey.'&namekey=\'+el.value);
});';
$doc->addScriptDeclaration($js);
}
By:
if($allFields == null || $allValues == null) {
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();
$locale = strtolower(substr($lang->get('tag'),0,2));
$js = 'do_nothing( function() {
var el = document.getElementById(\''.$this->prefix.$field->field_namekey.$this->suffix.'\');
window.hikashop.changeState(el,\''.$stateId.'\',\''.$field->field_url.'lang='.$locale.'&field_type='.$form_name.'&field_id='.$stateId.'&field_namekey='.$stateNamekey.'&namekey=\'+el.value);
});';
$doc->addScriptDeclaration($js);
}
It will add the parameter "lang" to the url so your system plugin which made a redirection won't show up and break the feature.
____________________________


Please help. We just want to start our web store and now this.
Thank for your quick help.

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

  • Posts: 75
  • Thank you received: 1
11 years 1 week ago #129444

I just remember that I have change the zones of the US states to country and have change the county to state. Now I have 50 different country. Maybe paypal can not handle this.

__________________________
As you you wrote in another thread:
If you do like you're saying, paypal won't get the correct fields. It's however possible to override the paypal_end.php file in your template and set back the data in the correct fields with a few lines of code.
________________________________________

If this is a possible solution of my issue. How and where can I make this modification. Maybe you can provide me a "few lines of code".
Thank you.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 1 week ago #130016

Hi,

Please create a new thread with all basic information that are missing here (website, hikashop version, etc).
You are posting on a thread which have more than one year old and your problem is very very different than the original post.

Regards,

PS: For quotes, please use the special "quote" tag, much easier to read !


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.

Time to create page: 0.073 seconds
Powered by Kunena Forum