Skip to main content

pay now button on checkout blocks the site

More
11 years 9 months ago #184884 by lacasetta
Hi Xavier,
today i updated to 2.3.5
Unfortunatelly this issue came back out!

my site with Hikashop
www.lacasettabio.it

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

More
11 years 8 months ago #185211 by Xavier
Hi,

Please check that the code of the file "plugins/hikashoppayment/paypal/paypal_end.php" is:
Code:
<div class="hikashop_paypal_end" id="hikashop_paypal_end"> <span id="hikashop_paypal_end_message" class="hikashop_paypal_end_message"> <?php echo JText::sprintf('PLEASE_WAIT_BEFORE_REDIRECTION_TO_X', $this->payment_name).'<br/><span id="hikashop_paypal_button_message">'. JText::_('CLICK_ON_BUTTON_IF_NOT_REDIRECTED').'</span>';?> </span> <span id="hikashop_paypal_end_spinner" class="hikashop_paypal_end_spinner hikashop_checkout_end_spinner"> </span> <br/> <form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $this->payment_params->url;?>" method="post"> <div id="hikashop_paypal_end_image" class="hikashop_paypal_end_image"> <input id="hikashop_paypal_button" type="submit" class="btn btn-primary" value="<?php echo JText::_('PAY_NOW');?>" name="" alt="<?php echo JText::_('PAY_NOW');?>" /> </div> <?php foreach($this->vars as $name => $value ) { echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" />'; } //autosubmit the paypal form after the page loads and hide the submit button JRequest::setVar('noform',1); ?> </form> <script type="text/javascript"> <!-- document.getElementById('hikashop_paypal_form').submit(); //--> </script> <!--[if IE]> <script type="text/javascript"> document.getElementById('hikashop_paypal_button').style.display = 'none'; document.getElementById('hikashop_paypal_button_message').innerHTML = ''; </script> <![endif]--> </div>

If it is, please try to remove the code:
Code:
<!--[if IE]>
and:
Code:
<![endif]-->

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

More
11 years 8 months ago #185280 by lacasetta
Hi,
yes, i have that plugin.
I've deleted what you said.
But nothing is changed.
:(

my site with Hikashop
www.lacasettabio.it

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

More
11 years 8 months ago #185292 by Xavier
Hi,

Don't you have a cache issue ?
If not, please give us a new test account to your website.

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

More
11 years 8 months ago #185360 by lacasetta
Hi Xavier,
no i have any error, just the site blocked.
I've just sent you the administrator Keys.
Thanks

my site with Hikashop
www.lacasettabio.it

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

More
11 years 8 months ago #185371 by Xavier
Hi,

I just tried on your website and there is no issue.
The submit button is no displayed on the page redirecting to paypal, so we can't click on it and lock the page.

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

More
11 years 8 months ago #185484 by lacasetta
Hi,
you are quite right. Now the pay button is showed for 2 second; after then it desappear.
So, i don't like to waste you more time.
It is ok.
Unfortunatelly i find something wrong on my checkout:
when you chose the payment you have to push the next button.
Only on the payment step you have to push the button twice.
Could you check and help me for that please?
regards

my site with Hikashop
www.lacasettabio.it

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

More
11 years 8 months ago #185524 by Mohamed Thelji
Hello,
Your issue is probably coming from your "Auto submit shipping and payment methods selection" option, you'll have to set it to YES if you don't want your customers to click 2 times on next.

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

More
11 years 8 months ago #185698 by lacasetta
Hi,
yes you're right!
Thank you.
Best regards

my site with Hikashop
www.lacasettabio.it

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

Time to create page: 0.244 seconds
Powered by Kunena Forum