#vakarm.
1 messages ยท Page 1 of 1 (latest)
Can you share the request id's? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I dont have access to the request list, need to wait for my boss ๐ฆ
Ok while we wait can you paste the full error?
well, it works when i put the description in the metadata tag, so it should be ok.
yes, I set the description as metadata, because it fails when I set it outside.
#0 /home/uwdfznzs/public_html/app.minutepizza.ca/vendor/stripe/stripe-php/lib/Util/RequestOptions.php(59): Stripe\Util\RequestOptions::parse(Array, true)
#1 /home/uwdfznzs/public_html/app.minutepizza.ca/vendor/stripe/stripe-php/lib/BaseStripeClient.php(131): Stripe\Util\RequestOptions->merge(Array, true)
#2 /home/uwdfznzs/public_html/app.minutepizza.ca/vendor/stripe/stripe-php/lib/Service/AbstractService.php(75): Stripe\BaseStripeClient->request('post', '/v1/payment_int...', Array, Array)
#3 /home/uwdfznzs/public_html/app.minutepizza.ca/vendor/stripe/stripe-php/lib/Service/PaymentIntentService.php(257): Stripe\Service\AbstractService->request('post', '/v1/payment_int...', Array, Array)
#4 /home/uwdfznzs/public_html/app.minutepizza.ca/update-payment-intent.php(38): Stripe\Service\PaymentIntent in /home/uwdfznzs/public_html/app.minutepizza.ca/vendor/stripe/stripe-php/lib/Util/RequestOptions.php on line 143
[11-Jul-2023 15:30:48 America/Chicago] PHP Fatal error: Uncaught Stripe\Exception\InvalidArgumentException: Got unexpected keys in options array: description in /home/uwdfznzs/public_html/app.minutepizza.ca/vendor/stripe/stripe-php/lib/Util/RequestOptions.php:143
here is the full error
What version of the php library are you using?
10.3.0
I just need an example, with the good syntax to use to make the update with a description.
I think it should be this:
$intentId,
['amount'=> $amount, 'description' => $description],
);```
Not sure why it's not working. Let me check something.
ok, well... Like I said, it's OK when I set it as metadata, so I'll do it that way.
Thanks for your help
๐ If you still run into errors and are able to get access to a request ID for a failed request, we're happy to continue the investigation