Returning to the shop after payment
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.39
Is there a reason that customers are not sent directly to the after_end page after a successful credit card transaction (Authorize.Net SIM)? Instead they get to a rather sparse intermediary page and have to click on a link to get back to the shop. If there isn't a way around that, how about at least putting an auto redirect back to the shop into that sparse page?
Please Log in or Create an account to join the conversation.
There is already an auto redirect back to the shop into that "sparse page":
take.ms/18OmZ
(it's the file plugins/hikashoppayment/authorize/authorize_thankyou.php)
That intermediate page is necessary as we can't send directly the content of your thank you page when authorize.net requests it (it would require doing a cURL to your thank you page to then send the content to authorize.net, but it would be a problem with the head of the page, etc). It is much better to simply send it that intermediary page which then automatically redirects to the normal return page.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please reread my message. There is already an auto redirect on that intermediary page.
Please Log in or Create an account to join the conversation.
I read it just fine. It doesn't seem like you understood mine. There is no auto redirect. The code that I posted is all that page has to it. You can get to that page and it will just sit there until you click on the link to return to the site.nicolas wrote: Please reread my message. There is already an auto redirect on that intermediary page.
Please Log in or Create an account to join the conversation.
I think it could come from the hikashop notification plugin that we added in the last release.
Could you try disabling it via the Joomla plugin manager ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
As a temporary solution, you could publish back the plugin and replace the content of the file "plugins/hikashoppayment/authorize/\authorize_thankyou.php" by:
This way all the header will be present and correct, so the Javascript should owork properly and do the redirect.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Are you sure that you do not have any javascript error in your page ?
Why does not use simply a "Joomla application redirect" ? Something like
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It's authorize.net which is getting the HTML of the thank you page during the payment notification process and it doesn't accept 300 redirects. It has to be done as a javascript redirect.
I'm modified the code of the authorize_thankyou.php file to this:
Please Log in or Create an account to join the conversation.