#devparry
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0]? it'd look like req_xxx
or share the code snippet?
I use like this
same code work properly on my localhost + staging server
but we are getting this error on Production server
we also declare use at top of controller
use \Stripe\Customer;
i believe this error should be where you're retrieving a Customer - i'd suggest that you refer to the full stacktrace and identify which line in your code the error is occurring, and then validate the value being passed in
probably not - this error probably occurs before the request is sent to Stripe i.e. the request can't even be sent to Stripe at all because of this issue
This is my code which retrieve customer data
is this syntax is okay ?
have you tried running that specific line of code? Also, try logging what is the value of $currentUser['stripe_customer_id']
Actually, I have to check the database and need user login details so I have to wait for the login details.
sure, feel free to reach out again if you still need help
Hi Alex Is it possible if the product price not set as the default the we will get same error ?
as you can see here default price not set
no, it shouldn't be because of that
it's means this error message is only related to customer.