Redirect manage subscription / upgradre subscription to stripe customer dashboard
This commit is contained in:
parent
48d2c8a592
commit
0e123f6459
@ -106,23 +106,23 @@ export default function SubscriptionFacturation() {
|
||||
</div>
|
||||
<div className={classes["button-container"]}>
|
||||
{subscription.type === "UNLIMITED" && (
|
||||
<Link
|
||||
href={Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Standard.props.path}>
|
||||
<Button fullwidth variant={EButtonVariant.GHOST}>
|
||||
Rétrograder mon abonnement
|
||||
</Button>
|
||||
</Link>
|
||||
// <Link
|
||||
// href={Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Standard.props.path}>
|
||||
<Button onClick={manageBilling} fullwidth variant={EButtonVariant.GHOST}>
|
||||
Rétrograder mon abonnement
|
||||
</Button>
|
||||
// </Link>
|
||||
)}
|
||||
{subscription.type === "STANDARD" && (
|
||||
<>
|
||||
<Link
|
||||
{/* <Link
|
||||
href={
|
||||
Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Standard.props.path
|
||||
}>
|
||||
<Button fullwidth variant={EButtonVariant.PRIMARY}>
|
||||
Gérer mon abonnement
|
||||
</Button>
|
||||
</Link>
|
||||
}> */}
|
||||
<Button onClick={manageBilling} fullwidth variant={EButtonVariant.PRIMARY}>
|
||||
Gérer mon abonnement
|
||||
</Button>
|
||||
{/* </Link> */}
|
||||
<Link
|
||||
href={
|
||||
Module.getInstance().get().modules.pages.Subscription.pages.ManageCollaborators.props.path
|
||||
@ -175,12 +175,12 @@ export default function SubscriptionFacturation() {
|
||||
</Button>
|
||||
)}
|
||||
{subscription.type === "STANDARD" && (
|
||||
<Link
|
||||
href={Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Illimity.props.path}>
|
||||
<Button fullwidth variant={EButtonVariant.GHOST}>
|
||||
Améliorer mon abonnement
|
||||
</Button>
|
||||
</Link>
|
||||
// <Link
|
||||
// href={Module.getInstance().get().modules.pages.Subscription.pages.Manage.pages.Illimity.props.path}>
|
||||
<Button onClick={manageBilling} fullwidth variant={EButtonVariant.GHOST}>
|
||||
Améliorer mon abonnement
|
||||
</Button>
|
||||
// </Link>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user