How to use metered prices with better auth stripe plugin
I’ve some metered prices in stripe but when I try to manage a subscription I get this error:
"Quantity should not be specified where usage_type is
metered. Remove quantity from line_items[0]"
How can I charge for usage ?3 Replies
I am also interested in this. I see the plugin has a "limits" configuration but not sure that is metered pricing 🤔
i think that currently the plugin doesnt support this. Probably you will just need to create a custom logic instead of using the plugin
Yeah, I could not find anything related to it. It would indeed be amazing to be able to use the better-auth/stripe for this in the future