- Posts: 143
- Thank you received: 9
Responsive version of Paybox
- ButterflyPixel
-
Topic Author
- Offline
Less
More
7 years 8 months ago - 7 years 8 months ago #302398
by ButterflyPixel
Responsive version of Paybox was created 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
-- 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.
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.
7 years 8 months ago #302401
by nicolas
Replied by nicolas on topic Responsive version of Paybox
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:
You can try changing it to:
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.
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';
}
Code:
$this->url = 'https://'.$srv.'/cgi/FramepagepaiementRWD.cgi';
if(!empty($this->payment_params->iframe)) {
$this->url = 'https://'.$srv.'/cgi/MYframepagepaiement_ip.cgi';
}
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.
- ButterflyPixel
-
Topic Author
- Offline
Less
More
- Posts: 143
- Thank you received: 9
7 years 8 months ago #302433
by ButterflyPixel
Replied by ButterflyPixel on topic Responsive version of Paybox
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
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.
- ButterflyPixel
-
Topic Author
- Offline
Less
More
- Posts: 143
- Thank you received: 9
7 years 7 months ago #304025
by ButterflyPixel
Replied by ButterflyPixel on topic Responsive version of Paybox
Hello, is it possible to integrate this fix into plugin please ?
Thanks !
Thanks !
Please Log in or Create an account to join the conversation.
7 years 7 months ago #304026
by nicolas
Replied by nicolas on topic Responsive version of Paybox
Hi,
Yes. This has been added on our end one month ago and will be in the next release of HikaShop.
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.
- ButterflyPixel
-
Topic Author
- Offline
Less
More
- Posts: 143
- Thank you received: 9
7 years 6 months ago #304596
by ButterflyPixel
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,
Replied by ButterflyPixel on topic Responsive version of Paybox
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.
7 years 6 months ago #304601
by nicolas
Replied by nicolas on topic Responsive version of Paybox
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
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.225 seconds