You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the idempotency_key option on a request, it gets overwritten if you are using network retries. The issue is being caused by a check for an existing Idempotency-Key in the headers array by key, however, the $headers array was already converted to a non-keyed array in ApiRequestor::_requestRaw().
When setting the
idempotency_key
option on a request, it gets overwritten if you are using network retries. The issue is being caused by a check for an existingIdempotency-Key
in the headers array by key, however, the$headers
array was already converted to a non-keyed array inApiRequestor::_requestRaw()
.Ref:
stripe-php/lib/HttpClient/CurlClient.php
Line 208 in 06c612b
Example:
The request getting sent to the API are getting a newly generated idempotency_key instead of the one manually set.
The text was updated successfully, but these errors were encountered: