#demus

1 messages · Page 1 of 1 (latest)

copper compassBOT
gloomy dirge
#

Hello 👋
Plan objects were replaced by Price objects in the newer API versions.
https://stripe.com/docs/api/plans

You should build your logic around price objects instead

ebon pivot
#

This is clear. But can I use plan field to determine "price" interval instead of taking this data from items field?

gloomy dirge
#

I've not used the plan objects extensively myself so not 100% sure but you can surely test it out in diff scenarios. The behaviour should be identical between test and live mode

ebon pivot
#

it works but as it's not a documented field I'm afraid how safe is using it?

#

I'm curious whether it's a "danger" place which may be changed, or plan field is not documented yet and will appear in further versions of API docs