Menu Sidebar
Menu

dancameron

I'm on twitter @dancameron and this is my site so you'll want to read my about page too.

Progressive Pricing (with recurring pricing) for Easy Digital Downloads

A little background first…

To celebrate Christmas and get Sprout Apps jump started for the new year I’ve launched a huge discount on Sprout Invoices and Help Scout Desk. The sale sets the cheaper monthly plans of Sprout Invoices to a $1, then each day the price will increase until Christmas day (when I’ll just manually remove the filter I’m using below). This means that SI is a dollar today, two dollars tomorrow, and so on. For the yearly plans (which HSD uses) the price starts at 50% off and progressively decreases until the price is 100% of what it was.

How I’m handling this…

If you’re not using licensing with signup fees than I recommend you find the filter to change the price, then use similar logic to dynamically adjust the pricing. Since I’m using the licensing add-on for EDD with recurring payments than things are a bit more complicated 1.

Here’s a screenshot of the pricing for Sprout Invoices. You’ll see that the “price” is the recurring rate and the “signup fee” + the “price” is what people pay today. Hope that makes sense but I guess if you got this far you understand how the Recurring Payments add-on works.

sprout-invoices-pricing

With this sale I’ll need to change what people pay for the Freelancer license from $34.95 to $1. So how do I do that?

You’ll notice that I’m modifying the signup for all items, with a negative value (depending on the day). Remember that the pay today price is the “Price” plus the “Signup Fee”, so manipulating the signup fee will adjust the initial payment but won’t mess with the recurring price.

For example, the pay now for the Freelancer was $1 yesterday because the signup fee was set to negative $4. Removing the Signup Fee while decreasing the price.

Another more complex example, the pay now price for a Business Yearly yesterday was $70 because the signup fee had a negative value of $70; which is 50% off the total price. e.g. $140-$140*(((25-{day})*2)/100). Now tomorrow that percentage off will decrease automatically until the 25 day of the month when it will be 0% 2.

Hope that helps anyone else looking to manipulate the pricing of EDD products with recurring payments. Any suggestions?

Oh yeah. I forgot to mention that I’ve customized the checkout_cart template within the site’s theme so that the discount can be more visible.

Screen Shot 2014-12-02 at 3.44.46 PM

Notes:

  1. I posted about my issues with discounts and this setup before.
  2. This will likely be adjusted. I think I’ll slow down the progression for these so that people can at least get 10% off.

First! props.

A big change since I started Sprout Apps is putting aside time to contribute back to WordPress more. In the past my excuse of not contributing was always time but honestly bad experiences within core conversations and my lack of confidence held me back 1.

I’ve come to realize my excuses suck and that I have a lot to benefit from “giving back”, i.e. learn.

My first props! I learned a lot working on Trac #12668, most of which I can apply to my own coding practices. Anyway, with the direction of boone I was able to submit a patch (with unit tests) for a feature add and a second patch to tidy things up, that were accepted into trunk.

I’m really grateful that I was able to help and learn from a few exceptional developers…win, win! Only if I realized this sooner.

Notes:

  1. During my interview on apply_filters we discussed this in more detail if you want to know more about my experiences with contributing and what I’ve come to realize, including the realization of how naive I was.

Refunds

Over at Sprout Apps I respect our customers and I try to make that as clear as possible in our Terms. However, there’s one condition: we ask, no expect, respect in return.

Today I’ve been dealing with a customer that’s having a bit of buyers remorse. They’ve learned that their sales staff doesn’t want to use Sprout Invoices and instead wants to use another product. Their reasoning is that the “other product” has a few features that SI doesn’t have yet 1 and he’s told me that even though he “personally likes the software” he can’t convince his staff to use it. The customer goes on to say, “I will keep my eye on your progress and we might well convert at a later date…”. Obviously this isn’t an issue with the product not working or a set of false promises; as I see it, the real issue is the customer wasn’t able to “adequately understand what [they were] purchasing and why”. 2

