#JCrags

1 messages ยท Page 1 of 1 (latest)

frail mangoBOT
bronze yoke
#

The code looks good, but let's start by finding your 2 requests id req_xxx

rustic pebble
#

req_VNghV83Bu5TVyQ

#

req_FDOMJSsMVIoMoe

#

Let me know if you need anything else ๐Ÿ™‚

bronze yoke
#

Thanks, looking

rustic pebble
#

I did clear all previous invoice items, and ran the code (just in case) but same problem occurs.

#

the product is also active

bronze yoke
#

If you use the List Invoice Item API against that customer, do you see that specific Invoice Item created?

rustic pebble
#

All of these:

#
ii_1LiUerFKn7uROhgCiyPDl7Ck
ii_1LiUC0FKn7uROhgCdIabUsda
ii_1LiTKPFKn7uROhgC2kE3xiqv
ii_1LiT88FKn7uROhgCCSPs2jG1
ii_1LiSdPFKn7uROhgChuXzz0Tw
ii_1LiSNSFKn7uROhgCf4Y7lUvU
ii_1LiRsxFKn7uROhgCLKeNMGZ3
ii_1LiQLkFKn7uROhgCw01MCwQr
ii_1LiPvJFKn7uROhgCslPCRVXa
#

While these are the pending ones right now

#
ii_1LiUhdFKn7uROhgCmb9S816H
ii_1LiUerFKn7uROhgCiyPDl7Ck
ii_1LiUC0FKn7uROhgCdIabUsda
bronze yoke
#

Yeah I can see ii_1LiUC0FKn7uROhgCdIabUsda I tried on my own and unfortunately can't repro (my II get included).

#

How about trying on a fresh new customer?

rustic pebble
#

Yes, that's my thought as well

bronze yoke
#

Want to figure it out if there is any characteristic on the specific Customer

rustic pebble
#

but why would it be the customer you think?

#

Do you need the customer ID?

bronze yoke
#

No I have it, I am suggesting if you have another, fresh new customer, let's try the sequence with him

rustic pebble
#

I don't but I can create one, let me give it a try

#

It worked with the new customer

#

So something is up with that other customer

#

I created this new one: cus_MRNaUX3gTo9HPp

#

The thing with the other customer is as follows:

  • This customer was created by the Stripe checkoutSession.
  • User filles out billing details (but does skip the Tax ID)
  • Payment completed, user is created in the database
  • User logs in in the back-end and now fills out the Tax ID
  • I believe here starts the issue. Or at least in some way or manner
#

But I will have to look into this tomorrow and see if I can reproduce, figure out what the cause of it is...

#

I do think the error returned by Stripe is not correct in this case. Since the issue is probably with the customer, and not with the invoice item or invoice itself, right?

#

I really got to get some sleep now, so I will be checking in some time tomorrow regarding this issue for sure ๐Ÿ™‚ Thanks for the help!