{eac}SoftwareRegistry Subscriptions for WooCommerce

{eac}SoftwareRegistry Subscriptions for WooCommerce

Wordpress plugin

Install on Wordpress

App Details

{eac}SoftwareRegistry Subscriptions for WooCommerce is a plugin, installed on your WooCommerce site, that adds a custom Webhook topic for subscription updates to the WooCommerrce Webhooks, and adds subscription and product data to WooCommerce order Webhooks.

  • Adds a custom Webhook topic for subscription updates to WooCommerce Webhooks.

  • Extends the WooCommerce Order Webhooks by adding subscription data to orders with subscriptions.

  • Adds product meta data to order and subscription records passed through WooCommerce webhooks.

  • Works with WooCommerce Subscriptions – and – SUMO Subscriptions.

When WooCommerce creates an order, the order is stored as a post with type set to “shop_order“. When the order is for a subscription, a related order is stored as a post with type set to “shop_subscription“. When a subscription is renewed, a new “shop_order” is created related back to the original “shop_subscription” order.

When subscriptions (shop_subscription) are passed through the “{eac}SoftwareRegistry Subscription updated” webhook, additional subscription data and related order numbers are added to the subscription order record being passed.

When orders (shop_order) are passed through the WooCommerce Order created, Order updated, and Order restored webhooks, this plugin will append any related shop_subscription orders with the additional subscription data and related order numbers.

Meta data (custom fields and attributes) from the products in the order may be appended to the order and subscription records.

For order webhooks, options are presented on the “Webhook” edit screen to choose what data may be added to the orders so that extended data is only retrieved and sent through the webhook where needed.

WooCommerce Webhooks are created by going to: WooCommerce → Settings → Advanced → Webhooks in the administration of your store site.

With version 2+, SUMO Subscriptions is also supported in nearly the same way as WooCommerce Subscriptions by creating a pseudo shop_subscription order from the SUMO Subscription post record and the original or renewal WooCommerce shop_order.

Subscriptions

To create a webhook for subscription updates, choose “{eac}SoftwareRegistry Subscription updated”, when using Woo Subscriptions, or “{eac}SoftwareRegistry Sumo Subscription”, when using SUMO Subscriptions, for the topic on the Webhook data screen.

Whenever a subscription is updated, the subscription data will be sent to the Delivery URL specified in the Webhook.

Orders

This plugin also adds subscription data to orders passed through the Order created, Order updated, and Order restored webhooks when the order has related subscription(s).

Orders without subscriptions may be appended with meta data from the products in the order.

Subscription Data

The subscription data added (overlayed on the shop_subscription record) in the webhooks is:

 'date_created' => datetime // 'YYYY-MM-DDThh:mm:ss', 'date_modified' => datetime // 'YYYY-MM-DDThh:mm:ss', 'date_paid' => datetime // 'YYYY-MM-DDThh:mm:ss', 'date_completed' => datetime // 'YYYY-MM-DDThh:mm:ss', 'last_order_id' => int // last completed order id, 'last_order_date_created' => datetime // 'YYYY-MM-DDThh:mm:ss', 'last_order_date_paid' => datetime // 'YYYY-MM-DDThh:mm:ss', 'last_order_date_completed' => datetime // 'YYYY-MM-DDThh:mm:ss', 'schedule_trial_end' => datetime // 'YYYY-MM-DDThh:mm:ss', 'schedule_start' => datetime // 'YYYY-MM-DDThh:mm:ss', 'schedule_end' => datetime // 'YYYY-MM-DDThh:mm:ss', 'schedule_cancelled' => datetime // 'YYYY-MM-DDThh:mm:ss', 'schedule_next_payment' => datetime // 'YYYY-MM-DDThh:mm:ss', 'schedule_payment_retry' => datetime // 'YYYY-MM-DDThh:mm:ss', 'billing_period' => string // 'day','month','year', 'billing_interval' => int // number of days,months,years, 'sign_up_fee' => float // signup fee amount, 'product_meta' => array // [ product_id => [product_meta_data] ] 'related_orders' => array // [ order_id => type ('parent','renewal','resubscribe','switch') ] 