I’m a bit torn. I don’t want anyone customer to be disappointed; I believe in our products and I’m very proud of them; clear messaging, demos, and the free version all offer the opportunity for the customer to understand what they’re purchasing; refunds with software (or digital goods) are tricky since they can’t send back what they received, we don’t (and will never) lock down our products with serials either; trust is extremely important, especially when Sprout Apps is so new.

At this point I’ve tried to appease them by conceding a little. Maybe I shouldn’t take it so personal though and instead just process all requests and move on 3.

How do you handle refund requests?

Notes:

  1. One feature PDF invoices and estimates, which was SI received an add-on yesterday for.
  2. Compounding the issue: the person I was dealing with passed off the refund request to someone else in his staff. So whatever civility we had was lost when this person started throwing insults and manipulating the refund policy to prove a false point. I do wish this person read the previous conversations before coming out like a bulldog and demanding a refund.
  3. At some point pushing back will be less cost effective.
Screen Shot 2014-10-30 at 5.53.41 PM

#WCSF or was it #WCSF14

I’ve been to a lot of the San Francisco WordCamps, including the first 1, and this year’s was the best for me. Everything seemed completely different.

My approach was definitely different this year than any other. Instead of shying away from conversations 2 I embraced them. From the conversations I had I was able to get some great feedback for Sprout Apps, and more importantly make some friends that I hope to see at future conferences. There were still a lot of people I didn’t get an opportunity to meet either 3.

The conference talks were noticeably different too. For the last 5+ years, at WCSF, I’ve been rather bored with the developer talks, this year was the exception. In particular the talks on backbone and node and socket.io; talks I believe past WordCamps turned down for something more general. I ended up missing a few others that I hope to watch when they’re available.

If you missed the State of Word you should go watch it, there were some great announcements. Matt has a good write up of the keynote on his blog. Not much different than the previous years but hearing about the past, present, and future of WordPress is fun. The nostalgic pictures of WCSF v1 are great.

The only regret I have is not sticking around for the Community Summit but I couldn’t. We just got back from Hawai’i and I needed to get back to work on Sprout Apps, especially since my list of tasks has doubled after some great conversations. Maybe next year at WordCamp US.

 

 

Notes:

  1. I know right? That’s how long I’ve been using/working with WordPress and props to my friend for wanting to go.
  2. I’m extremely self conscious when I’m with people that don’t know me.
  3. some twitter friends that I’ve never met in person in particular

Transitioning from Services to Products is Hard

When writing my travel+productivity woes I found myself thinking about reevaluating what I deemed as a “product day”.

In the past I could easily look back at the end of the day (or week) and see something tangible to judge. Even without billable hours to evaluate 1, I could look at the functionality/features/code I created and judge progress and easily apply a sense of accomplishment to my work.

My problem now-a-days is when I look back at the end of the day (or week, or month) I see a lot less achieved. Running a product business at Sprout Apps is completely different than service oriented work at Sprout Venture. My days are completely different, now filled with marketing, biz dev., support, testing and development.

To be completely honest and transparent. The major issue is that Sprout Apps’ sales are low, luckily they’re not miserable, they’re just not good. Aside from my aspirations for immediate success this is something I did expect — so SA will continue to be my full-time job for a long time.

Please don’t jump to the conclusion that I need sales to judge development efficiency, that would be stupid on my part. This is one of those transitions that need to be made, moving away from full-time development services. Instead sales allow me to judge (possibly just feel better about) all of these business oriented tasks that I see achieving very little in the short term.

Activities like WordCamp LA, four days away from (product) development, but four days talking to a lot of wonderful people that gave some awesome advice that I can/have applied to the business. Activities, certain marketing tasks, and business development that have no immediate 2 effect in order to judge productivity.

Without consistent sales it’s hard to judge overall productivity. For now, build and work off milestones and their subset of goals to stay on track and derive accomplishment.

Changing my perspective on my business is turning out to be harder than I thought.

