#sergixel04
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sergixel04, 6 days ago, 14 messages
- sergixel04, 6 days ago, 3 messages
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Will find it, I paste the code:
$stripe->subscriptions->update([
$subscription['stripe_id'],
[
'description' => 'ESTA SUSCRIPCIÓN PERTENECE A LA CUENTA DE: ' . $request->name,
],
]);
I 'm getting this error trim(): Argument #1 ($string) must be of type string, array given.
Don't know what I'm doing wrong. I'm seeing https://stripe.com/docs/api/subscriptions/update
I cannot find the ID of the request, because it wasn't made due to that error
the code you are sharing, doesn't show the use of trim()
this seems to be an error in your own code and not Stripe API response
Aiight I'll take a look, thank you @lost loom
Happy to help!