product_meta includes:

 'id' => int // product id, 'name' => string // product name, 'slug' => string // product slug, 'sku' => string // product sku, 'attributes' => array // product attributes (name => value) 'meta_data' => array // product custom fields (name => value) 'categories' => array // product categories (slug => name) 

For the subscription webhook, this data is overlayed on the subscription order created by WooCommerce.

For the order webhooks, this data is overlayed on the related subscription order and appended to the shop_order in a “subscriptions” array, indexed by id (allowing for multiple subscriptions per order).

For orders without subscriptions, the product_meta array is appended to the shop_order.

SUMO Subscriptions

The pseudo subscription order is built by taking the SUMO subscription post record and overlaying the most recent shop_order. The ‘id’ number of the pseudo order is the subscription post id. The parent id is the original shop_order that created the subscription.

Using With {eac}SoftwareRegistry Registration Server

You must have the {eac}SoftwareRegistry WebHooks for WooCommerce extension enabled on your Software Registration server.

When creating a subscription webhook, the Delivery URL for “{eac}SoftwareRegistry Subscription updated” and “{eac}SoftwareRegistry Sumo Subscription” is:
https://{your_registration_server}.com/wp-json/softwareregistry/v1/wc-subscription

When creating order webhooks, the Delivery URL for Order created, Order updated, Order deleted and Order restored is:
https://{your_registration_server}.com/wp-json/softwareregistry/v1/wc-order

With this configuration, you can pass registry values (registry_*) in the product_meta array by creating custom fields on the product record and overriding the registration server defaults. For example:

registry_product = package_name registry_license = Basic 

See {eac}SoftwareRegistry WebHooks for WooCommerce for more information.

Additional Information

Requires WooCommerce and either WooCommerce Payments (with subscriptions), WooCommerce Subscriptions or SUMO Subscriptions.

See Also

Copyright

Copyright © 2024, EarthAsylum Consulting, distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should receive a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Pricing

Starting from $0 per month.

Check Out the LinkedIn Feed Carousel Widget

By Common Ninja

LinkedIn Feed CarouselTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

software registration
webhooks
woocommerce
woocommerce subscriptions

Developed By

Kevin Burkholder

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

LinkedIn Feed Carousel for Wordpress logo

LinkedIn Feed Carousel

Show LinkedIn posts with a LinkedIn feed carousel that auto updates, presents content in a smooth layout, and keeps visitors engaged.

Bluesky Feed Slider for Wordpress logo

Bluesky Feed Slider

Show Bluesky posts with a Bluesky feed slider that scrolls updates and keeps content visible while keeping visitors engaged.

Video Gallery for Wordpress logo

Video Gallery

Showcase videos with a video gallery that organizes clips from multiple sources in clear visual layouts that keep visitors watching and support higher conversions.

Reviews Badge for Wordpress logo

Reviews Badge

Use a reviews badge to highlight your ratings, build trust at a glance, improve credibility, and help increase conversions across your site.

YouTube Feed for Wordpress logo

YouTube Feed

Show YouTube videos in a customizable YouTube feed that keeps content fresh, boosts watch time, and helps visitors explore more of your channel.

Event Flip Cards for Wordpress logo

Event Flip Cards

Use event flip cards to highlight upcoming activities, improve visibility, and help visitors discover events that increase attendance and engagement.

Capterra Reviews for Wordpress logo

Capterra Reviews

Show Capterra reviews to build trust, strengthen credibility, and help visitors make confident software buying decisions that support higher sales.

Corner Button for Wordpress logo

Corner Button

Corner button that stays fixed on the screen to highlight promotions, improve navigation, and guide visitors toward important actions with clear visibility.

Nudge Button for Wordpress logo

Nudge Button

Nudge button with a subtle shaking animation that draws attention to important calls to action, increases interaction, and helps boost conversions.

Image Accordion for Wordpress logo

Image Accordion

Use an image accordion to show pictures in collapsible panels that save space, highlight key visuals, and keep visitors engaged.

Appointment Booking for Wordpress logo

Appointment Booking

Manage appointments with an appointment booking widget that lets visitors schedule easily, syncs calendars, sends reminders, and creates a smoother booking experience.

Visitor Counter for Wordpress logo

Visitor Counter

Show real time visitor counts with a visitor counter widget that displays live traffic, builds social proof, and boosts engagement.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms