artem
What do you use for payment plans, credits, etc?
Hi all
I am playing with using Phoenix with LiveView for a small SaaS app that is more for fun and self-educational purposes, but should still be able to have paid plans and.. I failed to figure any standard libraries and advices on how to handle it in Elixir.
Just integrating stripe payments with a library is relatively easy, any other payment provider will also provide you with some sort of a webhook, when payment is happening, but what do you do on the phoenix side then?
What do you use for defining payment plans, tracking credit expirations (which can be tricky with e.g. monthly ones, because of different number of days per month and with taking into account the payer time zone), promo code discounts, etc?
Do you always build all these things from scratch? Or somehow just tunnel the stripe or similar services data to user? Or are there some known libraries to handle some of these matters?
Most Liked
al2o3cr
Chargebee handles the subscription billing and integration with your payment processor; making your app talk to Chargebee is still something you’ll need to write code for.
Instead of searching for a universal library, I’d recommend building out a client that interacts with the endpoints you care about - that pattern is described in more detail here:
djaouen
I use Bling/Bankroll: GitHub - ozziexsh/bankroll: 💰 Subscription management UI built for Bling · GitHub
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









