Henk Boer
Henk Boer
Offline
I'm new and try arastta locally

I'm looking for a plugin ideal (Mollie) for Netherlands.
Can someone tell me how I can create this in Arrastta.

groet henk
Monday, July 04 2016, 11:26 AM
Share this post:
Responses (14)
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Monday, July 04 2016, 02:52 PM - #Permalink
    Henk Boer wrote:

    I'm new and try arastta locally

    I'm looking for a plugin ideal (Mollie) for Netherlands.
    Can someone tell me how I can create this in Arrastta.

    groet henk


    I have this plugin but keep getting an error
    mollie-opencart-6.3.0.zip

    Groet Henk
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 06 2016, 10:10 PM - #Permalink
    Henk Boer wrote:
    I have this plugin but keep getting an error
    mollie-opencart-6.3.0.zip


    If you post a link to the module, and it's freely available, someone might feel for testing it out.
    If you post your error details, someone might know what is wrong, without having to test it.
    ;)
    The reply is currently minimized Show
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Thursday, July 07 2016, 12:31 PM - #Permalink
    Hi Rune Rasmussen,

    Thanks for your response to my question. Below is a link to the creator of the plugin.
    I have the link to the page where all modules are displayed In order to see which modules the most suitable for arastta

    The plugin is free to download. https://www.mollie.com/nl/modules

    Greeting,
    Henk
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 09 2016, 12:27 AM - #Permalink
    Rune Rasmussen wrote:
    If you post your error details, someone might know what is wrong, without having to test it.
    ;)
    The reply is currently minimized Show
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Saturday, July 09 2016, 12:18 PM - #Permalink
    Hi Rune Rasmussen,

    Sorry forgot to add the error. This is the message in a first attempt.

    Notice: Error: Could not load model C:\wamp64\www\ArasttaTest/admin/model/setting/extension.php! in C:\wamp64\www\ArasttaTest\system\engine\loader.php on line 60

    And this is the link to the plugin I used.

    https://github.com/mollie/opencart/releases

    Henk
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 09 2016, 01:24 PM - #Permalink
    Here you can see info about the OpenCart compatibility: https://arastta.org/docs/developers/opencart-compatibility
    Arastta is based on OpenCart 2.0.1

    So you would need to use an older version of the module supporting this, and not the OpenCart 2.2+ version you are using now.
    Version 6.2.9 might work, else go back to an even older. Something around April/May 2015 should work almost for sure, as that was the time for forking Arastta.
    The reply is currently minimized Show
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Saturday, July 09 2016, 09:54 PM - #Permalink
    Thanks for your answer

    I tried 6.2.2 Release date April 30, 2015
    I tried all the other plugins but keep getting the same error message.
    Notice: Error: Could not load model C:\wamp64\www\ArasttaTest/admin/model/setting/extension.php! in C:\wamp64\www\ArasttaTest\system\engine\loader.php on line 60

    I've added the plugin open cart 2.0.1.

    If anyone knows the solution
    thanks
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 09 2016, 10:40 PM - #Permalink
    It's actually quite weird it's looking for that file, as it doesn't exist in OC 2.0.1 neither. Wonder if this module work on anything ...
    Looking at the release dates it seems rather messy, with rapid releases.

    Btw! Did you clean up before adding the older version? Uninstalling module and removing all files from previously tested version?

    Henk Boer wrote:
    I've added the plugin open cart 2.0.1.

    What do you actually mean with this?

    Edit! Reading the code I found out this module is written in a way requiring it to be rewritten for Arastta (is it supporting both OC 1.5 and 2?).
    T.ex. it's having code like this:
    	protected function getExtensionModel ()
    {
    if ($this->isOpencart2())
    {
    $this->load->model("extension/extension");

    return $this->model_extension_extension;
    }

    $this->load->model("setting/extension");

    return $this->model_setting_extension;
    }


    The "isOpencart2" will not work in Arastta, and this is the main reason for the error(s) ...
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 11 2016, 01:29 AM - #Permalink
    You may get it working by making the following change:

    OPEN
    catalog/controller/payment/mollie/base.php

    FIND
    return version_compare(VERSION, 2, ">=");

    REPLACE
    return true;
    The reply is currently minimized Show
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Monday, July 11 2016, 11:35 AM - #Permalink
    Denis Thanks

    Now get everything installed

    I have to adjusting two files.
    catalog / controller / payment / Mollie / base.php
    admin / controller / payment / Mollie / base.php

    But get it now three times (see example)

    If I want to remove one I get an error message

    Thanks
    Henk
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 11 2016, 12:24 PM - #Permalink
    Have you cleaned up after previous tests? Reverted the site to pre-test Mollie, or tested on a new clean install?
    Have you at least uninstalled each of those payment options, and then re-uploaded the files?

    In case things got messed up in the database previously ...
    The reply is currently minimized Show
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Monday, July 11 2016, 12:38 PM - #Permalink
    Hallo Rune

    I did all the tests on a new clean installation
    so I'm sure it does not cause problems.

    I use wampserver to test everything on my computer.
    then a new installation is not as much work

    Henk
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 11 2016, 01:02 PM - #Permalink
    In short, did you test on a completely new clean install after doing the change proposed by Denis? Anyhow, if you don't do code or debugging, this module might be a problem for you in the long run. Unless you manage to get the developer (or anyone else) to rewrite it for Arastta.

    In the module it's 9 payment options, in the image you have 12 with the duplicates. And no, they are not all 3 times, only PayPal is. Bitcoin t.ex. is only listed once, so try to figure out what is different in those displaying 2-3 times. Maybe also test it on OC, to see if it actually works, or have same issues there.

    And/Or try that 5.2.7 version, having the options combined.
    The reply is currently minimized Show
  • Accepted Answer

    Henk Boer
    Henk Boer
    Offline
    Monday, July 11 2016, 01:43 PM - #Permalink
    I've done it every time with a clean installation
    As Denis proposed.

    I have after installing six pages with pay options
    I have a screenshot of one page created.

    But now have three payment options for all

    Henk
    The reply is currently minimized Show
Your Reply