Payola v1.4.0 Release Notes
Release Date: 2016-01-28 // about 8 years ago-
โจ Enhancements
- โ Add a wrapper for the error function to pass xhr.responseJSON to checkout buttons.
- ๐ Support free trials and plans by allowing subscription creation without credit card. #144, #145
- ๐ Support cancelling subscription at period end. #146
- Trigger
error
event on Payola HTML elements when an error occurs. #147 - ๐ Allows coupon to be applied to changing subscription, and turns off prorating in that scenario per Stripe instructions. #150
- ๐ Support for subscription creation with trial_end and optional stripeToken. #151
- โ Add config option to determine whether to create plans in Stripe. #156
- Allow
Plan#trial_period_days
attribute to remain optional. #160 - Accept tax percentage for subscriptions. #167
- Functionality to manage multiple cards and update customer attributes. Includes optional authorization check
payola_can_modify_customer?
. #168 - Optionally include checkout.stripe.com assets with
include_stripe_checkout_assets
. #169 - Improve support for subscription
at_period_end
. #165 - ๐ Support reusing existing Stripe customer for subscriptions. #170
- Listen for customer.subscription.deleted webhooks and cancel the associated subscription. #172
- ๐ Show plan interval in description instead of hardcoding to 'month'. #176
- ๐ Support coupons in
subscriptions/_checkout
partial. #179 - ๐ Allow sales to be refunded on the client side. #181
- ๐ Introduce
return_to
to support custom return paths after customer/card actions. #180 - ๐
StartSubscription
no longer requires Stripe token for free plans. #190 - Turbolinks compatibility. #191
๐ Bug Fixes
- Disable only Payola-related submit button(s) on page. #113
- ๐ Fix jQuery XHR JSON error handling. #159
- Ensure Payola.create_stripe_plans global gets set back to true. #164
- Registration form no longer uses hardcoded
/users
path. #171 - โ Remove debugging output in javascripts. #177
- โ Remove weird copy of StartSubscription service specs. #178
- Only cancel subscription in
SubscriptionDeleted
if it can be canceled. #186