#alexesch_code

1 messages ¡ Page 1 of 1 (latest)

vital krakenBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1432464325020483727

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

austere tapir
#

hi

#

maybe there are any hack or new solution?

#

i need to add shipping price to the invoice created with payment intent

graceful forum
#

Hello, unfortunately payment intents don't have that concept in that way. Payment intents have a line items property now but it is only for passing L2/L3 and doesn't effect the Stripe receipt that is generated.
As far as pre-built Stripe things go, Stripe Billing has invoices which generate itemized PDFs. So there you could create two separate invoice items, one for the product and one for the shipping, and we'll calculate things properly from there. Checkout also has invoice items but I don't beleive the receipt shows items there either. Double checking that last part

austere tapir
#

but, for multiple invoices, it must be multiple charges?

graceful forum
#

Good question, I know we added the ability to attach intents to invoices but I forget how it works in this scenario. Looking in to that

#

Looks like this is not possible currently. So multiple invoices would need multiple payments.

austere tapir
#

understood, thank you