Skip to main content

Responsive version of Paybox

More
7 years 8 months ago - 7 years 8 months ago #302398 by ButterflyPixel
-- 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 attachment is hidden for guests.
Please log in or register to see it.
Last edit: 7 years 8 months ago by ButterflyPixel.

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

More
7 years 8 months ago #302401 by nicolas
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:
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:
Code:
$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.

More
7 years 8 months ago #302433 by ButterflyPixel
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.

More
7 years 7 months ago #304025 by ButterflyPixel
Hello, is it possible to integrate this fix into plugin please ?
Thanks !

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

More
7 years 7 months ago #304026 by nicolas
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.

More
7 years 6 months ago #304596 by ButterflyPixel

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.

More
7 years 6 months ago #304601 by nicolas
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.261 seconds
Powered by Kunena Forum