#thekents

1 messages ยท Page 1 of 1 (latest)

onyx sleetBOT
slim vessel
#

Hey, im trying to add invoice creation to checkout session, and im getting that error

ionic wing
#

Can you share the request ID?

slim vessel
#

req_XBE9uRb8G9ligS

#

I have added that ID to Invoice template

#

@ionic wing can you help me too?

ionic wing
#

Yes, I was looking into it as the request seemed strange

slim vessel
#

yes

ionic wing
#

If not, can you add it and then retry the request?

#

Ah okay

slim vessel
#

does it need it as typed or is it object id it wants

ionic wing
#

Based on the error, it seems like it is looking for the object ID for that account tax ID
but my understanding was that you can just pass in the ID as a string

I might be mistaken, looking further..

slim vessel
#

it seemed to proceed with object ID

#

is there a way i can preview the invoice it creates after checkout completed, before i deploy this to live?

#

or do i just have email receipts turned off and thats why i didn't get it

ionic wing
#

Can you share the request ID that worked?

slim vessel
slim vessel
#

the string didn't work so i copied object id from there

ionic wing
#

Gotcha. Yeah I think the API expects the IDs instead.

#

Glad you figured it out

slim vessel
#

Have a nice evening ๐Ÿ™‚