Is it possible this extension https://www.opencart.com/index.php?route=marketplace/extension/info&member_token=1QmQMNm3lUtaKIxwrwacsWyiB9gqOW4A&extension_id=24359&filter_category_id=3&filter_license=0&filter_download_id=42 to be operational in Arastta ?

MyPOS is a very good, secure payment gateway and we are using it for 2 years on PrestaShop, but decided to switch to Arastta.

Thanks in advance

Attached all OC versions of the extension
Attachments:
Thursday, December 21 2017, 12:31 PM
Share this post:
Responses (10)
  • Accepted Answer

    Thursday, December 21 2017, 03:17 PM - #Permalink
    Hi Stefan,

    We think that version 2.3.0.2 is most likely to work with the minimal amount of development for conversion to Arastta. It may not need any development? This version is probably the closest fit to the Arastta MVC structure.

    There are only several files to extract and it looks like a fairly simple "Module". If it doesn't work out of the box then we suspect that it would not be too difficult to modify so that it does function.

    Perhaps if you installed it on Opencart ver 2.3.0.2 and had a look at the process and the files changed, it is likely to work as the code is already tested (this knowledge would help you understand what needs to change for Arastta).

    Arastta is supposed to be relatively compatible with Opencart, especially around version 2.3.0.2 when they first polished Opencarts code (it's in Arastta history https://arastta.org/history).

    Just back up your installation and follow the Arastta instructions for installing a "Module"?

    We could probably test it for you, but may need an account with myPOS first.

    It appears to be a payment gateway with an array of devices available for POS.

    Stripe is quite a good payment gateway for Arastta and we know this works. (https://stripe.com/works-with/categories/card-readers-pos).

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 21 2017, 03:49 PM - #Permalink
    MyPOS works and without any devices....
    Module doesn't install from the administration, some stupid error message came up. FTP Upload doesn't work as well.
    I'll check Stripe, but it's not well known on Bulgarian market.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 21 2017, 06:32 PM - #Permalink
    Hi Stefan,

    Based on our own advise, we thought we had better try it too. We used "mypos_v2302.zip". The file structure closely matches what appears to be correct. The "Extensions-Modifications" - Upload Extension - unfortunately failed for us on our first attempt.

    Note it is worth turning on Debugging and logging of error messages in :-

    "Settings-Edit Settings" - Server (tab).

    Debug System [yes]
    Display Errors [advanced]
    Log Errors [yes]

    Then you can go to "Tools" - "Error Logs" or path "system/log/error.log"

    In this instance there were no errors reported unfortunately.

    We also tried ftp to simply copy the files directly to the core directories as this often works if there is a problem with the extension installer. It didn't and created a 500 internal server error, so we would need to verify the files and paths to be loaded.

    Newer versions of Opencart and also Arastta track which extensions are installed in the admin - extensions-modifications too.

    If MyPOS doesn't require any devices, but you prefer a more direct paymant gateway then Stripe may still be helpful for direct credit card payment. It is gaining notoriety and the charges are less than Paypal.

    It is also part of the Arastta core, but does still require installation. It can be searched for in the Marketplace Extensions. However, we think it is easiest is to download it (so you can can have a look at the files and code within them too). FTP or the Admin - Extension installer also works too.

    https://extensions.arastta.pro/payment-gateways/stripe

    Appart from the additional upload directory in the "Stripe" download you will see it is a similar MVC structure to the MyPOS Module.

    It unfortunatley does not work as intended by default until Arastta addresses a couple of bugs, but it is easy to fix as per our post:-

    "https://arastta.org/forum/stripe-blank-confirm-order-page" (you only need the last post).

    Also, you will need "secret" and "public" api keys. Even if you are just testing use the respective public and secret keys in both test and live.

    Test Secret Api Key "sk_test_n7TYO6oqL7yGUxAWPANWkUU9" - example not usable.
    Test Publishable Api Key
    Live Secret Api Key
    Live Publishable Api

    At least you have an example of a working payment gateway and the principles of implementation. This is likely to help in getting the MyPOS working too.

    We would like to see MyPOS working, but at least you should be able to compare the two gateways and have another option to Paypal.

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 21 2017, 07:00 PM - #Permalink
    Hi Stefan,

    This may be useful :- https://arastta.org/docs/developers/quick-start (got to read it more thoroughly too).

    As the principles are the same for Arastta or Opencart (more information is accessible for Opencart due to it's popularity over a period of time) you could follow any of the Opencart examples for Module development in order to learn. Also, any developers that can work with Opencart should also be able to help with Arastta as any learning curve will be short due to their current experience.

    Tutorial with video
    https://opencart-training.com/creating-opencart-modules-part-1#.wjvxwfblgw0

    The Arastta team may incorporate MyPOS in the Marketplace or you could ask MyPOS to also include Arastta as an option.

    We would of liked to get it working for you, but we would need more time to develop it further. We think based on our initial examination that by following a simple example of module creation and ensuring all of the requirments are met, that most of the code in "mypos_v2302.zip" would be almost directly transferable to Arastta.

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 04 2018, 06:29 AM - #Permalink
    The file structure of the Opencart version doesn't match Arastta.
    Arastta added extra folders screwing up the ability to install opencart extensions.
    It takes a bit of work to get to the proper file structure.

    I've fix the opencart to install into Arastta in the attached file.

    It does install without any issue, but when trying to edit the module or trying to delete it,
    you get the following error:

    Fatal error: Class 'Controllerpaymentmyposvirtual' not found in /home/valleybee/store.valleybeekeeping.com/system/modification/system/engine/action.php on line 71


    Likely requires afile edit somewhere.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 04 2018, 06:45 AM - #Permalink
    Fixed it all up now.

    Installs and can edit settings now.
    Hoping all works ok.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 04 2018, 10:18 AM - #Permalink
    Thanks a lot, will try it today
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 08 2018, 08:09 PM - #Permalink
    Hi Breck,

    It looks like you had a lot of paths of folders and paths in files to adjust.

    Noticed you may of missed removing "Extension" in the class definition of :-
    "catalog/model/payment/mypos_virtual.php" (line 2)

    class ModelExtensionPaymentMyposVirtual extends Model {


    needs to be

    class ModelPaymentMyposVirtual extends Model {


    Not surprised with so many "extension" path changes you needed to make.

    Regards,

    Hackasacka
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 09 2018, 04:38 AM - #Permalink
    I did remove it at first and once installed, it was giving me a blank screen.
    Put it back and it showed the errors.

    I think it was because I hadn't edited all the other files yet.
    With the above change you suggested, I left it alone and it appeared to be ok, but you'd know better than me.

    I figured it shouldn't of been there first off.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 09 2018, 04:44 AM - #Permalink
    The reply is currently minimized Show
Your Reply