#hoffemberg_api

1 messages ยท Page 1 of 1 (latest)

ocean nestBOT
calm oreBOT
#

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.

ocean nestBOT
#

๐Ÿ‘‹ 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/1268689348518215732

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

orchid willow
#

Hello
Hosted invoice page is not really very customisable. You should look into building your own page if you want granular control ๐Ÿ™‚

fresh mica
#

What about the idea of setting the "Already Paid" field myself instead of generating a negative line item?

orchid willow
#

I'm not sure I grasp what you're describing.. Do you have an example or screenshot so that I am on the same page?

fresh mica
#

I thought I uploaded a screenshot but I guess it didn't take. I'll try again...

#

"Amount paid" second line from the bottom. I didn't see any way to set that myself in the invoice creation params.

orchid willow
#

Ah yeah, that is not something you'd be able to customize..

#

Based on your usecase, you'd benefit from just building your own UI versus using hosted invoice page

fresh mica
#

Is that something I'd have to use Stripe Elements to do?

#

Could I generate a payment intent and include this invoice id on it, and then manually set the status to succeeded to get the Amount paid to populate?

orchid willow
#

If you create an invoice and finalize it then it should generate an associated PaymentIntent automatically which you can use with Elements

#

I don't know what you mean by

then manually set the status to succeeded to get the Amount paid to populate?

fresh mica
#

I was just trying to think of a way to make the "Amount paid" populate. I mean, if I generate the invoice and grab the payment intent id, and then apply a payment to it (such as, say, $500 in the example from the screenshot) would that make "Amount paid" populate with $500?

orchid willow
#

Hmm you can't partially pay the invoice with a PaymentElement afaik.. The PaymentIntent generated by the invoice will set the amount that would be charged to the PaymentMethod collected by PaymentElement

fresh mica
#

I guess my question then is, is it ever possible for the Amount paid field to be anything besides 0 or the entire invoice total? If so, how does that happen?

orchid willow
#

I don't think I've seen that happen myself, no..

But it is possible for usecase like if the customer has a credit balance which automatically applies to the next finalized invoice

fresh mica
#

Okay, so it's not something I would ever be able to modify myself through the API.

#

And when you say I need to build my own UI, I would have to use Stripe Elements for that, correct?

orchid willow
#

Correct..

fresh mica
#

Yeah, I know about the beta and I'm on the list to get updates about it, but my boss doesn't want me to use it until it's fully supported.

orchid willow
#

I see I see. I was curious too ๐Ÿ˜…

fwiw, customer balance is also reflected separately so it has to be the beta

fresh mica
#

Lol yeah, it seems to be a completely useless field at this point. Just raising false hope.

orchid willow
#

๐Ÿ˜… anything else I can help with?

fresh mica
#

No, I think that's it. Thanks so much for checking into it for me.