I’m about to implement Stripe Billing (the subscriptions-focussed service) for a Rails app. But I’m trying to do all new development in Elixir. So I’m thinking about how to structure Elixir/Phoenix as the credit card + user account + membership app. And Rails will more or less passively use the information it provides.
I use https://github.com/code-corps/stripity_stripe to communicate with Stripe and the Stripe javascript form to get a card token. It’s pretty straight forward. In its purest form a user can just have a “membership expires at” field. The expiration date is extended when a user payment triggers a webhook.
It would be great with more information about what we can help? I know it’s a big topic and several things can go wrong.