#jarrett_api

1 messages ¡ Page 1 of 1 (latest)

verbal vectorBOT
#

👋 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.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 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/1408097160511357010

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

jaunty plover
#

Hey there -- I'm not familiar with this, can you share where you found it, or an example of using it?

slim rampart
#

we sync data from stripe and we have it in our data in the discount -> coupon object

#

this invoice for example had it

#

in_1OpcZWF6KG2nMs1lzPejtMxK

#

and many more

jaunty plover
#

Looks like this was part of the change in version 2018-07-27
https://docs.stripe.com/upgrades#2018-07-27

The percent_off field of coupons was changed from Integer to Float, with a precision of two decimal places.
And your current integration uses a version that predates that

slim rampart
#

But the documentation mentions nothing about removing that field

#

I'd expect a breaking change where a field is being completely removed would be noted somewhere...

jaunty plover
#

I agree, that should probably be expanded to make that removal clear