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
Stripe\Tax\Settings::update requires an ID to be passed, which is not compatible with the Stripe API
To Reproduce
\Stripe\Tax\Settings::update(null, $taxSettings);
triggers the following error:
Could not determine which URL to request: Stripe\Tax\Settings instance has invalid ID:
and sending a value of '' (empty string) for the ID triggers the following error:
Unrecognized request URL (POST: /v1/tax/settings/). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.
Expected behavior
URL should be generated correctly without an ID, and error should not be triggered. Ideally the $id argument should not exist on this method
Code snippets
No response
OS
N/A
PHP version
PHP 8.2
Library version
13.10.0
API version
2023-10-16
Additional context
No response
The text was updated successfully, but these errors were encountered:
@JakeBooher Thanks you for flagging and sorry about the trouble. This is a surprising one, we'll investigate the right fix but it might take a bit of time on that one.
Describe the bug
Stripe\Tax\Settings::update
requires an ID to be passed, which is not compatible with the Stripe APITo Reproduce
triggers the following error:
and sending a value of
''
(empty string) for the ID triggers the following error:Expected behavior
URL should be generated correctly without an ID, and error should not be triggered. Ideally the
$id
argument should not exist on this methodCode snippets
No response
OS
N/A
PHP version
PHP 8.2
Library version
13.10.0
API version
2023-10-16
Additional context
No response
The text was updated successfully, but these errors were encountered: