#jungle-checkout-embedded
1 messages · Page 1 of 1 (latest)
jungle-checkout-embedded
@tender nymph with Embedded Checkout you still create a Checkout Session server-side first and that takes a list of line items in line_items.
oh right 🤦♂️ So when the component is mounted it sends a POST request? How can I then create different embedded checkouts for different products?
You really shouldn't. You build your own UI as a cart or something and only render Checkout when they are ready to pay
Ah, so I should probably store the cart in the auth session or something, then on checkout_sessions API request I fetch the cart, and add it to the line?
yes
gotchu thanks