Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a working example? #28

Open
surjithctly opened this issue Jul 5, 2021 · 2 comments
Open

Add a working example? #28

surjithctly opened this issue Jul 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@surjithctly
Copy link

Currently, the readme only talks about create sessions, intents, etc, but not how to make the redirection and handle the success.

In case of redirect, there is session.url and also stripe.redirectToCheckout, so its not clear which one to use and what's the recommended way when using this plugin.

So, would be great if there is a live demo along with /examples folder with the code.

@ynnoj ynnoj added the enhancement New feature or request label Jun 17, 2022
@ynnoj
Copy link
Owner

ynnoj commented Oct 17, 2023

@esbenchristensen If you're using the App Router than this library is essentially redundant.

Let me know what you're building/struggling with and I can see how I can help!

@esbenchristensen
Copy link

@ynnoj I figured it out. Had some issues using it with the new server actions in NextJS. Hope Stripe will make use of the server actions and add it to documentation in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants