@FrostCodes Are you working on a library to handle ecommerce payments? That could be useful. However as far as I know there's a number of SaaS companies out there like Stripe, Paddle, Klarna, FastSpring, Salesforce, Oracle Suite, Payson to name a few. They use webhooks that offers automatic handling of checkout services.
I've been thinking about a way to build a system of this myself just to get around the fee's for each sale. I am sure this is of huge interest for many , but then you have to consider that these companies offer a support team and that might get busy if you wrap a solution like this yourself. So as this is a huge and most important matter I'd ask you to present more information about your work if you want to progress in this sector names SaaS. Because there's some huge players out there so that was my advice.
Nice idea indeed, and I hope my reflections adds to your success
??