ChangePlan

The component to change the subscription plan.

Overview

This is the component to show the subscription plans with the PricingPlans component for the owner of the subscription account to change the subscription plan. If a payment method is attached to the subscription account, the component will change the subscription with the attached payment method, otherwise, it will show the PaymentMethodForm component to set up the payment method for the subscription.

Screenshot

Screenshot

Screenshot

Source Code

https://github.com/fireactjs/saas/blob/main/dist/components/ChangePlan.js