Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Radiosilent's avatar

Dynamic pricing

I'm building a hr-related system. Is there a way for spark to charge a monthly fee based on the number of employees that are currently in the database? So the monthly billing cycle would require a quick SQL query to count the number active employee records. Multiply that times the rate, say $0.10 a head, and that gives me the monthly charge for that particular customer. Any thoughts?

0 likes
2 replies
Radiosilent's avatar

I'm not trying to bill based on the number of seats that are set up in spark. I'm trying to bill based on the number of Records in the mysql database. For example an HR department may have one person signed up to administer the system, but they may have 5,000 employees in the database that they are tracking. I need to take the 5,000 times $0.10.

Or, maybe I'm just not seeing it in the link. Thanks!

Please or to participate in this conversation.