Responsive version of Paybox

  • Posts: 143
  • Thank you received: 9
5 years 10 months ago #302398

-- url of the page with the problem -- : www.soinsdetoi.com/
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.2
-- Browser(s) name and version -- : All

Hello,
we were problem with Paybox who wasn't responsive in the version we used, support told us to switch to the responsive url :
"La page que vous utilisez n’est pas une page responsive, il s’agit de la page de paiement Iframe ou mobile. Si vous souhaitez accéder à une page de paiement responsive, il faut utiliser l’url tpeweb.paybox.com/cgi/FramepagepaiementRWD.cgi et tpeweb1.paybox.com/cgi/FramepagepaiementRWD.cgi ."
I already don't understand why there is a "mobile" version and a "responsive" version but perhaps Paybox knows...
Provided documentation, but i would like to know if there is an option to switch to "responsive" version in hikashop plugin or if we need to manually override the plugin, if yes could you let me know witch file we need to modify ?
Regards,
Olivier

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:
Last edit: 5 years 10 months ago by ButterflyPixel.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 10 months ago #302401

Hi,

I also don't see why they would make a different page instead of just changing the page they already have to include the responsive.
But well, let's work with what we have.
In the file plugins/hikashoppayment/paybox/paybox.php, you'll find the code:

$this->url = 'https://'.$srv.'/cgi/MYchoix_pagepaiement.cgi';

		if(!empty($this->payment_params->iframe)) {
			$this->url = 'https://'.$srv.'/cgi/MYframepagepaiement_ip.cgi';
		}
You can try changing it to:
$this->url = 'https://'.$srv.'/cgi/FramepagepaiementRWD.cgi';

		if(!empty($this->payment_params->iframe)) {
			$this->url = 'https://'.$srv.'/cgi/MYframepagepaiement_ip.cgi';
		}
Then, check that you have the "iframe" option turned off in your paybox payment method.
Please let us know how it goes.
We could potentially add that change on our end if that works fine and provide a better experience so that no modification would be required for anyone else nor for future updates of HikaShop on your end.

The following user(s) said Thank You: ButterflyPixel

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

  • Posts: 143
  • Thank you received: 9
5 years 10 months ago #302433

Hello,
so effectively it's really better :
snap.ashampoo.com/ga7zXvhbpOq66J4GTZ2ghB...x4TLwPs8rm3uQSnJVmIY
This page is responsive without the need to use the iframe.
Thanks !
Olivier

The following user(s) said Thank You: Philip

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

  • Posts: 143
  • Thank you received: 9
5 years 9 months ago #304025

Hello, is it possible to integrate this fix into plugin please ?
Thanks !

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 9 months ago #304026

Hi,

Yes. This has been added on our end one month ago and will be in the next release of HikaShop.

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

  • Posts: 143
  • Thank you received: 9
5 years 8 months ago #304596

nicolas wrote: Hi,

Yes. This has been added on our end one month ago and will be in the next release of HikaShop.


Hi, sorry to ask but as i can't see it in changelog i prefer asking before updating : is this fix included in 4.03 version ?
Regards,

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 8 months ago #304601

Hi,

That's my bad. I added the patch but forgot to add the entry for the changelog. So yes, it's in the 4.0.3

The following user(s) said Thank You: ButterflyPixel

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

Time to create page: 0.068 seconds
Powered by Kunena Forum