Paid Plans App: Does this Include Login Button

Hi,

My goal is to sell subscriptions to two plans on my site. From tutorials online, it appears that the logical order of things would be:

  1. Install paid plans app
  2. Add membership app
  3. Permission members for each of the two plans I intend to offer

My question however is how does the ‘login’ functionality fit into the above? Is a login button automatically added to the site for returning paying members/clients? Or will I have to add that somehow (via code?) later on?

Thank you,
SS

Wix Paid Plans is a Wix app and has it’s own Wix Support pages that you can view.
https://support.wix.com/en/paid-plans/setting-up-paid-plans
https://support.wix.com/en/corvid-by-wix/wix-paid-plans-with-corvid
https://www.wix.com/corvid/reference/wix-paid-plans.html

Also, have a look at this tutorial too.
https://support.wix.com/en/article/corvid-tutorial-using-the-paid-plans-api-to-customize-ordering-and-payment
Then we added code to do the following:

  1. When a visitor clicks the See More button, the button’s click event handler calls the to() function to open the dynamic page.

  2. When a visitor clicks the Buy Now button for a free plan, the button’s click event handler calls the orderPlan() function to order the plan and opens a congratulations lightbox.

  3. When a visitor clicks the Buy Now button for a plan that costs money, the button’s click event handler opens a confirmation lightbox.

  4. When a visitor clicks Yes , the button’s event handler calls the orderPlan() function to order the plan.

  5. The function checks if the user is logged in, and if not, prompts for login.

  6. When the user is logged in, the function creates, and returns, an orderResult object.

  7. A payment procedure is initiated using the ID from the orderResult object, causing a payment window to appear.

  8. The visitor enters payment information and completes the transaction. This triggers the onPlanPurchased event, which returns a PlanPurchasedEvent object.

  9. An event is logged in a collection. The event is based on the PlanPurchasedEvent object.