Archive | WordPress Plugin Development

WordPress + Stripe Resources

At my local WordPress meetup today, I went through an intro to Stripe, a demo of it’s dashboard, then a few ways to integrate Stripe plugins with your WordPress site.

Here’s a few resources I touched on.

WP Simple Pay

  • When to use? If you need a standalone Stripe plugin without a full shopping cart, extensive form builder, membership site, etc. Disclaimer: These are plugins I own and sell.
  • All data is stored and viewed in your Stripe dashboard. Not within your WordPress site.
  • WP Simple Pay Lite (free) – Or simply search for “stripe” in your WP admin plugins area. Adds the simple Stripe checkout overlay to pages without coding.
  • WP Simple Pay Pro (paid) – Adds features such as custom fields, user-entered amounts, coupon codes and subscriptions integration.

Gravity Forms

  • When to use? When you need extensive forms and/or want to record each transaction as a form entry within your WP site.
  • The Gravity Forms Stripe add-on requires a paid developer license of Gravity Forms itself.
  • Setup is a bit lengthier. You need to both configure Stripe feeds in your WP admin and webhooks in your Stripe dashboard.

WooCommerce

Easy Digital Downloads

  • Easy Digital Downloads core is free. The EDD Stripe add-on is premium.
  • When to use? When you need to sell digital items along with additional actions, such as distributing software licensing or offering other payment options such as PayPal.
  • wpsimplepay.com in turn uses EDD with its Stripe add-on.

Extra Resources

Developing a Simple WordPress Plugin from Scratch

Recently I walked folks through building a simple WordPress plugin from scratch at the WordPress Developers meetup in Fresno (my home town).

We went through how to build a plugin for taking donations, optionally with a Stripe checkout overlay.

The source for the plugin is now posted on GitHub.

Learning Resources

As promised, here’s a list of resources to get you started with plugin development.

Developer Tools

Here’s a few tools I use as I’m developing and debugging plugins.

Google Calendar Events Version 2 Update

GCE Version 2.0 to be Released late August September 2014

Please submit any questions or troubleshooting requests in the public support forms

Update 9/9/2014: 2.0.0 final release is out!

The final release of Google Calendar Events 2.0 is here!

Thanks for your patience on this release. We wanted to make sure the plugin was well-tested and had all the existing features folks were using. A special thanks to beta testers too!

What now?

First, we’d love a short review from you if you haven’t submitted one already. It’s the best way you can support us right now.

Second, we just published our public roadmap and are taking feature requests and votes. Help shape the future of GCal Events!

Update 9/2/2014: 2.0.0-beta1 is ready for testing.

Yes, it includes the Event Display Builder, and it would be helpful if you could beta test it.

Click here to download the latest beta

Plugin documentation

Submit beta testing feedback

Update 8/23/2014: 2.0 Release date postponed. Event Builder Display to be included in GCE 2.0.

Well, we underestimated how many folks were using the Event Display Builder. We appreciate everyone’s feedback, and because of that we’re extending the release date a little longer.

We’re doing our best to integrate the Event Display Builder into 2.0 and still release an update by the end of the month.

General Information

Google Calendar Events version 0.7.3 is a very small update simply to warn plugin users of the big version 2 update coming next week. Version 0.7.3 itself doesn’t change anything from 0.7.2 except for displaying a message, providing a way to save settings, and linking to this post.

The next version of GCE has been re-written from the ground up by Nick Young and I. The code base goes back several years, but the last update was in late 2012. GCE has been solid for a long time, but WordPress and Google Calendar have changed quite a bit since then, so a rewrite was in order.

In GCE 2.0, some features have been improved, some features are coming, and others had to be temporarily removed while we rethink and rebuild improved versions of old features.

The planned update for Google Calendar Events version 2.0 is August 23, 2014.

Prefer to get notified by email?

Stay in the loop for any major plugin updates.

Below is a summary of what’s changing in version 2.0.

Shortcodes

Shortcodes will continue to function using the existing 0.7 syntax, but in 2.0 going forward, you can opt to use the shortcode [gcal] instead of [google-calendar-events].

Bottom line: Your site won’t break after updating, but we recommend using the new shortcode syntax going forward when you get a chance to modify it.

Feed IDs are also different as they will now be saved using custom post types. During the upgrade process, version 2.0 will make sure to transfer your old feed IDs to the new structure.

