Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Does user subscription means altering bonfire users controller class? #1295

Open
jkkenzie opened this issue Feb 10, 2018 · 2 comments
Open

Comments

@jkkenzie
Copy link

If you want to subscribe a user to a service/plan, whats the best approach when using bonfire?

@silverark
Copy link
Contributor

Is it a paid Service/plan and are you using a payment gateway? If so building with Omnipay useful as it enables you to switch payment gateways without having to rewrite any of your code: https://omnipay.thephpleague.com/

I also have a stripe module that I sometimes drop in to projects as it has the includes for the JS, and routes for the webhooks and others bits needed. You just need to stick "stripe/stripe-php" in your composer file.

What sort of thing are you specifically looking for help with?

@jkkenzie
Copy link
Author

When a user register, I would like to give the user subscription plans like Free, Silver, Premium e,t,c.
I could use Omnipay for payments bit but what about customizing the registration process to allow that step where the user pick a plan, then record to DB. My options was:

Hook the complete register and get user id, then ask user to choose the plan, once they choose a plan, the account is activated.

Is there codeigniter subscription system open source? I cant find, but other frameworks have a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants