First of all, absolutley love nodebb! Keep up the amazingly good work. With that said I am a little stuck.
I am working on a plugin that can (will) process a stripe payment for each new post. I have created an end-point hook for stripe to let me know when payment transactions have been completed. The problem that I have is I can't figure out how to find a topic based on uid and a custom session ID that I was successfully able to attach to every new topic. Once I can identify the topic I would like to mark it as paid by updating a custom field. Any ideas?
I have looked into src/topics but I can't seem to figure out how to use any of the functions for what I am trying to do. I might be missing something a little bit more fundamental here.
Thank you in advance!