#maxim_hip-billingdetails

1 messages ¡ Page 1 of 1 (latest)

opal prawnBOT
#

👋 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/1299049656084336734

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

tight slate
#

maxim_hip-billingdetails

#

@hearty loom no that's impossible sadly

hearty loom
#

Thank you!

#

So, follow up question, what can you suggest? What if we render our own hosted page and put payment element on it? Can i manually tie together invoice and payment element so invoice get paid or any other status automatically?

tight slate
#

Yes that works. You can render your own page with PaymentElement and AddressElement together. The Invoice has a PaymentIntent in the payment_intent property and that PaymentIntent has a client_secret you can use for PaymentElement

hearty loom
#

Is any docs for this specific example?

#

I mean it is clear o how to use payment element, the question is just how to emulate invoice background work, like hosted invoice page

#

so we need to open invoice first, then grab payment and pass payment intent to invoice?

tight slate
#

We don't have any docs for this unfortunately, you'll have to look at the Invoice object in the API and render what you are interested in

#

and yes to your last sentence

hearty loom
#

cool, what about "retries", will invoice do retrying using default payment method after that?

#

sorry, seems it doesn;t make sence

#

Ok, thank you so much

#

Have a good day!

tight slate
#

Sure thing!

hearty loom
#

Sorry, just one more question

tight slate
#

sure thing

hearty loom
#

What is the order?

#

We open invoice, create payment link?

#

ideally we need to keep all invoice automation possibilities, like "send invoice to customer"

tight slate
#
  1. Create an Invoice with all its lines
  2. Finalize the Invoice, make it immutable -> At that point the PaymentIntent is created
  3. Confirm the PaymentIntent client-side
hearty loom
#

What is the best way to send payment link to customer?

tight slate
#

You would send your own email really and get them to come to your website/app to pay their Invoice

hearty loom
#

Ok, no way to pass it to invoice?

#

i mean link

tight slate
#

no

hearty loom
#

Ok, one more question. fix me if i'm wrong

#

We keep actual setup.

#

So, first payment will be without card address and we are getting a higher fee.

tight slate
#

Are you asking about L2/L3 data without mentioning those terms at all?

hearty loom
#

Then, we are updating default payment method with billing address info, all ongoing payments will be with lower fee?

#

Sorry, yes, it is all about L2/L3 and billing address data on payment method level

#

For customers that are using invoice hosted page first time (onboarding)

tight slate
#

yeah it doesn't really make sense then. L2/L3 requires postal code as far as I know. Though this isn't a public feature and should be discussed with support instead: https://support.stripe.com/contact

hearty loom
#

Ahh, so it is possible to add billing address field to hosted page, but it is a question of negotiation?

tight slate
#

No sorry that's not what I meant

  1. You are asking about L2/L3 data. This is not a public feature. So this is something you should be discussing with support directly for 1:1 help: https://support.stripe.com/contact
  2. L2/L3 data only requires the postal code, which the Hosted Invoice Page collects for card payments, so there's no reason for you to want to collect a full billing address since this is not required for L2/L3
hearty loom
#

Ohh! ok.

#
  1. I don't see postal code on hosted page.
#

one sec, let me check

#

here is

#

there is no postal code there

#

the same on production

tight slate
#

Perfect. I recommend writing in to support for 1:1 help to debug this and they can investigate for you why postal code doesn't appear! You can contact them here: https://support.stripe.com/contact

hearty loom
#

Ok, it is much better.

#

Thank you!

tight slate
#

Sure thing! Hope they can figure it out for you!