Automattic / sensei

Sensei LMS - Online Courses, Quizzes, & Learning
https://senseilms.com
GNU General Public License v2.0
539 stars 198 forks source link

[Spike] Define a way to buy sensei-pro from the editor #6949

Open gabrielcaires opened 1 year ago

gabrielcaires commented 1 year ago

Goal

We need to identify the effort and possible risks of implementing and detecting the completion of an upgrade process starting from an editor block.

Context

During the Course Outline project we are planing to enable the users to continue the course creation flow after buy a new license onhttps://woocommerce.com/pt-br/products/woocommerce-paid-courses/?quid=6bd9aeb04de20dfb6bc2021e71260591

A video explain the flow is here https://user-images.githubusercontent.com/176949/85865384-16ac0000-b7c6-11ea-9f63-30fe2a6ea94d.gif

Expected Output

Create or update any existent block to show a simple button that triggers the sensei-pro purchase and after the purchase is we need to display a label (or any other solution) to confirm we are able to identify if the user is backing from the purchase flow.

donnapep commented 1 year ago

@gabrielcaires Just to confirm, "upgrade process" here doesn't mean actually installing the plugin on the user's site for them, is that correct?