Redirect from checkout message to the Stripe payment page Answered

Post author
Jeff Harmon

Hey guys,

Anyone know how to get this complete checkout message to point back to the Stripe payment page? Currently it's just linked to my pricing page, but in the demo video it returns the user back to Stripe.

Comments

11 comments

  • Comment author
    Tyler Bell

    data-ms-action='return-to-checkout' 🙂

    0
  • Comment author
    Jeff Harmon

    Thanks Tyler Bell!

    Unfortunately now I have a new problem. When returning to my subscribe page from the incomplete Stripe page, that component isn't showing up. I still have data-ms-content='!paid-plans" applied, and I added the return to checkout attribute.

    Any ideas there?

    0
  • Comment author
    Tyler Bell

    I'd go ahead and remove the data-ms-content='!paid-plans" attribute from that component.
    data-ms-action='return-to-checkout' automatically handles visibility for you.

    It will only be visible if a member previously selected a price during that session.

    Unfortunately, there is a limitation where it won't display if the member logs out and logs back in.

    0
  • Comment author
    Jeff Harmon

    Yeah, it's still not showing up for some reason. Users select their plan/price before filling out the form and continuing to Stripe, so I think that's set up correctly.

    I'm happy to record a loom video and submit it to customer support if that would be helpful. The site is launching next week and this is a pretty important step.

    0
  • Comment author
    Tyler Bell

    Can you share a link to your site? And the steps I should take?

    I can help you out here.

    0
  • Comment author
    Jeff Harmon

    Awesome. Yeah here's the staging link:
    https://76-research-ba4662149ec896313.webflow.io/

    I added the component to this page
    https://76-research-ba4662149ec896313.webflow.io/subscribe/income-builder

    Basically, if a user goes to the pricing page and selects a plan, they'll be directed to the corresponding subscription page. Once they fill out the form, the "continue to payment" button takes them to Stripe.

    0
  • Comment author
    Tyler Bell

    can you DM the password?

    We are working on a fix for this right now.

    Turns out data-ms-action='return-to-checkout' only works when a price was selected via a button. If the price is set directly on a signup form, it won't trigger the return to checkout functionality.

    Should have a fix out soon.

    0
  • Comment author
    Jeff Harmon

    Amazing. Thanks so much! 🙏

    0
  • Comment author
    Tyler Bell

    Fix has been deployed!

    You might need to clear your cache to see the immediate change - the ms script can be cached up to 12 hours.

    It's working on my end.

    0
  • Comment author
    Jeff Harmon

    Working for me too!!

    Dude, y'all are incredible. I'm new to web design and have been hacking my way through this project. Memberstack has made it so much easier and y'alls customer support is top notch. Thanks for all you do!

    0
  • Comment author
    Tyler Bell

    ah thanks happy to hear that! Thanks for reporting.

    0

Please sign in to leave a comment.