- Posts: 92
- Thank you received: 0
After_End must be messed up as i got an error mess
- target4fun
-
Topic Author
- Offline
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0
-- Error-message(debug-mod must be tuned on) -- :
(function() {
var _fbq = window._fbq || (window._fbq = []);
if (!_fbq.loaded) {
var fbds = document.createElement('script');
fbds.async = true;
fbds.src = '//connect.facebook.net/en_US/fbds.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
})();
window._fbq = window._fbq || [];
window._fbq.push();
enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );
After_End plugin must be messed up.
I added a FB script to this to help track conversions sales. My only thought is that some how I must have put the script in the wrong place? The first Screen Shot is of the error I got and it didnt send me to thank you page.
The transaction works and charges the customer it just does not give them a "thank you" page as configured in the after_end.
I also took a screen shot of my after end hopefully we can find the error. Here it is:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.3.5
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
<!-- Facebook Conversion Code for Arma15 checkout -->
<script>(function() {
var _fbq = window._fbq || (window._fbq = []);
if (!_fbq.loaded) {
var fbds = document.createElement('script');
fbds.async = true;
fbds.src = '//connect.facebook.net/en_US/fbds.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
})();
window._fbq = window._fbq || [];
window._fbq.push();
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src=" www.facebook.com/tr?ev=6021596052447&cd [value]=0.01&cd[currency]=USD&noscript=1" /></noscript>
<?php
$app = JFactory::getApplication();
$app->enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );
Please Log in or Create an account to join the conversation.
If you remove the script, do you have the 404 error ?
Please try to put the code after the thank you message code.
Could you check if there is no Javascript error present on the page ?
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Please Log in or Create an account to join the conversation.
I don't think that it comes from the after_end view file and the code you posted looks good.
Your error either comes from the customization of the "end" view file or the end files of the payment plugin you're using.
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
As far as the plugin I took a screen shot of the settings. The only thing I can think is the redirect url is blank but I figured that is only if you want to add a custom redirect url. I took a screen shot of the plug in settings. The DEBUG was turned on could this have affected anything? I turned it off since it doesnt appear to be providing any extra info.
Please Log in or Create an account to join the conversation.
I've checked your website and I think that it comes from the settings of your PayPal advanced payment method.
Can you check that the URL you entered in the "return URL" parameter there is valid ?
What if you change the "type" option ? Does it help ?
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Changed the form "type" back to iframe as it redirected the user to a paypal site which defeats the purpose of that plugin as I want the customer to do it all on my site.
Please Log in or Create an account to join the conversation.
Please edit your paypal advanced plugin "plugins/hikashoppayment/paypaladvanced/paypaladvanced.php" and update the content of the last function
So you will have two "paypaladvanced" php file in the root of your Joomla website ; one for the private notification and another for the user return.
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.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Please Log in or Create an account to join the conversation.
As Jerome said, once you do the change in the code of the plugin, you will need to re-save your paypal advanced configuration. Otherwise it won't help.
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please provide a backend and a ftp access to your website thanks to the contact us form.
www.hikashop.com/support/contact-us.html
Please also include a link to that forum thread so the support team will understand what to do with the credentials.
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.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Thanks for the access.
I tried to connect to the FTP but the host does not allow me to connect to the ftp port (21). I can access to the Joomla admin but not to the FTP.
So I'm not able to check the two PHP files that the plugin "paypal advanced" should create.
Does your server have some IP filtering ?
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.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
I sent a screen shot of my ftp accounts to your contact page. Hopefully this works.
Please Log in or Create an account to join the conversation.
I confirm that we get a "connection reset" error. So potentially an IP filtering as Jerome said.
Please see with your host provider if this kind of restriction is in place.
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Our offices IP address is
Part of the message is hidden for the guests. Please log in or register to see it.
I suppose that they must be blocking it. Our ISP (OVH) is only for companies and is also a hosting company so I suppose that they must have blocked the whole range of IP addresses of OVH because of the servers they have and in the process, also blocked all the customers of the ISP side of their business to access their servers, including yours.
Please Log in or Create an account to join the conversation.
- target4fun
-
Topic Author
- Offline
- Posts: 92
- Thank you received: 0
can you check if that ip is blacklisted or what
10:23:11pmchris stockton
"IP deleted for safety reasons but I gave them the Ip posted above."
10:25:02pmJacob
Are you using file zilla though?
10:25:26pmchris stockton
i have no idea what they are using. I have two moderators try to get access and cant.
10:25:34pmchris stockton
www.hikashop.com/forum/checkout/875247-a...t-an-error-mess.html
10:26:54pmJacob
Ok let me check a few things
10:27:11pmJacob
That IP is not blocked
10:27:42pmchris stockton
Is there some common problems where I can bring them up to speed that they might need to know
10:27:58pmchris stockton
I dont know why they cant get access to port 21.
10:28:36pmchris stockton
I gave them the user name and pw to fix my website they are the program developers so I imagine they know how to work an ftp but who knows whats going on
10:28:33pmJacob
File zilla can cause problems if they are using the new version of that. Have them follow this link
10:28:40pmJacob
my.bluehost.com/cgi/help/264
10:28:59pmchris stockton
Thanks jacob for all your help. I will update them on this issue.
send
Please Log in or Create an account to join the conversation.