Adnan Nahri Posted April 28, 2022 Share Posted April 28, 2022 (edited) Dear Prestashop users, I have encountred a huge problem while trying to impelment a module that would basically allow clients to pay directly using their bank account, as their card can be limited to certain amounts. Once I have set up the module, tested the API connection and all, I tried going to my store and ordering to see if everything is good, suprisingly I have noticed that only the last method of payment is available, while it idealy should show the old method (Credit Cards) + the new one (Bank Account Payment). I am running 1.7.4.2 on this store, and I have checked the hooks and it seems that this second module can only be transplanted on the "Paymentoptions" hook, while the old one is transplanted on various hooks (as it should be, I guess). In Payment Preferneces I have noticed that the new module dosen't the have the currency set on, instead it just have -- instead of a clickable checkmark. The 1st one is the Module I have been using, 2nd and 4th are native Prestashop modules for Cheques and Bank Transfers, the 3rd one is the new module. Any Help would be highly appreciated Thanks! Edited April 28, 2022 by Adnan Nahri (see edit history) Link to comment Share on other sites More sharing options...
Adnan Nahri Posted April 28, 2022 Author Share Posted April 28, 2022 On payment Preferences I can see the error below : And on debug mode the same error is there without any further info, for me to be able to tweak it for a solution. Link to comment Share on other sites More sharing options...
abdullacm Posted April 29, 2022 Share Posted April 29, 2022 is your module listing in module manager/catalog? Link to comment Share on other sites More sharing options...
Adnan Nahri Posted April 30, 2022 Author Share Posted April 30, 2022 On 4/29/2022 at 5:39 AM, abdullacm said: is your module listing in module manager/catalog? Yes I can see each one in /module/manage Link to comment Share on other sites More sharing options...
abdullacm Posted May 1, 2022 Share Posted May 1, 2022 On 4/29/2022 at 5:18 AM, Adnan Nahri said: On payment Preferences I can see the error below : And on debug mode the same error is there without any further info, for me to be able to tweak it for a solution. is this error still exists ? Link to comment Share on other sites More sharing options...
Adnan Nahri Posted May 11, 2022 Author Share Posted May 11, 2022 On 5/1/2022 at 9:57 AM, abdullacm said: is this error still exists ? Yes, still not able to solve it. Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 11, 2022 Share Posted May 11, 2022 On 4/29/2022 at 4:46 AM, Adnan Nahri said: Dear Prestashop users, I have encountred a huge problem while trying to impelment a module that would basically allow clients to pay directly using their bank account, as their card can be limited to certain amounts. Once I have set up the module, tested the API connection and all, I tried going to my store and ordering to see if everything is good, suprisingly I have noticed that only the last method of payment is available, while it idealy should show the old method (Credit Cards) + the new one (Bank Account Payment). I am running 1.7.4.2 on this store, and I have checked the hooks and it seems that this second module can only be transplanted on the "Paymentoptions" hook, while the old one is transplanted on various hooks (as it should be, I guess). In Payment Preferneces I have noticed that the new module dosen't the have the currency set on, instead it just have -- instead of a clickable checkmark. The 1st one is the Module I have been using, 2nd and 4th are native Prestashop modules for Cheques and Bank Transfers, the 3rd one is the new module. Any Help would be highly appreciated Thanks! What about the Carrier & Country restriction below on this page? are they checked? Link to comment Share on other sites More sharing options...
Adnan Nahri Posted May 11, 2022 Author Share Posted May 11, 2022 8 minutes ago, SMTmardan said: What about the Carrier & Country restriction below on this page? are they checked? Checked, same for the one working payment option. I suppose I need to make a bit of modifications on the Payment.tpl file in order to make the payment options show as radio buttons. Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 11, 2022 Share Posted May 11, 2022 Just now, Adnan Nahri said: Checked, same for the one working payment option. I suppose I need to make a bit of modifications on the Payment.tpl file in order to make the payment options show as radio buttons. no you dont need modification in Payment.tpl normally... Are you using onepage checkout? which PHP version are you using? the payment modules are configured properly? "i suspect the payment module are not configured properly!" Link to comment Share on other sites More sharing options...
Adnan Nahri Posted May 11, 2022 Author Share Posted May 11, 2022 33 minutes ago, SMTmardan said: no you dont need modification in Payment.tpl normally... Are you using onepage checkout? which PHP version are you using? the payment modules are configured properly? "i suspect the payment module are not configured properly!" I believe they are configured properly as each one is working fine, but once I activate the 2nd one the 1st one just goes away. Link to comment Share on other sites More sharing options...
Adnan Nahri Posted May 11, 2022 Author Share Posted May 11, 2022 I'm running Prestashop 1.7.4.2 on Php 7.1 as it is the recommended compatible version. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now