add stripe subscription
This commit is contained in:
@@ -69,4 +69,8 @@ class Actions extends Component
|
||||
return general_error_handler($e, $this);
|
||||
}
|
||||
}
|
||||
public function stripeCustomerPortal() {
|
||||
$session = getStripeCustomerPortalSession(currentTeam());
|
||||
redirect($session->url);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user