Author Topic: The community edition update from v 3 to v 8.1  (Read 3496 times)

Brian

  • Administrator
  • Hero Member
  • *****
  • Posts: 259
    • View Profile
    • KonaKart Website
Re: The community edition update from v 3 to v 8.1
« Reply #15 on: October 14, 2016, 02:26:31 AM »
You administer the modules in the KonaKart Admin Console.  That's where you install / remove / configure them.  See under Modules >> Payment

If you remove a module from there it should not show up in your log like that.

Obviously the konakart and konakartadmin webapps must be using the same database.

catherine_i

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: The community edition update from v 3 to v 8.1
« Reply #16 on: October 14, 2016, 09:48:49 AM »
Sure, but version 8.3.0.0. has no "yourpay" module at all as I see. Is it correct? Is yourpay module some kind of legacy? I have delete from "installed modules" in "configuration" table strings "yourpay;" and "epaybg" and no exceptions now. But they are mentioned in other places of database also. Could I cause a side effects ?

Brian

  • Administrator
  • Hero Member
  • *****
  • Posts: 259
    • View Profile
    • KonaKart Website
Re: The community edition update from v 3 to v 8.1
« Reply #17 on: October 14, 2016, 09:57:49 AM »
Yourpay was retired in v7.4.0.0 (Feb 2015) because its gateway service was no longer available.

So really...  you shouldn't have had that active in your database for a long time. It wouldn't have worked.

Anyway, it sounds like you have removed it now so that's good.  You can remove its MODULE_*** configuration values if you wish but they won't be used.   Normally these are removed when you remove a module from the Admin Console but in your case you were using a version that didn't have the module to delete yet it was still present in a database from an earlier system that did have the module.   With the benefit of hindsight it would have been better to remove the modules before upgrading.

catherine_i

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: The community edition update from v 3 to v 8.1
« Reply #18 on: October 14, 2016, 02:34:56 PM »
There was no "YourPay" module in admin console after upgrade, you are right

catherine_i

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: The community edition update from v 3 to v 8.1
« Reply #19 on: October 22, 2016, 03:29:52 PM »
Everything works fine if before exporting konakart database you should remove all the shipment and payment modules (saving Order Totals modules untouched) then export database to a SQL file. Then import it in a new database, only then run the upgrade scripts.
But now I get  "Shipping Module null could not be found" when press "Export for shipping" on admin console , without exceptions in logs, why? I have installed USPS shipment module and want to see what is the "Export for shipping" functionality, could you tell me?

Violet19

  • Newbie
  • *
  • Posts: 1
  • Whats in the name
    • View Profile
    • LegalSteroids.Best
Re: The community edition update from v 3 to v 8.1
« Reply #20 on: January 27, 2017, 03:58:13 AM »

I have removed all payment modules and still got error during purchase :
Code: [Select]
KonaKart V8.1.0.0-C0 () built 1:40PM 5-Feb-2016 GMT [DB: 8.1.0.0 MySQL]

01-Sep 16:33:41 WARN  (?:init:?) engConf = null
01-Sep 16:33:41 ERROR (?:refreshConfigs:?) Could not instantiate the Payment Module com.konakart.bl.modules.payment.epaybg.Epaybg in order to refresh its configuration.
com.konakart.app.KKException: Cannot return the value of the MODULE_PAYMENT_EPAYBG_DECLINE_URL configuration parameter using the API. (Ask your administrator to set the 'return by API' flag for this configuration parameter if you need it to be returnable)
at com.konakart.bl.ConfigurationMgr.throwReturnByAPIException(Unknown Source)
at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
at com.konakart.app.KKEng.getConfiguration(Unknown Source)
at com.konakart.bl.modules.payment.epaybg.Epaybg.setStaticVariables(Unknown Source)
at com.konakart.bl.modules.payment.epaybg.Epaybg.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

I am having the same issue can anyone help

Brian

  • Administrator
  • Hero Member
  • *****
  • Posts: 259
    • View Profile
    • KonaKart Website
Re: The community edition update from v 3 to v 8.1
« Reply #21 on: January 31, 2017, 03:09:13 AM »
If you don't want the EPayBG module you need to remove it.

Remove the payment modules you don't want from the configuration_value for the configuration_key MODULE_PAYMENT_INSTALLED (this is in the configuration table in the database).

If you don't need any particular module you can remove its jar from the konakart and konakartadmin webapps (WEB-INF/lib directories)

You can also remove them from the "konakart.modules.payment" property in konakartadmin.properties if you don't want to appear in the Admin Console.

Code: [Select]
konakart.modules.payment=Authorizenet BarclaycardSmartPayHosted BarclaycardSmartPayApi Bluepay Caledon Chronopay Cod CommideaVanguard CyberSourceSA Elink Eway_au GlobalCollect MoneyBookers Netpayintl PayflowPro Payjunction Paypal Usaepay Worldpay WorldPayXMLRedirect