#Cesar Pérez.

1 messages · Page 1 of 1 (latest)

clear crescentBOT
coarse umbra
#

Good question. Checking in to how numbering works here.

#

Is that number properly populated once the invoice is finalized?

torpid oasis
#

Yes

#

It says "CAFERIO-DRAFT", but that's not included on the response i get from the SDK or the webhook

#

Only when the invoice is finalized a get a properly number

coarse umbra
#

Ah thank you for the clarification. Looking in to this and will get back to you

#

Unfortunately not seeing a way to have this during the draft stage. I can put in feedback to add this but can't guarantee if/when it will be added

#

Is there an underlying problem that you are looking to solve by having this number upfront? I am happy to see if our API can more directly help with that

torpid oasis
#

Yes, i'm making an invoice module, and i need to show the "Invoice Number" on it, even for draft invoices

#

The weird thing is that i have another stripe account where that's being shown on draft invoices

#

Look:

#

The only difference i found is on the "client pre-fix" for the invoices

#

On the right side, the account that's generating invoice numbers for draft invoices. It doesn't show the "Invoice generation" configuration; but for what i can see, it's not using the "client pre-fix"

On the left side, the account that's NOT generating numbers for draft invoice, using the "client pre-fix"

coarse umbra
#

Interesting. So maybe using the client prefix makes us create the number earlier.

torpid oasis
#

Not working either 😦

#

Even without the client pre-fix it says "-DRAFT" and the number it's still "null"

#

Could this be related to the account not being activated?

#

Because the one that's working properly has all of that already

coarse umbra
#

Gotcha. I am actually unsure what might be causing this. I am having trouble looking deeper in to this. I will reach out to my colleagues for help here and we will get back to you

lavish violet
#

Hi there. Give me a minute to catch up on context here

#

Can you provide an invoice ID from the account that's not populating the number when the invoice is in a draft state and another invoice ID from the account that is populating the number properly?

lavish violet
torpid oasis
#

Okk

torpid oasis
#

I'll give you one DRAFT (number:null) and one Finalized

#

DRAFT: CAFERIO-DRAFT de USD 95.92
FINALIZED: CAFERIO-0009 de USD 421.17

The STRIPE account is associated to this email:
jonathan.orozco@sundevs.com
is in TEST mode

#

Let me know if you need anything else

#

In the SDK we're using this stripe API version:

#

For both accounts we're using the same codebase (the one that's generating the invoice properly, with the number and the one that isn't)

deep brook
#

Hi there 👋 taking over for the above folks.

Can you supply an example Invoice ID? I can't look things up by email

torpid oasis
#

Yeah,

DRAFT: CAFERIO-DRAFT de USD 95.92 (id: in_1M4S5xEzArZ6rsevJ1v2ZLx2)
FINALIZED: CAFERIO-0009 de USD 421.17(id: in_1LddAlEzArZ6rsevvC3X7yyu)

#

Does that work for you?

#

Hi Two-shoes!

deep brook
#

Yup. Taking a look now

#

You mentioned having draft invoices on another integration that are showing the number as desired. Do you have an example of one of these too?

torpid oasis
#

Yes

#

Let me get one

#

in_1M4p8KLdi0rInq0rXVSADBN2

deep brook
#

Ah, interesting. I had a hunch, but that ended up being a false start. Let me check with my team internally and see if anyone has any ideas

#

Can you create a support thread and mention that you talked to two-shoes on Discord?

https://support.stripe.com/contact/email

torpid oasis
#

Okk

#

Sure!

deep brook
#

Once you do, let me know and I'll go pick it up and work with you via email

torpid oasis
#

Okk

#

Listo!

#

Sorry

#

Done*

#

Let me know if you need anything else

#

In any case, Thank you so much to all of you three guys!
@lavish violet
@coarse umbra
@deep brook