Notes:

  1. I do flat rate development and I’ve always had a horrible time clocking my hours from projects that weren’t hourly; especially internal projects.
  2. I know a lot of business development have immediate and long term effects.

Travel Hangovers & Productivity

I’m finding that I’m not nearly as productive the days surrounding my travel; which sucks because I’ve been traveling since the beginning of September and I won’t be finished for another few weeks. Don’t get me wrong though, I’ve enjoyed the time off with family and friends; maybe too much since I’m rather unmotivated to jump back into work.

Over the last four weeks I’ve had some extended weekends: WordCamp LAX, Reno for a family wedding, a men’s retreat, and most recently a wedding in Las Vegas. This week was the first full work week I’ve had since August but looking back at my week (now Thursday) I’m a bit disappointed. Instead of diving into a big feature for Sprout Invoices I’ve pushed it aside for three weeks until after our family vacation and WordCamp SF which will be back-to-back (with a day in between).

I’m just frustrated with my work habits. Maybe I need to reevaluate a few things to get my motivation up 1. At very least I need to stop passing blame on traveling since I’m the one that sets my own schedule and goals.

Notes:

  1. Thinking of splitting that thought into another post

Developers: Stop Blaming Your Users

Someone on the Advanced WordPress Facebook group posted this about how he was frustrated how plugin updates were being handled by a certain developer.

Screen Shot 2014-09-10 at 10.45.50 AM

That arena is definitely not the appropriate place for a post like this and the conversation started to turn into a bashing of the poster and blaming him for having display_errors on his live site; even though he explained that this wasn’t a live site at all, it was a development/staging site.

Since this was a recent issue I went through with SI I had to jump in.

Screen Shot 2014-09-10 at 10.56.57 AM

I tried to have a healthy conversation but there were Joost defenders all over that thread slapping asses and clogging up the conversation…maybe I shouldn’t have told them to quite down…

Anyway, it quickly turned into Joost telling me that my opinion doesn’t count for shit and when I release code that breaks a larger number of sites I could understand.

Screen Shot 2014-09-10 at 10.58.48 AM

Update: The thread was removed. Something that group has has problems with from the start. The problem here was that the thread was critical to an admin, nothing more. Dare I say that I miss the WP-Hackers group :)

Update 2: I have the full FB archived, if you want to see it let me know. I don’t think it matters much but it’s pretty silly.

EDD Recurring Payments & Discounts: Solution

As a follow to my EDD Recurring Payments & Discounts: Proposal 1 I’d like to share my solution.

Let me set this up for you first.

Here’s the pricing options for Sprout Invoices.

Screen Shot 2014-09-08 at 3.05.29 PM

Note: the customer pays the “Signup Fee” and the “Price” initially, I’ve written about a proposal to change this already.

The discount is for 25% off and multiple discount codes are created for different events. I did not create a discount per variable price.

Code

The below code will allow for a single discount code to have multiple discount rates based on the variable price the customer is purchasing.

Note: This is live code and can be compared with the variable pricing table above. Also, if I were to release a plugin or needed to use this solution more I wouldn’t hard code the discount, instead it would be calculated based on the discount options.

Don’t stop there (unless you’re not using recurring payments and just wanted to know how to have a single EDD discount code for multiple price discounts based on variable pricing). Otherwise, the discount is going to be applied to recurring rate.

The below code will remove the discount from being applied to the price (AKA recurring fee).

Note: Since these discounts are only for a single download (i.e. #49) I’m checking early.

This last bit will apply the discount to the signup fee by changing it’s fee value.

Note: The new signup fee will have the price applied. In my case  that would make some signup fees a negative number, since our yearly don’t have a signup fee.

Lastly…

You’ll notice that the fees are not updated on AJAX, maybe Pippin can help me with this one since ATM I don’t have the time to dig in enough to explain with authority why. IIRC it has to do with the fees not being applied to the cart_total when AJAX is used. Anyway, I found a refresh of the cart is necessary (as a janky way to get around it).

Since I already have a customer edd_templates/checkout_cart.php I just dropped this at the end.

Note: Thank you to whomever placed triggers in the EDD jQuery functions.

Hope this helps. It took a while to figure this one out and I have a feeling it’s the best route to go. Maybe someone else has a solution.

Notes:

  1. Which was originally this post but I got out of hand explaining too much :)

