-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
400 Error, no Exception Message #214
Comments
According to Stripe support "The limit is 100 line items". I'm well under that, hmm. |
Thanks for the report. I'll try to reproduce the issue and adjust the error handler so it at least gives a better output. For the limit itself, if that's true, and you're under the limit, then something is off somewhere (wouldn't surprise me to be on Stripe end to be honest). |
After some back and forth with Stripe, they're not seeing anything. I can verify the request is making it out to their API on my end via tcpdump:
Their response back is:
|
We had a client that needed to push some large charges through. Don't know if it helps this issue out but using the official Stripe php sdk directly does not have the problem.
|
Hello again @s7thamon I've debugged this and i understand the cause of the problem. Pretty much the problem is that, the current way of sending the payload is through the query string (which is supported by Stripe), so this is of course reaching the limit of the size of the entire url, so it's not related to Stripe in any way. I'll try to address this limitation in the next few days, when i have a bit more time to properly look into this :) Thanks again for the report and further insights! |
Closes #214 Signed-off-by: Bruno Gaspar <[email protected]>
I'm creating a checkout session with a large number of line_items in a try/catch. Normally an exception message is gathered if there are any issues but in this instance when there are a large number of line_items, somewhere around 40, no exception message is captured. Trying to figure out if this is an issue on Stripe's end or not. Nothing in their documentation indicates there is any limit there (https://stripe.com/docs/js/checkout/redirect_to_checkout).
Exception::__construct(): Passing null to parameter #1 ($message) of type string is deprecated in /vendor/cartalyst/stripe/src/Exception/Handler.php on line 125
The text was updated successfully, but these errors were encountered: