-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
Hello there, and thanks for this lib! 💯
I've been trying for a while now to use the CheckoutSession client-server checkout flow.
I've got a /create-session route, creates the stripe::CheckoutSession and posts this to https://api.stripe.com/v1/checkout/sessions before returning the sessionID to the client.
However this seems wrong, as in their examples it seems I'm not the one suppose to be creating the id (here the stripe::CheckoutSessionId) but stripe will and this is what I send in the stripe.redirectToCheckout(sessionId...) in the client.
Pretty certain I'm simply going down the wrong path, so in short, any example would be highly appreciated. 👍
Metadata
Metadata
Assignees
Labels
No labels