#cassaveties_api

1 messages ยท Page 1 of 1 (latest)

lunar pecanBOT
#

๐Ÿ‘‹ 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.

vivid valleyBOT
fervent trench
#

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?

serene breach
#

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

fervent trench
#

Hm, interesting. Can you confirm Stripe Mock v0.182.0 is throwing that error?

serene breach
#

๐Ÿ‘ In the process of rebuilding the container using latest and will retry.

#

Though it fails in our CI which runs unit tests which I'm assuming is building the latest before running, but we will see.