#JariasG-shipping-rates
1 messages · Page 1 of 1 (latest)
Hi there 👋 shipping rates are stand-alone objects and don't get tied to products directly. There are a couple different ways to create shipping rates (dashbaord vs API) which are discussed here:
https://stripe.com/docs/payments/checkout/shipping#create-dashboard-shipping-rate
Let me know if that doesn't point you in the right direction.
I need to know, how to add the shipping rate to a specific product. I have never configured the Stripe code and it seems difficult to me.
You don't (can't) associate it with a particular product. You'll create the shipping rates via one of the provided approaches, then when you're creating your checkout sessions you'll add the rate(s) via the shipping_options parameter:
https://stripe.com/docs/api/checkout/sessions/create?lang=php#create_checkout_session-shipping_options
how do i edit those parameters? I do not know how to do it
Do you have the code for your current implementation?
What code do you need?
Let's take a step back. Do you already have a Stripe integration? If so, do you know how it's set up?