WooCommerce API Manager PHP Library for Plugins and Themes

$200.00 / year

Current WooCommerce API Manager subscribers get a discounted price of $70. Contact the developer using the official support form to request a coupon to purchase the PHP Library for a 65% discount.

An API Key provides access to support and plugin updates for one year. An API key automatically renews as an annual subscription.

Description

Changelog

The WooCommerce API Manager PHP Library for Plugins and Themes is a PHP Library that can be dropped into a plugin and theme for API Key authentication and software updates with the WooCommerce API Manager.

Using the PHP Library

The WooCommerce API Manager PHP Library for Plugins and Themes  with the code needed to connect a plugin or theme to the PHP Library after it has been dropped into the plugin or theme. The second argument in the code block example below is for the product_id. If the product_id is left blank the customer enters the product_id, if the product_id is hard coded, then the customer will not need to enter the product_id.

Once the product is activated, a notice is displayed for the customer to activate the plugin or theme.

On the activation screen, if the product_id was hard coded then the customer only needs to enter the API Key. If this is a variable product variation, each version of the software will require a separate file with the correctly hard coded product_id matching the customer’s product purchase. This is why not hard coding the product_id is the preferred method for variable product variations as shown in the next example.

On the activation screen, if the product_id was not hard coded then the customer needs to enter both the API Key and the product_id. This is the preferred method for variable product variations.

After the plugin is activated, the number of activations remaining is displayed.

Orders that have API Key activations will display a key in the orders list.

On the order screen, the activations will be listed.

When an update is available the update details will be displayed. Plugins and themes can be updated automatically just like any other plugins and themes.

Click on the view version details link will display the details you have provided and configured just like any other plugins and themes.

After the plugin is deactivated, the activations remaining is displayed.

Using Postman for Testing

A preconfigured Postman .json file collection template is included to make it easy to test the API functions. Server URL, and keys/values, will need to be modified specific to your product and server.

Software Update File Hosting

The file used for software updates can be hosted on the local server, Amazon S3, or from any remote URL. The file download URL is wrapped in a secure URL that expires after the expire time you set.