Skip to main content

How to prevent unpaid members from being redirected to signup when trying to update payment method?

My "unpaid" members can't login to their accounts to update their payment method when their CC declines and I can't figure out why.

When they try to log in - They are getting redirected to the sign up page. I can't find anywhere in my redirects that would be causing this

3 comments

  • Julian Galluzzo
    Julian Galluzzo

    Understandably, your app section is probably gated content - that gated content is probably redirecting them to the signup page, leading to them being logged in, but unable to actually do anything.

    I would recommend doing this -

    1. Change your gated content redirects to go to some blank page (ex. access-denied)
    2. Make a script on that page which will check their unpaid status. If they are unpaid, redirect to a page where they can launch the billing portal. If they just somehow are logged in but not on an active plan, continue to send them to the signup page or anywhere else.

    I would need to see your site and ideally a loom video to help any more, but I do think that's the problem

    0
  • RYAN STERLING
    RYAN STERLING OP

    ok thanks. are there any resources on how to make a script?

    it might be this "on login" redirect causing it. you think I can put the script to check status on this page? If yes, redirect to manage billing?

    0
  • Julian Galluzzo
    Julian Galluzzo

    Yeah exactly! As for a script, chatgpt can probably knock it out easily

    0

Please sign in to leave a comment.

Sitemap