koudoku
koudoku copied to clipboard
Feature/coupons
My attempt at adding native support for Stripe coupons.
Creating a coupon locally will mirror the same coupon data on your Stripe dashboard. Assigning coupons is done from the subscription :create
action by setting the :koudoku_coupon_code
session.
There is a dedicated gem koudoku_coupons
that adds support for Stripe coupons. Did you have a look at it?
The koudoku_coupons gem seems to require older versions of rails and haml which conflicted with my project. It seems like it would make sense to support stripe coupons as well as stripe subscriptions without having to use a plugin if allowing new features.
hi @yas4891,
I had a look around but wasn't able to find the koudoku_coupons
source on github. Wouldn't happen to have it handy would you.
And just out of curiousity is there any reason you'd be averse to including coupon support within Koudoku
. It just seemed like functionality that put on the backburner and eventually neglected.
Cheers
See - https://github.com/andrewculver/koudoku/wiki/Koudoku-Plugins
I would very much like this feature