Skip to main content

PayPal redirection error

More
12 years 2 months ago #163325 by MumsHealth
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.29
-- Browser(s) name and version -- : Internet Explorer 6-8
-- Error-message(debug-mod must be tuned on) -- : N/A

A couple of months ago I discovered that customers using IE 6-8 would often get impatient and click the "Pay Now" button when being redirected to paypal. No popup would appear and the redirection would stop so you would effectively have to start the order process over.

I fixed this by editing one of the core php payment files and removing the "Pay now" button. I only now realize that having updated hikashop this change was reverted.

This file doesn't seem to be available in the views menu. How can make this change permanently so that I don't have to fix it every time I update?

Thanks

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

More
12 years 2 months ago #163332 by Jerome
Replied by Jerome on topic PayPal redirection error
Hi,

You do not need to edit the core file to change the "paypal_end" view, you can do it using view override.
It is like doing a classical view override in Joomla but in the path : "templates/YOUR_FRONTEND_TEMPLATE/hikashoppayment/paypal/paypal_end.php"
Just copy the original file and make your modification there.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: MumsHealth

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

More
12 years 2 months ago #163428 by MumsHealth
Replied by MumsHealth on topic PayPal redirection error
That path doesn't seem to work. I thought template overrides were located in "templates/YOUR_FRONTEND_TEMPLATE/html/com_hikashop"

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

More
12 years 2 months ago #163452 by nicolas
Replied by nicolas on topic PayPal redirection error
Hi,

Jerome made a typo, it should be:
"templates/YOUR_FRONTEND_TEMPLATE/hikashoppayment/paypal_end.php"

template overrides of the Hikashop component are indeed inside "templates/YOUR_FRONTEND_TEMPLATE/html/com_hikashop" but not overrides for plugins compatible with the HikaShop component.
The following user(s) said Thank You: MumsHealth

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

More
12 years 2 months ago #163554 by MumsHealth
Replied by MumsHealth on topic PayPal redirection error
Thanks nicolas, that works. Is there any way to preview the changes on this page without having to place an order and getting redirected to paypal?

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

More
12 years 2 months ago #163575 by nicolas
Replied by nicolas on topic PayPal redirection error
There is no such possibility. The goal of that page is to place an order and redirect to PayPal.

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

Time to create page: 0.156 seconds
Powered by Kunena Forum