ragnabt Posted October 27, 2013 Share Posted October 27, 2013 Hi It always returns an text that says this payment method is not available when I click confirm button. I have sellya theme and onepagecheckout module. I do have bankwire payment for the guest group, currency and country. checked all database tables and everything is looking right. somehow the getpaymentmodules function is returning false, and i cant figure out why Any ideas?? code from the bankwire module validation.php / Check that this payment option is still available in case the customer changed his address just before the end of the checkout process $authorized = false; foreach (Module::getPaymentModules() as $module) if ($module['name'] == 'bankwire') { $authorized = true; break; } if (!$authorized) die($bankwire->l('This payment method is not available.', 'validation')); Link to comment Share on other sites More sharing options...
ragnabt Posted October 31, 2013 Author Share Posted October 31, 2013 Anyone have an idea why bankwire payment is not working :/ ??? Link to comment Share on other sites More sharing options...
vekia Posted October 31, 2013 Share Posted October 31, 2013 have you tried to contact with developer of this theme? @smartdatasoft Link to comment Share on other sites More sharing options...
ragnabt Posted November 2, 2013 Author Share Posted November 2, 2013 (edited) Hi No, i didn´t think it was a theme based problem :/ But in my poor effort to try to fix it i edited all my carriers and sat the checkboxes on the group access to active, I thought maybe it was because of that but then all of my carriers dissapeared in the checkout. I removed the checkboxes again on the group access but no luck, carriers didn´t show up again so I cant test the payment... or activate my shop until then Any ideas what that is about? Edited November 2, 2013 by ragnabt (see edit history) Link to comment Share on other sites More sharing options...
safa Posted November 3, 2013 Share Posted November 3, 2013 i think your problem source is onepagecheckout module. are you getting any error message standart (5 steps) prestashop order complate system ? Link to comment Share on other sites More sharing options...
ragnabt Posted November 3, 2013 Author Share Posted November 3, 2013 Just tried with the standard checkout module but the same thing, no shipping showing Link to comment Share on other sites More sharing options...
ragnabt Posted November 3, 2013 Author Share Posted November 3, 2013 somehow it doesnt count any carriers. I debugged a little and it says 0 carriers Link to comment Share on other sites More sharing options...
ragnabt Posted November 6, 2013 Author Share Posted November 6, 2013 Posted another topic on the carrier problem, cant move foreward until that is fixed :/ Link to comment Share on other sites More sharing options...
ragnabt Posted November 11, 2013 Author Share Posted November 11, 2013 Now i´m back to this problem (carrier issue is fixed), but the bankwire payment doesnt work in any form for checkout and not on default theme either. Any more ideas? Link to comment Share on other sites More sharing options...
ragnabt Posted November 14, 2013 Author Share Posted November 14, 2013 FINALLY I can say good bye to this one. I figured it out. On my last effort to try I decided to check the configuration table and it turned out that the values to the ps_customergroup and ps_guestgroup were incorrect. There was also missing one group in the group table. So it should be like this. group table and group_lang table 1 (visitor) 2 (guest) 3 (customer) configuration table ps_customer_group =3 ps_guest_group=2 ps_unidentified_group=1 I have no idea why this wasnt set, if it didnt happen when I upgraded or something i dont know. So if I dont bump into other errors because of these values then I consider this is how it should be Link to comment Share on other sites More sharing options...
ragnabt Posted November 21, 2013 Author Share Posted November 21, 2013 FINALLY I can say good bye to this one. I figured it out. On my last effort to try I decided to check the configuration table and it turned out that the values to the ps_customergroup and ps_guestgroup were incorrect. There was also missing one group in the group table. So it should be like this. group table and group_lang table 1 (visitor) 2 (guest) 3 (customer) configuration table ps_customer_group =3 ps_guest_group=2 ps_unidentified_group=1 I have no idea why this wasnt set, if it didnt happen when I upgraded or something i dont know. So if I dont bump into other errors because of these values then I consider this is how it should be Turned out it was only temporary, I could order one day. The next the same thing again. Link to comment Share on other sites More sharing options...
Recommended Posts