Merchello Paypal for Umbraco

Home » ASP.NET MVC » C# » Merchello Paypal for Umbraco
Umbraco Logo

I have recently been working on an Umbraco 7 based site.

Umbraco is a little strange to get used to for a developer due to the fact that it overrides some the MVC defaults, and has different types of controllers such as Surface controllers (which are used to render content) and Custom Controllers (that can be used to intercept Umbraco content pages) – more information can be found at http://stackoverflow.com/questions/25603722/surface-controller-or-custom-controller-in-umbraco-7 for anybody interested in this.

I thought it might be a good idea to investigate Merchello as the site in question only had a small number of products (the Merchello product catalogue typical of many Umbraco packages stores its data in the Umbraco content tree, which is good for web pages but not so good if you have 30,000 products).

Anyway I only had a few products, so I quickly set this up and then thought about adding the Merchello Paypal plugin.

Merchello is available at: http://merchello.com/ and the Paypal payment provider is available at https://our.umbraco.org/projects/collaboration/merchello-paypal-express-payment-provider/

Again fairly easy to setup, but it doesn’t work. An error message appears when you try to access your Paypal account for real. This is because a DLL is missing from the package.

The answer is to download the Merchello example site from https://github.com/Merchello/Merchello, then open the Paypal plugins in Visual Studio, ensure any nuGet packages are restored, and then build. Copy this DLL into your website project, and hey presto! Everything works!

If anybody would like a more detailed explanation please comment and I’ll fill this post out a bit.

About Phil

I have been working as a software developer since 1983. This blog could have been called "From Fortran 77, C and Cobol to C# in 20 (not so) easy years", but it doesn't sound quite right somehow. Besides I'm talking about what's happened since 2003, not before!
2 Responses to “Merchello Paypal for Umbraco”
  • David Bachmann

    Hello Phil,

    I had a similar issue, i installed the core through nuget and the paypal through the packages in the back office of UMBRACO. And it did not work and even gave an error message so i could not access anything in the UMBRACO.

    I then saw that the DLLs where present in the BIN folder but not included in the project, so i included them and also right clicked each one of them and chose the copy to local (if newer) option to have them copied there, and then the site started working. Hope this can help..

    Now i do simply not understand how to get started? I have a simple site where one can add contributions (to charity) and want Merchello Paypal Express to do the work. What am i supposed to do?
    The PDF says “After installation, simply navigate back to the Merchello > Settings > Gateway Providers.” but i dont have this one. Is this beacuse i installed the core through NUGET?

    d.

    Reply
    • David Bachmann

      Okay i think it helped downloading local and reinstalling now i have a merchello tab in the back office

      Reply

Leave a Reply

Your email address will not be published.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>




Top Posts & Pages

Categories

Recent Posts

Recent Comments

Archives

Blogroll

  • Mike Cohn's Blog
  • Scott Hanselman's Blog
Be a Great Product Owner: Six Things Teams and Scrum Masters Need

Learn six ways effective product owners ensure their teams’ success. [...]

What Happens When During a Sprint

Succeeding with Scrum is easier when you know when and why to conduct each of the Scrum events during the sprint. [...]

What Are Agile Story Points?

Story points are perhaps the most misunderstood topic in agile. Story points are not based on just one factor--such as complexity, as is often mistakenly claimed. Instead, story points are based on a combination of factors. [...]

Don’t Equate Story Points to Hours

I’ve been quite adamant lately that story points are about time, specifically effort. But that does not mean you should say something like, “One story point = eight hours.” Doing this obviates the main reason to use story points in the... [...]

Epics, Features and User Stories

I've been getting more and more emails lately from people confused about the difference between "user stories", "epics" and "features." So I thought this month we'd return and cover some basic--but very helpful--territory by explaining those terms. First, the terms don't matter that much. These are not terms with important specific meanings like "pointer" to a programmer or "collateralized debt obligation" to whomever it is that's important. [...]

- Scott Hanselman
Use your own user @ domain for Mastodon discoverability with the WebFinger Protocol without hosting a server

Mastodon is a free, open-source social networking service that is decentralized and distributed. It was created in 2016 as an alternative to centralized social media platforms such as Twitter and Facebook. One of the key features of Mastodon is the use of the WebFinger protocol, which allows users to discover and access information about other users on the Mastodon network. WebFinger is a simple HTTP-based protocol that enables a user to discover information about other users or resources on the internet by using their email address or other identifying information. The WebFinger protocol is important for Mastodon because it enables… [...]

- Scott Hanselman
I got tired

I have been blogging here for the last 20 years. Every Tuesday and Thursday, quite consistently, for two decades. But last year, without planning it, I got tired and stopped. Not sure why. It didn't correspond with any life events. Nothing interesting or notable happened. I just stopped. I did find joy on TikTok and amassed a small group of like-minded followers there. I enjoy my YouTube as well, and my weekly podcast is going strong with nearly 900 (!) episodes of interviews with cool people. I've also recently started posting on Mastodon (a fediverse (federated universe)) Twitter alternative that… [...]

- Scott Hanselman
Using Home Assistant to integrate a Unifi Protect G4 Doorbell and Amazon Alexa to announce visitors

I am not a Home Assistant expert, but it's clearly a massive and powerful ecosystem. I've interviewed the creator of Home Assistant on my podcast and I encourage you to check out that chat. Home Assistant can quickly become a hobby that overwhelms you. Every object (entity) in your house that is even remotely connected can become programmable. Everything. Even people! You can declare that any name:value pair that (for example) your phone can expose can be consumable by Home Assistant. Questions like "is Scott home" or "what's Scott's phone battery" can be associated with Scott the Entity in the… [...]

- Scott Hanselman
JavaScript and TypeScript Projects with React, Angular, or Vue in Visual Studio 2022 with or without .NET

I was reading Gabby's blog post about the new TypeScript/JavaScript project experience in Visual Studio 2022. You should read the docs on JavaScript and TypeScript in Visual Studio 2022. If you're used to ASP.NET apps when you think about apps that are JavaScript heavy, "front end apps" or TypeScript focused, it can be confusing as to "where does .NET fit in?" You need to consider the responsibilities of your various projects or subsystems and the multiple totally valid ways you can build a web site or web app. Let's consider just a few: An ASP.NET Web app that renders HTML… [...]

- Scott Hanselman
A Nightscout Segment for OhMyPosh shows my realtime Blood Sugar readings in my Git Prompt

I've talked about how I love a nice pretty prompt in my Windows Terminal and made videos showing in detail how to do it. I've also worked with my buddy TooTallNate to put my real-time blood sugar into a bash or PowerShell prompt, but this was back in 2017. Now that I'm "Team OhMyPosh" I have been meaning to write a Nightscout "segment" for my prompt. Nightscout is an open source self-hosted (there are commercial hosts also like T1Pal) website and API for remote display of real-time and near-real-time glucose readings for Diabetics like myself. Since my body has an… [...]

Meta