I think you need to expand the use-case here. Why would you want to charge people to use Jira? If I was asked to do that, I'd tell you to take a running jump and run my own.
If, on the other hand, you're interested in charging people for work logged in Jira because they use Jira to raise issues for you to work on, that's understandable - is that what you mean?
If I understand your requirement, I think you are thinking of integrating a payment gateway with JIRA.
For example, you are providing paid services to your customers and tracking service requests using JIRA. Your workflow might be something like Submitted -> Quote provided -> Make Payment -> Payment Received -> In Progress -> Closed.
When customer receives a quote, and clicks on Make Payment, he should be redirected to a payment gateway and automatically redirected to the issue and also the issue should be moved to "Payment Received" state. Is this the use case?
Please also tink about tempo plugin - if the use case is to charge customers for worked hours:
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG