Payola v1.4.0 Release Notes

Release Date: 2016-01-28 // about 8 years ago
  • Full Changelog

    โœจ 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