Rather than use a payment gateway with Stripe or SEPA, how can Fabman be configured to debit an external balance source? For example, a database which maintains user balances. Is there a way to do this directly from Fabman or what middleware would be required to make this happen?
Hey, you could do what we did: a separate user portal with a custom payment that updates the memberships via API.
That sounds like a feasible idea. Here’s how I think it would work, I would need a server set up to listen for the webhook and then use the Fabman API to invoice the job, find the price, and mark it as paid, while also debiting the internal payment system / balance. I was hoping to avoid that effort with something more out-of-the-box.
Can you give me more details about your solution?
I am not directly involved in the technical details, but I understand that everything involved with payment is outside FabMan. After the payment is made, we add the corresponding membership via API. This way, we can customize the front end and add a shop for physical goods sold at our space.
.
So what you theoretically could do is set up an e-shop to the likes of Shopify or other solutions. Then, use some API bridge to add memberships.
I was able to look into the problem in more detail and I think it’s feasible to make it work using existing tools. But I am curious about the software you used to create the API bridge. It would be nice to purchase this or use a toolkit instead of writing it myself.
Unfortunately, that part of our automations is not open source and made by an external company.
However, we made a bridge for another automation (automatic training assignment after successful knowledge test) which is open source. Perhaps you could repurpose it for your needs.
Thank you. It’s very helpful to have an example.
Do you have a published license for this code?
Sorry, I added Creative commons - attribution.