#stanislaw-ece

1 messages · Page 1 of 1 (latest)

raven plumeBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

night spoke
#

I was trying to implement same behaviour as my normal stripe hosted c heckout but with express checkout

#

I was told that I cant pass line items etc

#

Docs say the opposite

#

:/

#

So can I pass shipping rate (added on stripe's dashboard) and pass prices (added on stripes dashboard)

slate radish
#

👋 Hopping in here - No you can't use prices or shipping rates with the express checkout element. Express Checkout Element supports a very limited version of line items that are just for display purposes (you'd see them in the Google/Apple modal when it's time to pay), but they wouldn't get stored on the PaymentIntent unless you stored them as metadata on your own

night spoke
#

So line items that I sent are just hard coded and prices should also be hard coded? I cant use prices from dashboard?

slate radish
#

it's up to you how you implement it, and no, you can't use price (price_123) objects with this

night spoke
#

The same applies to shipping rates?

#

so sh_123123

slate radish
#

correct, the same applies to shipping rates

raven plumeBOT
#

stanislaw-ece

night spoke
#

And I guess I can't pass any img previews?

slate radish
#

Nope

night spoke
#

So I guess only thign that i can pass and that will be visible is a title and amount

slate radish
#

correct