#cassaveties_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1214638540168888341
๐ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
Hello! As far as I know there's no way around that beyond modifying Stripe Mock itself. It doesn't support that property.
That is a bit odd though, I would expect it to support that based on the OpenAPI spec... are you using the latest version of Stripe Mock?
We're using the docker image: stripemock/stripe-mock:latest
so I think so
Docker container output is:
Request: POST /v1/subscriptions
Request data = map[application_fee_percent:15 currency:usd customer:cus_MIny1lUBG5bRLKI expand:[latest_invoice latest_invoice.charge latest_invoice.charge.balance_transaction latest_invoice.payment_intent schedule] items:[map[currency:usd price:price_100_month]]]
Request validation error: validator 0xc0012bd3e0 failed: additional properties are not allowed: currency
Hm, interesting. Can you confirm Stripe Mock v0.182.0 is throwing that error?