Skip to content

Commit

Permalink
fix a link to cart-provider page (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
milindgoel15 authored Jun 20, 2023
1 parent 0484dad commit b51523b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/usage/actions/redirectToCheckout().mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To send the buyer to Stripe's Checkout experience, use `redirectToCheckout`
(the preferred way) or refer to products in your Stripe dashboard to fulfill purchases.

With use-shopping-cart's `redirectToCheckout`, you don't need to pass anything more than the sessionId you get
from Stripe because all of the config is handled in the [CartProvider](docs/usage/cart-provider) props.
from Stripe because all of the config is handled in the [CartProvider](docs/usage/components/cart-provider) props.

This is how you'd use `redirectToCheckout()` with a serverless function:

Expand Down

0 comments on commit b51523b

Please sign in to comment.