#david-chong_api

1 messages · Page 1 of 1 (latest)

stark smeltBOT
#

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

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

sharp holly
#

I want to understand, why we are not getting invoice field populated even if payment clearly linked to an invoice

terse yew
#

hello! taking a look, gimme a while

sharp holly
#

Thanks Alex

#

Let me know if you need anything

terse yew
#

Was this a new change that you noticed, and did you have any past events that has the invoice?

sharp holly
#

Sorry just saw your response

#

Correct, this is new issue that I am seeing lately.

#

My app always use that "invoice" field on charge to identify connection between charge and stripe invoices

terse yew
#

if you have a past event id that's working as expected, then can you share that too?

sharp holly
#

I will get it from different account

#

one sec

terse yew
#

it's not from the same account?

sharp holly
#

Not from same account

#

Oh wait

#

I can find it

#

one sec

#

Here is sample with correct "invoice"

terse yew
#

okay, from what I can tell, this only affects the first invoice of a Subscription which is created via the Checkout Session. I don't know if this is expected behaviour right now and I will look into this, but it may take a while for us to investigate. In the meantime, I think what you can do as a workaround is if it's a "Subscription creation" and the invoice is null, make a request to https://docs.stripe.com/api/invoice-payment/list#list_invoice_payments-payment-payment_intent passing in the PaymentIntent id in the Charge to get the Invoice ID

#

I'm going to send you a DM which you can use to create a ticket. I'll follow up with updates via the ticket

stark smeltBOT
#

Hello @sharp holly, we have sent you a direct message, please check it at https://discord.com/channels/@me/1385060555227926699

  • 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
sharp holly
#

Yeah, I already have that solution working on right now. Unfortunately, it is quite tricky on our end. But yeah, I am really hoping we can figure this out soon

terse yew
#

you've gotten the DM to create the ticket right?