- Posts: 7
- Thank you received: 0
it's stopped when redirect to alipay
- Cokin Kong
-
Topic Author
- Offline
Less
More
11 years 7 months ago #191540
by Cokin Kong
it's stopped when redirect to alipay was created by Cokin Kong
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : firefox. 35.0.1
Dear Sirs,
I have a problem, it's always stop on this page when redirect to alipay, and only after click on the The button below, It will continue to work.
please check herewith attached screenshot of stopped page.
we appreciate to any idea for this problem.
Thank you all!
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : firefox. 35.0.1
Dear Sirs,
I have a problem, it's always stop on this page when redirect to alipay, and only after click on the The button below, It will continue to work.
please check herewith attached screenshot of stopped page.
we appreciate to any idea for this problem.
Thank you all!
Please Log in or Create an account to join the conversation.
11 years 7 months ago #191553
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic it's stopped when redirect to alipay
Hello,
I'm pretty sure it would help if you provided a translation of what the button says, and eventually also the 2 lines above...
I'm pretty sure it would help if you provided a translation of what the button says, and eventually also the 2 lines above...
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
11 years 7 months ago - 11 years 7 months ago #191558
by nicolas
Replied by nicolas on topic it's stopped when redirect to alipay
Hi,
It's probably a javascript conflict between Mootools and your template's javascript.
Try to remove the code:
from the file plugins/hikashoppayment/alipay/alipay_end.php and add at that code:
at the end of that file.
It's probably a javascript conflict between Mootools and your template's javascript.
Try to remove the code:
Code:
$doc = JFactory::getDocument();
$doc->addScriptDeclaration("window.addEvent('domready', function() {document.getElementById('hikashop_alipay_form').submit();});");
Code:
<script type="text/javascript">
<!--
document.getElementById('hikashop_alipay_form').submit();
//-->
</script>
<!--[if IE]>
<script type="text/javascript">
document.getElementById('hikashop_alipay_button').style.display = 'none';
document.getElementById('hikashop_alipay_button_message').innerHTML = '';
</script>
<![endif]-->
Last edit: 11 years 7 months ago by nicolas.
Please Log in or Create an account to join the conversation.
- Cokin Kong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 7 months ago #191632
by Cokin Kong
Replied by Cokin Kong on topic it's stopped when redirect to alipay
Thank you for your reply, nicolas and lousyfool. please check attached picture.
after removing the code:
the problem is continue, should i use other code replace it?
looking forward to you reply,
Thank you!
after removing the code:
Code:
$doc = JFactory::getDocument();
$doc->addScriptDeclaration("window.addEvent('domready', function() {document.getElementById('hikashop_alipay_form').submit();});");
looking forward to you reply,
Thank you!
Please Log in or Create an account to join the conversation.
- Cokin Kong
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
11 years 7 months ago #191658
by Cokin Kong
Replied by Cokin Kong on topic it's stopped when redirect to alipay
Hi, Nicolas,
this problem is resolved, Thank you very much.
this problem is resolved, Thank you very much.
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds