Freemius Checkout

Description

Freemius empowers WordPress plugin/theme developers to sell in minutes, helping them create prosperous subscription based businesses.

With Freemius Checkout you can sell your digital WordPress products from anywhere.

This plugin allows anyone selling WordPress plugins or themes to embed a “Buy Now” button anywhere in your site using a simple WordPress shortcode.

When embedded, the user will see a simple “Buy Now” button on the front-end. Clicking the button will open the checkout popup.

Usage

The plugin uses [freemius_checkout] shortcode to embed the “Buy Now” button.

The shortcode is very customizable, to setup a custom product you can use the following attributes:

  • name – Your plugin/theme name.
  • plugin_id – Your plugin/theme ID on freemius.
  • plan_id – The plan you want to promote using the button.
  • pricing_id – The plan pricing level.
  • public_key – Plugin/theme public key.
  • image – The plugin/theme logo URL. Will be displayed in the popup.
  • button – The text to display on the button. Default is ‘Buy Now’.
  • button_id – The button tag ‘ID’ attribute. Default is ‘purchase’.
  • button_class – The button tag ‘Class’ attribute, to add your own styling.

Example:

[freemius_checkout name="Press Elements" plugin_id="761" plan_id="1078" pricing_id="928" public_key="pk_fe2850d57f7d4f206aefaa106b91f" button_id="purchase" button="Buy Now"]

Screenshots

  • Freemius Checkout

FAQ

Why is the checkout button not working?

The theme needs to use jQuery to display the checkout popup. If it doesn’t enqueue jQuery, the button won’t open the checkout popup.

What are the plugin requirements?

Minimum Requirements

  • WordPress version 4.0 or greater.
  • PHP version 5.3 or greater.
  • MySQL version 5.0 or greater.

Recommended Requirements

  • The latest WordPress version.
  • PHP version 7.0 or greater.
  • MySQL version 5.6 or greater.

Contributors & Developers

“Freemius Checkout” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Freemius Checkout” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2

  • Hide empty parameters.

1.1

  • Add pricing_id parameter to set custom pricing level for a plan.
  • Use unique JS variables in case of multiple uses.
  • Escape the attributes in the HTML.

1.0

  • Initial release.
  • Freemius checkout shortcode.