You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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.
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 alsostripe.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.The text was updated successfully, but these errors were encountered: