#T.C.-checkout-react

1 messages · Page 1 of 1 (latest)

swift umbra
#

Are you blocked somewhere?

#

That quickstart has React as an option and walks you through how to implement

south elbow
#

For sure, super handy. I've just already built a cart where you can add multiple items and all the stuff is implemented client-side. Is there a way to connect that cart to Stripe? May not even be Checkout, just heard that was the best option. Sorry, still pretty new to all of this.

swift umbra
#

It doesn't look like it's hooked up to Stripe at all, so I would start by figuring out how Checkout works. If the cart in the project already works, then you might want to create some products and make sure the cart can access their IDs so that you can create a Checkout Session with the Product ID

south elbow
#

All the products on the site are in my Stripe account already. So, I would link the products on the site with the products in stripe, and create a checkout session based on the cart. Sound right?

#

Honestly would it be less of a headache to start over with Checkout?

swift umbra
#

Not necessarily, because there isn't a cart available to use on the Stripe side. You'd have to recreate that as well. You just need to make sure the Stripe Product IDs are stored alongside whatever IDs you already have, then call Checkout with them

south elbow
#

Awesome, I think that points me enough in the right direction. Sorry, I'm still learning, but appreciate your help!

swift umbra
#

Of course! Feel free to drop in again if you run into any blockers 🙌