#tiger-checkout-customization

1 messages · Page 1 of 1 (latest)

split perchBOT
dense knot
#

I don't think Subscriptions support Shipping Rates at this point.

peak spear
#

I get it . I need to calculate taxes, get value and add to the subscription price, I also need to add the shipping value. Then, I should calculate subscription price + taxes price + shipping cost. what is the best choice to this use case?

dense knot
#

I think the best route would be to calculate the shipping cost ahead of time and add an additional line_item to the Checkout Session to account for the extra shipping amount

peak spear
#

I get it but I also need to calculate taxes... I have a big problem to this point

#

I tried use stripe elements..

dense knot
peak spear
#

Ok, thanks. But my use case is subscriptions model and this example is only to payment mode support

SessionCreateParams.Mode.PAYMENT -->

dense knot
#

You can use Subscription mode if you don't pass shipping, but feel free to try Elements instead if you want something more configurable

peak spear
#

Ok, thank. But I use line_item to checkout session, is there way to show in the page that this line item corresponds to the shipping rate?

dense knot
peak spear
#

I got it. I just have to create another product with a description of the shipping cost (for example) and pass it to the item line to checkout session.

dense knot
#

Yup!

peak spear
#

Thanks! I have other questions.
To calculate taxes automatically in the checkout session, I need to create tax records for each of the other states in the USA, is there a way to record all the states in bulk?

dense knot
split perchBOT
peak spear
#

Ah ok. Thank you

split perchBOT
peak spear
#

could this link be customized on the checkout session page? Powered by stripe (for example)

spiral jackal
#

No this is not something you control

#

tiger-checkout-customization

peak spear
#

I need to customize the label on my checkout session page, how could I do?

spiral jackal
#

What does "the label" mean?

peak spear
#

Powered By stripe

spiral jackal
#

ah so no that's what I explained above, you can't change/touch any of this

peak spear
#

Do you have another choice for me?

spiral jackal
#

Checkout is our hosted UI for collecting payments. We control the vast majority of that page without any way for you to change those parts or hide them. If you don't want to show this at all then a better solution is going to be PaymentElement and integrating things on your own payment page

#

it's going to be drastically more work to plumb it all together though, so really Checkout is likely the best solution for you

peak spear
#

Ok, Thanks for everything!