PayPal redirection error

  • Posts: 68
  • Thank you received: 8
  • Hikashop Business
10 years 4 months ago #163325

-- 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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 4 months ago #163332

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.

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.
The following user(s) said Thank You: MumsHealth

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

  • Posts: 68
  • Thank you received: 8
  • Hikashop Business
10 years 4 months ago #163428

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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 4 months ago #163452

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.

  • Posts: 68
  • Thank you received: 8
  • Hikashop Business
10 years 4 months ago #163554

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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 4 months ago #163575

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.060 seconds
Powered by Kunena Forum