KISO Docs

Subscriptions

#Overview

KISO Stripe Payments ships with complete views to help get customers onboard your app with a Subscription. When you run the installation generator, routes are added to your route.rb file for both /plan and /plan_confirm.

#The Plan Page

The Plan page draws from the Stripe plans you have setup in the Admin area:
When a user chooses a plan, they are directed to the Plan confirmation page to enter their credit card details.

#The Plan Confirmation Page

On this page, the user will enter their credit card details:
If the subscription is successfully created, the user will be redirected to the path configured in the post_subscription_success_path engine configuration option. If the subscription cannot be setup, the user will be redirected to the path configured in the post_subscription_failure_path engine configuration option.