The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
Stripe Subscriptions (Done) - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29)
+--- Thread: Stripe Subscriptions (Done) (/showthread.php?tid=568)

Pages: 1 2


Stripe Subscriptions (Done) - Trioxin - 05-23-2017

A while ago I posted that I would work on a mod so that I could charge people money for access levels. I'm happy to report that I've had this working for about 2 months now and it's doing great. Users can subscribe to Stripe plans as subscriptions. They're then automatically assigned an access level/group depending on the package they subscribed to. This means you can charge different amounts of money for access to different pages.

Features

* Stripe subscriptions via Stripe API.
* Multiple products/plans supported.
* Access level/group for each product.
* Web-hook for subscription changes.
* Automatic emails to customers.
* All UserSpice registrations are automatically added as Stripe customers.
* Pricing page.
* Checkout page.
* Thank you page.
* Error page.
* Multiple coupons & ajax coupon validation.
* Billing history page for users.
* A master table of transactions.
* Different account page text for subscribers.

I've also started adding PayPal support though it's not a huge priority. I haven't decided which is more important to me, PayPal or Bitcoin support (Stripe supports BTC but subscription logic has to be manually coded). Should I publish this as a fork or submit the changes to UserSpice? I can't decide that either.


Stripe Subscriptions (Done) - gbelton - 07-08-2017

Are you making subscription code available as an add on ?


Stripe Subscriptions (Done) - firestorm - 07-08-2017

sounds great, not sure i like the idea of users being registered on stripe when they register with userspice, would prefer that to happen during the checkout process, prob a little too specific for userspice, forking it sounds good to me if its going to be maintained, thats just my opinion. if it could be plugable then that to me would be ideal, if you see my post from earlier ive done a mod to auto include classes and am working on a plugin system. theres potential in the future


Stripe Subscriptions (Done) - mudmin - 07-09-2017

I do have functions to do one time charges with stripe built. They're in my closed source projects, but I can roll those back into userspice. I'll have to look at subscriptions.


Stripe Subscriptions (Done) - gbelton - 07-10-2017

Mudmin, That would be great.
I was wondering if Trioxin was interested in making his code available ?


Stripe Subscriptions (Done) - Trioxin - 07-10-2017

I have made a fork here: https://github.com/TomAshley303/SubscriptionSpice

I still haven't added the MySQL fields to the installer but the scripts are there. Please let me know if anything is missing or messed up (File an issue or pull request at github). I quickly went through and changed things that had to do with my site.


Stripe Subscriptions (Done) - sire - 09-22-2017

hey @Trioxin i was wondering if you just have the Subscription files with out the userspice files?

thanks,


Stripe Subscriptions (Done) - cardmaverick - 10-07-2017

Hi Trioxin - This is just what I've been searching for! Thank you so much! I haven't installed it yet though, because I noticed you said the required database fields are not present in the installer - can you post what fields are needed (ie. table structure .sql file export)?

Thanks!


Stripe Subscriptions (Done) - FXUDarkNova - 10-09-2017

Hi Trioxin,

This is exactly what I need any chance you can make the .sql files available

Thanks!


Stripe Subscriptions (Done) - radke - 10-11-2017

Hi Trioxin,

Also what I need! Can you make .sql files available?

Thank you!