Skip to main content

WooCommerce Part II

Summary: We have a POC WooCommerce integration done. Now it’s time to get it ready to submit to the app marketplace. We need to generalize from Form Builder to our other Apps (i.e. create a generator as we have done for many platforms). Additionally, we need to update payment functionality so that Apps can be purchased directly on WooCommerce.

Ben’s testing notes part II:

It seems during submission that minimum price is $29. I guess let’s change this to $29 in codebase.

=> Puru’s note: Done

Authentication is asking for all these permissions, do we need all of them? If not remove unnecessary permissions:

**=> Puru’s note: we are only asking for scope=read_write

, looks like that means all of it, and we do not have control over these settings.

  • Create webhooks
  • View and manage coupons
  • View and manage customers
  • View and manage orders and sales reports
  • View and manage products

Update generator to make all the following Apps & Descriptions:

Form Builder

POWr Form Builder allows you to build professional, easy-to-use and versatile forms to collect any information you need for your business. Simplify your workflow with email notifications every time someone completes your form and send customers automatic confirmation emails!

Countdown Timer

Get more sales with a custom countdown to create urgency during shoppers’ purchase decision.

Popup

Get more sales and reduce cart abandonment with a custom popup! Create an email popup, discount popup or exit intent popup.

Social Feed

Get more followers and keep website content fresh with a live Social Feed to automatically stream new content from your social accounts.

✅FAQ

Create, organize and display Frequently Asked Questions on any page with POWr's FAQ.

✅Facebook Chat

Easily provide live customer support through Facebook Messenger chat straight from your WooCommerce store

✅Store Locator (map)

Easily help customers find your stores, events and products in a fully customizable map and store locator right from your website.

✅Ratings and Reviews (comments)

Collect and share your customer comments, ratings and reviews with the world and build confidence in your business.

✅Gallery (media-gallery)

Make your product and company images come to life with a beautiful Pinterest-style gallery or lookbook.

✅Slider (multi-slider)

~~Draw your customers’ attention to your bestsellers and promotions in a beautiful image slider or lookbook. ~~

Ben’s testing notes:

  • Preview of app inside of the product doesn’t work anymore:

alt_text

  • Can’t install POWr Form Builder and POWr Popup at the same time.

    Fatal error: Cannot redeclare enqueue_powr_block_js_script() (previously declared in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/powr-popup/plugin.php:353) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/powr-form-builder/plugin.php on line 353

  • There shouldn’t be a Select POWr Plugin for POWr Popup or POWr Form Builder, only POWr Pro and POWr Business

  • TinyMCE plugin is always showing Forms regardless of what plugin is installed. Shall we update this to include all apps in categories? We already have an updated version of this elsewhere.

  • Need to add all non-soft alias apps to dropdown for POWr Pro and POWr Business...currently is just Form Builder, Countdown Timer, and Popup for proof of concept

Scenario: Autogenerator should create each app for WooCommerce

Scenario: Special "POWr Pro" App for WooCommerce to give Pro functionality to all POWr Apps

Scenario: Special "POWr Business" App for WooCommerce to give Business functionality to all POWr Apps

Scenario: Installing POWr Form Builder on WooCommerce should give Starter level of Form Builder

GIVEN user has installed POWr Form Builder for Woo

WHEN authenticating or signing in

THEN user should be given a Starter subscription for Form Builder

AND user should NOT have starter level access to other POWr Apps

Scenario: Installing POWr Social Feed on WooCommerce should give Starter level of Social Feed

GIVEN user has installed POWr Social Feed for Woo

WHEN authenticating or signing in

THEN user should be given a Starter subscription for Social Feed

AND user should NOT have starter level access to other POWr Apps

Scenario: Installing POWr Pro on WooCommerce should give Pro level of all apps

GIVEN user has installed POWr Pro for Woo

WHEN authenticating or signing in

THEN user should be given a Pro subscription for all apps

AND any existing subscriptions through Woo should be set to downgraded

Scenario: Installing POWr Business on WooCommerce should give Business level of all apps

GIVEN user has installed POWr Business for Woo

WHEN authenticating or signing in

THEN user should be given a Business subscription for all apps

AND any existing subscriptions through Woo should be set to downgraded

Scenario: When create_transactions and charge_transactions are called for a WooCommerce subscription, they should not crash

GIVEN user has an active form builder starter subscription for WooCommerce

WHEN a year has passed and our daily rake tasks have run

THEN a Transaction should be properly recorded for the subscription