You may notice your old feed IDs have a low number (1, 2, 3, etc.), while the new feed IDs are a higher number (837, 1520, etc.). This is normal and is because custom post type IDs are shared across all posts, pages and other custom post types in your WordPress install.

Complete GCE 2.0 shortcode documentation will be ready by the time GCE version 2.0 is released.

Widgets

Some widget settings have changed, but the upgrade process should handle widget upgrades completely.

Event Display Builder Removed

If you were using the event display builder in version 0.7, be warned it will no longer be available in version 2.0 until we figure out a new architecture for it.

It proved too difficult to maintain the existing structure, and we found most users of this plugin are not using this feature.

However, we realize some of you were using this feature. We apologize that we have to remove it for the time being, but we plan on re-introducing this feature with an easier way to customize and save the way you want your events to appear.

Reverting back to version 0.7

In the rare case that you want to revert back to version 0.7 of the plugin instead of using version 2, note that the upgrade process to GCE 2.0 will not delete your 0.7 settings or calendar feeds unless you explicitly remove 0.7.2 or, after upgrading to 0.7.3, you uncheck the new “Save Settings” option. We added a “Save Settings” option to 0.7.3, checked by default, for this very purpose.

Thanks to Ross Hanney!

P.S. If you’re curious, thanks to Ross Hanney, I’ve now taken over ownership and further development of Google Calendar Events going forward. Ross created a fantastic plugin that folks have been using for several years, but he was ready to hand the reins to someone else. I reached out to him about adopting the plugin and he agreed.

Thanks to Ross for creating an awesome plugin. We hope to continue his great work and build some great features on top of what he started.

Get notified by email for any major plugin updates.

Comments are closed. Head over to the official plugin page to submit any questions or troubleshooting requests.

Stripe Checkout for WordPress

StripeIf you haven’t used Stripe for accepting payments online yet, you’re missing out on the best. Hands down.

They take care of payment processing with minimal headaches and extensive developer resources. But they also have a beautiful checkout form you can start using right away on your site.

Stripe Checkout was recently revamped with mobile optimizations and a high conversion form layout that’s gone through probably millions of A/B tests. See the demo for yourself.

Since it’s an embedded button that pops up a checkout form overlay provided by Stripe, you get all their improvements and optimizations automatically as they test and iterate.

It’s pretty simple to add HTML code and the JavaScript reference to any site, but in case you don’t want to bother with that, Nick Young and I created a simple Stripe Checkout plugin for WordPress.

It’s free in the WordPress repository, or simply search for “Stripe checkout” in your WordPress admin.

But wait…aren’t there a ton of good Stripe plugins already out there.

The simple answer is yes. And there are some good ones. If you want to integrate with plugins for e-commerce, membership sites, form building, etc., this plugin is not what you’re looking for. If you’re using one of these, you can probably find a Stripe add-on designed for it.

This Stripe plugin also does not store any post meta for transactions or send emails. Stripe does this for you, though you have to explicitly enable customer receipts.

Note that Stripe suggests that the pages hosting the checkout form be SSL (start with https://).

For version 1.0, there’s just a few settings to enter, then you place a shortcode on your pages where you want the button and overlay. That’s it.

At this point, like our Gumroad WordPress plugin, we’d like to hear from actual users what features they need.

Let us know your feature requests and they might get in a future update.

Update April 24, 2014

Added a few more shortcode options: multiple currencies, billing/shipping addresses, redirect URL, etc. See the changelog.

Pinterest Widgets WordPress Plugin

Pinterest Board widgetWhen folks want to integrate Pinterest with their WordPress site, usually it’s a focus on the “Pin It” button, which is why I created the Pinterest “Pin It” button WordPress plugin in the first place.

However, some people need a few more Pinterest widgets on their sidebar and other widget areas, which luckily Pinterest provides embed code for in their widget builder.

Besides the “Pin It” button, Pinterest provides code for a Follow button, Pin widget, Profile widget and Board widget. Since the “Pin It” button is taken care of in it’s own plugin, Nick Young and I created a Pinterest Widgets WordPress plugin that takes care of these 4 other widgets and all their options.

Oh, and you can use shortcodes to output all 4 widgets as well.

Download the free Pinterest Widgets WordPress plugin here (or simply search for “pinterest widgets” when adding a plugin in your WordPress admin).