#thatdevgirl_error
1 messages · Page 1 of 1 (latest)
👋 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/1339744157941633117
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
It cut off my error message on #2, will paste the full thing here below. Both log errors come at the same time.
db_insert failed. Message = SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_agent' cannot be null: INSERT INTO {give_problem} (donation_uuid, type, detail, timestamp, user_agent) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => c06a8ea8-90b1-4f8c-8e03-19315481b5e7 [:db_insert_placeholder_1] => Stripe server-side [:db_insert_placeholder_2] => The statement descriptor cannot include '. [:db_insert_placeholder_3] => 1739488893 [:db_insert_placeholder_4] => ) , query=
Hello! The second error is not a Stripe error, it's something related to a database operation on your end. The first error indicates an invalid character was included in a statement descriptor sent to the Stripe API. There should be a request ID associated with it, which would help us investigate. Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thank you! I'm having my client log back in to provide that request ID for me!
req_fIdSv9aBQw0KCd
Looking, hang on...
I see in that that there's a $
And likely that's the issue both in my DB and erroring out on Stripe
Yeah, the error is accurate. They have an apostrophe (') in the statement descriptor, which is not allowed.
and a ' in Children's musem
And the dollar sign, yeah.
would the $ be allowed?
No.
Gotcha, okay let me see if I can't find that in our DB & code!
Let me pull up the list of allowed stuff...
Oh, wait, the apostophe is allowed! https://docs.stripe.com/get-started/account/statement-descriptors#requirements
Hm...
Thank you thank you! I didn't know the logs existed in Stripe, all I had was the logs from Drupal
Okay, I misread the documentation. It says "Contains only Latin characters." and "Doesn’t contain any of the following special characters: <, >, , ' " *."
So apostrophe isn't allowed, but I think the dollar sign might actually be fine? I dunno, I wouldn't put a dollar sign in there though. 😅