Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • shinsuke nakayama 109 posts 250 karma points
    Sep 06, 2016 @ 07:10
    shinsuke nakayama
    0

    Merchello and eWAY

    Hi guys,

    I'm currently looking at the eCommerce system for Umbraco. The Merchello looks really good but the only issue I have right now is Client wants to support eWAY payment gateway. Which is quite big in Australia.

    Is there a plugin that i can use to support this? if not, would you able to direct me to the right path so i can go and create a payment provider?

    Thank you

    Shinsuke

  • Simon Dingley 1444 posts 3371 karma points c-trib
    Sep 06, 2016 @ 07:18
    Simon Dingley
    1

    I've not written a payment Gateway from scratch yet but I have modified the Authorize.net one for my own requirements. I think the best place to get started is to look at the source for one of the existing providers:

    https://github.com/Merchello/Merchello.Plugin.Payment.AuthorizeNet https://github.com/Merchello/Merchello/tree/merchello-dev/src/Merchello.Providers/Payment

    I'm learning the code base by example and picking through existing providers to understand it all. If you get stuck post on here and someone should hopefully try and help you.

    Cheers, Simon

  • shinsuke nakayama 109 posts 250 karma points
    Sep 06, 2016 @ 07:26
    shinsuke nakayama
    0

    Thank you Simon,

    This was what i was looking for. Let me look into this and if i have any question i'll post it here :)

    Cheers

    Shinsuke

  • David Sheiles 63 posts 327 karma points
    Nov 08, 2016 @ 06:31
    David Sheiles
    0

    Hi Shinsuke,

    I have a client looking to use eWay Australia. I'd love to hear how you went with creating the plugin based on the Authorize.net one.

    Cheers,

    David

  • shinsuke nakayama 109 posts 250 karma points
    Nov 08, 2016 @ 06:42
    shinsuke nakayama
    0

    Hi David,

    I did start looking into it but then my project got put on hold and got pushed to next year :( It's on my todo list but haven't got around to it yet.

    Sorry :(

    I'll update this post once I got around to it.

  • David Sheiles 63 posts 327 karma points
    Nov 08, 2016 @ 09:17
    David Sheiles
    0

    Thanks Shinsuke,

    If my project goes ahead, I'll post back here to.

    Cheers,

    David

  • Damien Holley 151 posts 490 karma points
    Nov 14, 2016 @ 09:55
    Damien Holley
    1

    I have now used eWay on two systems, one I made my own functions and used the eWay SOAP interface.

    The one I just tested to see if it compiles (got to test the payment page yet) I used the eWay nuget package. But as it uses AutoMapper there were difficulties getting it to play with Umbraco.

    So I have recompiled a more modern version of Automapper and used different namespaces, I then recompiled the source of the eWay sdk (on github) to use the new namespaces.

    It seems to be working fine at the moment.

  • David Sheiles 63 posts 327 karma points
    Nov 14, 2016 @ 13:02
    David Sheiles
    0

    Thanks Damien. Can you share the Github link. Sounds like it could be perfect if my project goes ahead

  • Damien Holley 151 posts 490 karma points
    Nov 15, 2016 @ 05:56
    Damien Holley
    0

    Seriously, shouldn't umbraco be doing their own namespaces for these libraries if they are going to have a long time between full version updates and expect people to be able to use more modern stuff with it?

    I removed the newtonsoft.json whinge because you can simply update in your Umbraco solution and it seems to work.

    So far the new compile seems to be working well, a bit more testing and I can make the dlls available.

    Maybe a better Idea would be to fork the Umbraco build and rename the namespaces in that, but it is a much bigger task, maybe after I get married.

  • Damien Holley 151 posts 490 karma points
    Nov 15, 2016 @ 06:27
    Damien Holley
    0

    Ok, I have verified the libraries and eWay is now fully functional using the .net sdk on Umbraco!

    This is just the .Net version of the eWay SDK.

    All you need to do is use these dlls instead of the eway ones and update your Umbraco project to version 9 of newtonsoft.JSON.

    I will do a fork of Umbraco in the near future where I will hopefully use this technique to make the automapper used by umbraco namespace safe. This way we can use whatever plugins and add-ons we want.

  • Damien Holley 151 posts 490 karma points
    Nov 15, 2016 @ 07:48
    Damien Holley
    0

    Here are the DLL's, I didn't use a proper github fork for either of these projects. find them zipped up here

  • David Sheiles 63 posts 327 karma points
    Nov 17, 2016 @ 23:50
    David Sheiles
    0

    Thanks Damien, thats great. I'll give them a try.

  • Damien Holley 151 posts 490 karma points
    Dec 02, 2016 @ 22:37
    Damien Holley
    0

    hmm, just discovered that the update has allowed the usage of version 331 of automapper, which is the min version for eway.

    So the method now would be simply update to latest umbraco version then update automapper to 331 then install nuget eway package and you should be right, at least until they update it again.

  • Nigel Wilson 944 posts 2076 karma points
    Apr 29, 2017 @ 18:24
    Nigel Wilson
    0

    Hi Shinsuke and David

    I am New Zealand based and stumbled across eWay last year.

    I am now looking to implement Merchello + eWay for my partners website and intend hooking into the transparent redirect process (not redirect off website).

    Assuming I get something working, I'd be more than happy to provide the source, but initially wondered if either of you have made any progress in wiring up a Payment Provider for eWay.

    Cheers

    Nigel

  • Damien Holley 151 posts 490 karma points
    Apr 30, 2017 @ 00:42
    Damien Holley
    0

    Yeah eWay is now fully functional. MUCH easier than PayPal's ridiculous system.

    Actually the nuget for eWay is better than most payment systems I have had to incorporate so far. Support from eWay, whilst being annoying at times is still better too.

    I have never incorporated eWay into Merchello however as I never needed it, made my own shopfront as records are kept externally to website.

    But you should be able to hit Merchello's code and alter the calls to paypal and alter it to the eway code.

  • Damien (Slipoch) 62 posts 346 karma points
    Jul 19, 2017 @ 02:27
    Damien (Slipoch)
    0

    UPDATE: eWay's new nuget package is further forward from Umbraco again, however you can get a beta version of the next package that allows a greater variablity in the Automapper versions.

    Get it at: https://github.com/eWAYPayment/eway-rapid-net/issues/23?_pjax=%23js-repo-pjax-container

    Using this package and matching my automapper area of web.config to the below settings worked perfectly.

    <dependentAssembly>
        <assemblyIdentity name="AutoMapper" publicKeyToken="be96cd2c38ef1005" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="3.3.1.0" />
    </dependentAssembly>
    
  • Greg Woods 12 posts 92 karma points
    May 31, 2018 @ 07:23
    Greg Woods
    0

    Hi Damien

    I know this thread is a bit old but the latest eWay SDK is up to: AutoMapper (>= 6.2.2) Newtonsoft.Json (>= 10.0.3)

    So this just won't work to use to build and eWay payment provider for Merchello right?

  • Damien Holley 151 posts 490 karma points
    Aug 28, 2018 @ 00:16
    Damien Holley
    0

    nope, eWay (and Umbraco) have again screwed us. The only thing I would suggest is creating your own REST functions to send the data manually to eWay, but how that would integrate with Merchello, I am unsure.

    There are some people who have managed to run 2 versions of automapper simultaneously, But requires manually messing with your webconfig for every update and making sure the right process calls the right version.

    I have actually tested using reflection to do everything that automapper does, and found it quicker and easier to do than setting up automapper itself (let alone programming it).

    Please, people at Umbraco, please remove automapper. It's shit and you shouldn't need it.

Please Sign in or register to post replies

Write your reply to:

Draft