Closed medram closed 9 months ago
@medram Github issues are limited to bugs or feature requests with the stripe-php SDK itself. Your ask is an integration support question better directed at our support team instead: https://support.stripe.com/contact
To unblock you though, this error is totally expected. The Update Price API doesnot support the unit_amount
parameter. You can not change a Price's amount. The right approach is to create a new Price with the new amount and use that one moving forward. If you have follow up questions, please contact our support team for help!
That what I did actually to work around it, archiving the Price and creating a new one.
Thanks for your reply @remi-stripe
Describe the bug
There is a critical bug that prevents updating "Prices" price.
To Reproduce
Update the "Prices".
Expected behavior
The "Prices" should be updated, and the params should be accepted.
Code snippets
No response
OS
Linux Mint
PHP version
PHP 8.2.8
Library version
"stripe/stripe-php": "^13.10"
API version
2023-10-16
Additional context
No response