EDD Recurring Payments & Discounts: Proposal

Pricing a premium plugin is hard. I’ve written publicly about the multiple pricing options for Sprout Invoices and after this weekend at WordCamp LAX talking to a lot of great people, I’ve already concluded improvements to streamline and simplify purchasing are needed. However, the pricing structure won’t change anytime soon, even if EDD discount codes don’t like it.

For the upcoming WordCamp and WPAPPStore promotions I need to apply a percentage discount to Sprout Invoices. Even though I could easily create a Discount with EDD the discount didn’t work as expected. The discount instead of applying to the initial fee (aka sign-up fee + price) it was applied only to the price, which is a major problem for me…

Here are some details…

  • Easy Digital Downloads applies discounts is to the download’s price.
  • Recurring Payments uses fees to apply the “sign up fee” to the download’s total price during checkout.
  • After the discount is applied at checkout it only factors the download’s price, not the total price with the fees applied.
  • The recurring rate is the price.

Do you see the problem? There are a few:

  1. A discount could cause the price of the download to be free, even if it has a recurring fee and instead of charging the customer they’re instead given the download without a recurring payment profile. 1
  2. …[I’ll remember at some point]…
  3. There’s no way to apply a discount to the initial price, instead it’s applied to the recurring fee instead.

That last “problem” is a big one for me. Since I don’t want to allow for a 25% discount for future subscriptions. Instead I need the customer to get their discount today and pay full price on the next term.

I thought I had this worked out after filtering the paypal subscription arguments 2 but it never worked, thankfully to EDD 2.0 changing how fees are calculated I noticed I still had the same problem–discounts were being applied to the recurring rate as well as the initial price.

I’d prefer EDD change how Recurring Payments approaches prices and terms but I understand that backwards compatibility is important, even if the fundamentals are wrong IMHO. When we did recurring fees for GBS the price was what the customer paid today; then there was an option for the term, duration term, and price. That way discounts can be applied to that full initial price without issue.

Notes:

  1. I forgot where the check is but IIRC EDD is checking the subtotal instead of the total of the cart before deciding the purchase is free.
  2. Don’t use the method linked to filtering the paypal args, it won’t work. Instead read the whole post and use the other code above.

Please don’t “Go Big”, Just be Successful

This tweet really bothered me when I first read it this afternoon.

Personally, I don’t want anyone to be discouraged from going on on their own. I don’t know where we would be without my wife’s support helping me pursue freelance development, I was discouraged and very reluctant at the time.

That said, I highly doubt Justin’s point was to discourage anyone from pursuing freelancing or building a business on their own, suggesting instead to join an agency or a potential competing business. However, when I read “go big”, I see: do something in excess, do something more, build an agency, employ a lot of people, have offices, work your ass off, commit to your business first, profits!, etc..

Obviously this is a loaded issue for me, that’s why a misunderstood tweet has me writing this.

Anyway, It took a while before I realized building something big wasn’t a road to success. Instead I pursued success by focusing on a set goals, ultimately I got there 1, all while not forgetting to continually evaluate my business and being honest enough to change stretch goals.

I’m trying to save myself from writing (and you from reading) a bunch of hyperbolic statements on what true success is and how it’s completely personal. It’s not for the lack of trying either, I just couldn’t figure out an easy way to encourage honest reflection in setting up goals for success, while not limiting a business plan, without sounding contradictory.

By all means “go big”, just don’t feel the need that creating a big business is success.

Notes:

  1. With a lot help from friends and coincidence.
Older Posts

Dan Cameron

I build stuff with WordPress

I'm currently building Sprout Apps to help small businesses and freelancers running WordPress.